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.
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.