A global virtual event management company is deploying a live interactive polling application. The application will host a synchronous global event at exactly 12:00 UTC, where a baseline of concurrent HTTP connections is expected to immediately spike to concurrent connections within a -second window. The application is hosted on Amazon ECS using the AWS Fargate launch type, running behind an Application Load Balancer (ALB). The containerized application reads event metadata from an Amazon Aurora PostgreSQL database cluster. The database must maintain sub-10-millisecond response times under peak load. Which combination of scaling and configuration actions should a solutions architect recommend to ensure the application scales seamlessly during the launch while maintaining performance?
- Request ALB pre-warming from AWS Support based on the expected traffic profile. Configure ECS Scheduled Scaling to provision the target number of Fargate tasks 30 minutes prior to the event. Implement Aurora Auto Scaling for the database cluster's Aurora Replicas to scale out read capacity in response to the query load.Answer
- BRely on the ALB's native automatic scaling to handle the connection spike dynamically. Configure ECS Service Auto Scaling with target tracking policies based on average CPU utilization. Configure Aurora Auto Scaling for the database cluster's Aurora Replicas.
- CRequest ALB pre-warming from AWS Support based on the expected traffic profile. Configure ECS Scheduled Scaling to provision the target number of Fargate tasks 30 minutes prior to the event. Rely on the Amazon RDS PostgreSQL Multi-AZ standby instance to automatically scale and absorb the incoming read query load.
- DConfigure an Amazon CloudFront distribution in front of the ALB with custom caching behaviors. Configure ECS Service Auto Scaling to scale based on CPU utilization. Implement Amazon RDS Multi-AZ with two readable standbys and configure the application to load balance database queries across them.