Auto-scaling group
An auto-scaling group is a managed collection of compute instances whose capacity is automatically adjusted according to configured policies, conditions, or workload demand.
Amazon Web Services in Action, Third Edition: An in-depth guide to AWS
An Auto Scaling group is an AWS-managed collection of compute instances that maintains configured capacity and replaces or adjusts instances according to policies.
- How it is used
- Maintains and adjusts an EC2 instance pool for failure recovery, fault tolerance, or changing application load.
- How deep it goes
- Works through launch-template and group settings, health checks, capacity bounds, and scaling policies using CloudFormation examples.
- Examples
- Uses Jenkins recovery, a load-balanced WordPress blog, and queue-driven screenshot workers as concrete configurations.
- What you can do after
- Operate/configure it with CloudFormation to replace failed instances or adjust a web or worker fleet with scaling policies.
Build Python Web Apps with Streamlit
An auto-scaling group is a managed collection of compute instances that adjusts capacity according to demand or utilization.
- How it is used
- Deploys Streamlit applications with Elastic Beanstalk by automatically scaling EC2 capacity according to utilization.
- How deep it goes
- Defines the group through its deployment role but does not detail scaling policies, thresholds, or instance-management rules.
- Examples
- Uses the fact-frenzy Elastic Beanstalk environment to demonstrate production launch and subsequent redeployment.
- What you can do after
- Operate/configure Elastic Beanstalk to launch an application whose EC2 capacity scales automatically with utilization.
Read how Build Python Web Apps with Streamlit explains auto-scaling group →
Related concepts
- ECS serviceequivalent to · An ECS service is an Amazon ECS resource that maintains a specified number of running tasks and can register them with load balancers.
- scalabilityused by · Scalability is the ability of a system, process, or method to accommodate increasing workload, size, or demand while maintaining acceptable operation.
- Amazon Elastic Compute Clouduses · Amazon Elastic Compute Cloud (EC2) is an Amazon Web Services service that provides resizable virtual computing capacity through configurable virtual machine instances.
- launch templateuses · A launch template is an EC2 configuration specification containing the information required to launch instances, such as an instance type and an AMI.
- health checkuses · A health check is an assessment or probe that determines whether a system, service, or component is functioning acceptably according to defined criteria.
- alertingconfigured by · Alerting is the generation and delivery of notifications when monitored conditions or events meet defined criteria or require attention or action.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

