A financial institution is launching a new mobile banking application. During a scheduled national marketing campaign, the application expects a sudden, massive spike in traffic, transitioning from a baseline of requests per second (RPS) to a peak of RPS within a few minutes. The application's backend runs on Amazon ECS tasks using AWS Fargate, and uses an Amazon Aurora PostgreSQL database for transaction history. Which two actions should a solutions architect recommend to ensure the platform scales and maintains performance during the launch? (Select TWO.)
- Contact AWS Support to pre-warm the Application Load Balancer to the expected traffic volume of RPS.Cevap
- Configure scheduled scaling policies for the Amazon ECS service to scale out Fargate tasks to the anticipated peak capacity before the campaign begins.Cevap
- CRely on the Application Load Balancer's automatic scaling to absorb the initial spike, and configure ECS target tracking policies based on CPU utilization to handle task scaling.
- DConfigure Aurora Auto Scaling to dynamically add reader instances during the traffic spike to handle the surge in write transactions.
- EEnable Aurora Multi-AZ standby replication and configure the application to load-balance write operations between the primary instance and the standby instance.
Cevap
Contact AWS Support to pre-warm the Application Load Balancer to the expected traffic volume, and configure scheduled scaling policies for the Amazon ECS service to scale out Fargate tasks to the anticipated peak capacity before the campaign begins.
For predictable flash traffic spikes of this magnitude, standard reactive scaling is insufficient. The Application Load Balancer must be pre-warmed by contacting AWS Support to prevent dropped connections during the rapid increase. Similarly, the Amazon ECS service must use scheduled scaling policies to pre-provision Fargate tasks ahead of time, ensuring sufficient compute capacity is online when the traffic arrives.
Adım Adım Çözüm
Anahtar Kavram
Handling sudden, predictable flash traffic spikes requires proactive pre-provisioning (ELB pre-warming and scheduled scaling for compute layers) rather than relying on reactive auto-scaling.
Tahmini Süre:2m 0s