MitchyBAwesome / container-bytes

A Set of short labs and excercises for getting hands on experience with AWS Container Services
0 stars 0 forks source link

ECS Service deployment and task Auto Scaling #2

Open MitchyBAwesome opened 6 years ago

MitchyBAwesome commented 6 years ago

Deploy an ECS service for the frontend, and separate ECS services for backend1 and backend2. Having separate ECS services allows backend1 and backend2 services to scale separately based on demand. Set up Task Auto Scaling with proportional scaling actions. Multiple scaling actions allows ECS to respond by rapidly adding more tasks if the system comes under heavy load quickly. Once the services and Auto Scaling are set up, you will launch a load generator that targets the backend1 and backend2 services. This will cause the services to scale up, which will also cause the Spot Fleet instances to scale up.