About This Architecture
Cost-optimized ECS architecture on AWS: an Application Load Balancer routes traffic to a mixed ECS service running on-demand Fargate tasks for baseline capacity alongside Fargate Spot tasks for cheaper burst capacity, while Application Auto Scaling applies CPU-based target tracking against CloudWatch metrics to continuously scale both pools out and in.