ECS
Cluster creation :
Template type - Networking only (Fargate), EC2 type
Roles
Task execution IAM role, this role helps to pull images from your docker registery
Task Role - for accessing AWS services
Service creation
Type - Fargate/EC2
Type - Replica
No of task instances
Min, Max num of healthy instances
Service Auto Scaling is made possible by a combination of the Amazon ECS, CloudWatch, and Application Auto Scaling APIs. Services are created and updated with Amazon ECS, alarms are created with CloudWatch, and scaling policies are created with Application Auto Scaling.
Application Auto Scaling turns off scale-in processes while Amazon ECS deployments are in progress. However, scale-out processes continue to occur, unless suspended, during a deployment.
Target tracking, step, schedule scaling supported
More complex explanation https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-auto-scaling.html
You can add a warm pool to your Auto Scaling group. A warm pool is a group of pre-initialized Amazon ECS instances that are ready to be included in the cluster whenever your application needs to scale out. For more information about warm pools, see Using a warm pool for your Auto Scaling group
Warm pools
https://docs.aws.amazon.com/
autoscaling/ec2/userguide/ec2- auto-scaling-warm-pools.html Very good article on scaling practices, load testing metrics and capacity providers
Sent from my iPad
Comments
Post a Comment