A media company is planning the launch of a new subscription-based video streaming service. During a major live sporting event broadcast, a promotional code will be displayed on screen. The company expects the traffic to the subscription registration endpoint to instantly spike from a baseline of requests per second (RPS) to over RPS within a -second window. The registration application is hosted on a fleet of Amazon EC2 instances in an Auto Scaling group behind an Application Load Balancer (ALB), and it queries an Amazon Aurora PostgreSQL database for promotion eligibility checks. Which design should a solutions architect implement to ensure the architecture scales to meet this peak demand without dropping requests or experiencing latency degradation?
- ARely on the default self-scaling behavior of the Application Load Balancer to handle the incoming traffic spike dynamically. Configure the EC2 Auto Scaling group with a target tracking policy based on Average CPU Utilization. Route the database read queries to the Amazon Aurora Multi-AZ standby instance to offload the primary writer.
- BRequest AWS Support to pre-warm the Application Load Balancer to the expected peak capacity. Configure the EC2 Auto Scaling group with a step scaling policy to scale out quickly. Deploy an Amazon ElastiCache for Memcached cluster with multi-AZ replication enabled to cache promotion eligibility queries and reduce the load on the Aurora database.
- Submit a support ticket to AWS to pre-warm the Application Load Balancer to the target throughput of requests per second. Configure a scheduled scaling policy for the EC2 Auto Scaling group to launch the required number of instances minutes before the promotional broadcast. Deploy Amazon Aurora Replicas and configure Aurora Auto Scaling based on reader average CPU utilization to scale the database tier.Cevap
- DRely on the Application Load Balancer to scale automatically to meet the traffic demands. Configure a target tracking scaling policy for the EC2 Auto Scaling group and set the scaling cooldown period to seconds to ensure rapid deployment of new instances. Route all database traffic to the primary writer and rely on Aurora storage auto-scaling to handle the increased query load.