A retail banking platform is launching a feature that gives customers real-time access to their investment portfolios. The platform expects an instantaneous spike of over concurrent users daily at exactly when the market opens. The application is hosted on Amazon EC2 instances within an Auto Scaling group behind an Application Load Balancer (ALB). The portfolio query engine reads data from an Amazon Aurora PostgreSQL database cluster. Which strategy should a Solutions Architect implement to handle this flash traffic without dropping customer requests or degrading query response times?
- Configure scheduled scaling for the EC2 Auto Scaling group to scale out before . Request AWS Support to pre-warm the Application Load Balancer to the expected traffic volume, and configure Amazon Aurora Auto Scaling to scale Aurora Replicas to handle the spike in read queries.Cevap
- BConfigure target tracking scaling policies on the EC2 Auto Scaling group based on CPU utilization, rely on the Application Load Balancer's automatic scaling capabilities to handle the sudden burst, and enable Amazon Aurora Auto Scaling to dynamically provision Aurora Replicas.
- CConfigure scheduled scaling for the EC2 Auto Scaling group to scale out before . Request AWS Support to pre-warm the Application Load Balancer, and rely on the Aurora PostgreSQL Multi-AZ standby instance in the secondary Availability Zone to serve read traffic during the peak window.
- DConfigure scheduled scaling for the EC2 Auto Scaling group to scale out before , request AWS Support to pre-warm the Application Load Balancer, and set the Auto Scaling cooldown period to to ensure the EC2 instances scale out rapidly enough to match the traffic rate.
Cevap
Configure scheduled scaling for the EC2 Auto Scaling group to scale out before . Request AWS Support to pre-warm the Application Load Balancer to the expected traffic volume, and configure Amazon Aurora Auto Scaling to scale Aurora Replicas to handle the spike in read queries.
The correct strategy combines scheduled scaling for the EC2 Auto Scaling group, requesting ALB pre-warming from AWS Support, and using Amazon Aurora Auto Scaling. Scheduled scaling ensures that the EC2 instances are fully provisioned and booted before the predictable spike at . Requesting AWS Support to pre-warm the ALB ensures the load balancer is provisioned with enough capacity to prevent dropped connections during the instantaneous spike. Configuring Aurora Auto Scaling allows the database to dynamically add Aurora Replicas to handle the surge in read queries.
Adım Adım Çözüm
Anahtar Kavram
Handling instantaneous flash traffic spikes by combining load balancer pre-warming, scheduled compute scaling, and horizontal read scaling of database replicas.