A national health agency is designing a portal for citizens to retrieve digital health certificates. A nationwide broadcast scheduled for exactly UTC will direct citizens to log in and download their certificates. The platform's baseline workload is requests per minute, but it is projected to instantly surge to over requests per minute within minutes of the broadcast. The backend API is deployed on Amazon ECS on AWS Fargate behind an Application Load Balancer (ALB) and retrieves data from an Amazon Aurora PostgreSQL database. Which architecture strategy should a Solutions Architect recommend to ensure the platform handles the peak traffic spike with minimal latency and no dropped requests?
- ASubmit a support case to AWS to pre-warm the Application Load Balancer to the expected traffic volume. Configure Scheduled Scaling for the Amazon ECS service to scale out tasks before the event. Configure the Amazon Aurora database in a Multi-AZ deployment and configure the application to route read queries directly to the failover standby instance in the secondary Availability Zone.
- Submit a support case to AWS to pre-warm the Application Load Balancer to the expected traffic volume of requests per minute. Configure Scheduled Scaling for the Amazon ECS service to scale out to the required task count before UTC. Configure Aurora Auto Scaling to add Aurora Replicas to handle the read load, and configure the application to use the Aurora reader endpoint.Answer
- CConfigure the Application Load Balancer with a target tracking scaling policy based on the ActiveConnectionCount metric. Implement target tracking scaling for the Amazon ECS service using average CPU utilization. Configure Aurora Auto Scaling to provision additional Aurora Replicas dynamically as read latency increases.
- DSubmit a support case to AWS to pre-warm the Application Load Balancer. Configure ECS Service Auto Scaling based on CPU utilization, setting the scale-out cooldown period to seconds to accelerate container launch. Scale the primary Amazon Aurora instance vertically to a larger instance size prior to the event, routing all read and write queries to the primary instance.
Answer
The architecture that pre-warms the Application Load Balancer, uses Scheduled Scaling for ECS tasks, and utilizes Aurora Replicas with the reader endpoint.
The correct architecture leverages AWS Support to pre-warm the Application Load Balancer, ensuring it has enough capacity provisioned to handle the massive surge of requests per minute from the first second. Scheduled scaling for ECS Fargate ensures that the container tasks are fully booted, healthy, and registered with the target group before the UTC start time. Finally, routing read traffic to the Aurora reader endpoint utilizes Aurora Replicas to scale read performance horizontally, preventing database bottlenecks.
Step-by-Step Solution
Key Concept
Handling massive, scheduled flash traffic spikes in AWS requires pre-allocating capacity at both the routing/load-balancing tier and compute tier, combined with horizontal read scaling at the database tier.