Stups-senza

Latest version: v2.1.143

Safety actively analyzes 630130 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 21 of 22

0.77

- Change default setting for ELB setttings without scheme option from internet-facing to internal
- Added warning to raise awareness of a public ELBs

To Create a Internet-facing ELB you must add following option to the _AppLoadBalancer_ section:

**Scheme: internet-facing**

For example:


basic information for generating and executing this definition
SenzaInfo:
StackName: hello-world
Parameters:
- ImageVersion:
Description: "Docker image version of hello-world."

a list of senza components to apply to the definition
SenzaComponents:

this basic configuration is required for the other components
- Configuration:
Type: Senza::StupsAutoConfiguration auto-detect network setup

will create a launch configuration and auto scaling group with scaling triggers
- AppServer:
Type: Senza::TaupageAutoScalingGroup
InstanceType: t2.micro
SecurityGroups:
- app-hello-world
IamRoles:
- app-hello-world
ElasticLoadBalancer: AppLoadBalancer
AssociatePublicIpAddress: false change for standalone deployment in default VPC
TaupageConfig:
application_version: "{{Arguments.ImageVersion}}"
runtime: Docker
source: "stups/hello-world:{{Arguments.ImageVersion}}"
health_check_path: /
ports:
8080: 8080

creates an ELB entry and Route53 domains to this ELB
- AppLoadBalancer:
Type: Senza::WeightedDnsElasticLoadBalancer
HTTPPort: 8080
HealthCheckPath: /
SecurityGroups:
- app-hello-world-lb
Scheme: internet-facing

0.76

- Fix regression bug related to MainDomain/VersionDomain introduced with 105

0.75

- Fix 110

0.74

Support passing additional ELB properties to the ELB resource (e.g. to set idle timeout).

You can now pass additional properties in the Senza definition, e.g. to set the idle timeout to 300s:


- AppLoadBalancer:
Type: Senza::WeightedDnsElasticLoadBalancer
HTTPPort: 8080
HealthCheckPath: /health
SecurityGroups:
- app-connection-tracker-lb
ConnectionSettings:
IdleTimeout: 300

0.73

- Added support to load templates from http(s) endpoints 101
- Fixed senza events --watch clears the mai not-logged error 42
- Fix issue with the Postgres-Template 108

0.72

- add support for internal loadbalancer (ehartung Thank you!) 106
- add init-Question for the webapp Template
- mark webapp as default for init
- mark internal as default load balancer for the webapp template


$ senza init example.yaml
Please select the project template
1) bgapp: Background app with single EC2 instance
2) postgresapp: HA Postgres app, which needs an S3 bucket to store WAL files
3) rediscluster: Elasticache cluster running multiple redis nodes, with replication / HA
4) redisnode: Elasticache node running redis, without replication / HA (for caching)
5) webapp: HTTP app with auto scaling, ELB and DNS
Please select (1-5) [5]:
Application ID [hello-world]:
Docker image without tag/version (e.g. "pierone.example.org/myteam/myapp") [stups/hello-world]:
HTTP port [8080]:
HTTP health check path [/]:
EC2 instance type [t2.micro]:
Did you need OAuth-Credentials from Mint? [y/N]:
Please select the load balancer scheme
1) internal: only accessible from the own VPC
2) internet-facing: accessible from the public internet
Please select (1-2) [1]:
Checking security group app-hello-world.. OK
Checking security group app-hello-world-lb.. OK
Checking IAM role app-hello-world.. OK
Generating Senza definition file example.yaml.. OK

Page 21 of 22

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.