Elasticity is one of the fundamental tenets of cloud computing, and describes the ability to auto scale your applications on demand to ensure the best possible experience and responsiveness for your customers, while optimizing cost by only providing additional capacity for your application when it is actually required.
AWS supports scaling your Docker applications that are deployed using ECS via two key features:
- Application Auto Scaling:Â This uses the AWS application auto scaling service and supports Auto Scaling at an ECS service level, where the number of ECS tasks or containers running your ECS services can be scaled up or down.
- EC2 Auto Scaling:Â This uses the EC2 Auto Scaling service and supports Auto Scaling at an EC2 Auto Scaling group level, where the number of EC2 instances in your Auto Scaling group can be scaled up or down. In the context...