A company hosts a high-traffic gaming platform on AWS. The application runs on Amazon EC2 instances in an Auto Scaling group behind an Application Load Balancer (ALB). The session data and player profiles are stored in an Amazon RDS for PostgreSQL database. During scheduled weekend tournament events, the platform experiences an instantaneous 10x spike in traffic. During these events, users encounter high latency and connection timeouts. Monitoring reveals that the ALB is dropping connections with HTTP 502 errors due to the sudden surge, and the RDS database experiences high read latency under the heavy query load. Which combination of actions should a solutions architect take to optimize the compute and storage performance of the architecture for these events?
- Contact AWS Support to pre-warm the Application Load Balancer before the scheduled tournaments, and migrate the database to Amazon Aurora PostgreSQL with Aurora Replicas configured to scale horizontally to handle the read query spikes.Answer
- BConfigure the Application Load Balancer to automatically scale using a target tracking scaling policy based on RequestCountPerTarget, and enable Amazon RDS Multi-AZ replication to allow the standby instance to handle the read query spikes.
- CContact AWS Support to pre-warm the Application Load Balancer before the scheduled tournaments, and enable Amazon RDS Multi-AZ replication to distribute the read query spikes across the primary and standby database instances.
- DConfigure the Application Load Balancer to automatically scale using a target tracking scaling policy based on RequestCountPerTarget, and migrate the database to Amazon Aurora PostgreSQL with Aurora Replicas configured to scale horizontally to handle the read query spikes.