
Product
Rust Support Now in Beta
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
aws-ecs-alb-service-autoscaler
Advanced tools
The AWS ECS ALB Service Autoscaler runs as it's own service on your ECS cluster, and automatically scales a given service based on the average number of requests hitting the alb for a service per desired task.
In a cloudformation template, on the ECS cluster:
ServiceAutoscaler:
Properties:
Cluster: my-cluster-name
DesiredCount: 1
TaskDefinition: !Ref ServiceAutoscalerTaskDef
Type: AWS::ECS::Service
ServiceAutoscalerTaskDef:
Properties:
ContainerDefinitions:
- Environment:
- Name: CLUSTER_NAME
Value: MY_CLUSTER_NAME
- Name: SERVICE_NAME
Value: MY_SERVICE_TO_SCALE_NAME
- Name: MIN_TASKS
Value: 2
- Name: MAX_TASKS
Value: 4
- Name: MAX_REQUESTS
Value: 60
- Name: MIN_REQUESTS
Value: 30
Essential: true
Image: !Sub trinitymirror/aws-ecs-alb-service-autoscaler:${Version}
Memory: 200
Cpu: 100
Name: Autoscaler
Type: AWS::ECS::TaskDefinition
DRY_RUN=true
- Causes the container to not actually run any changes, just print to stdout what it would do.
MAX_LOOPS=20
- Maximum number of intervals to run before exiting, to avoid a memory leak in the AWS SDK. Default is 20.
FAQs
AWS ECS service for autoscaling ECS services
We found that aws-ecs-alb-service-autoscaler demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.