A digital marketing firm is launching a flash sale campaign for a major retail event. The campaign website is expected to receive an immediate burst of page views within the first minutes of the launch. The current architecture consists of an Application Load Balancer (ALB) routing traffic to an Auto Scaling group of Amazon EC2 instances. What pre-launch action should the solutions architect take to ensure the application does not experience dropped connections or latency spikes at the start of the event?
- Contact AWS Support to pre-warm the Application Load Balancer with the expected traffic profile, and configure scheduled scaling actions for the Auto Scaling group.Cevap
- BRely on the default auto-scaling behavior of the Application Load Balancer to dynamically scale out as the traffic arrives during the first few minutes.
- CDeploy an Amazon RDS Multi-AZ database and route the read traffic directly to the RDS standby replica during the initial traffic spike.
- DConfigure a very short cooldown period on the Auto Scaling group's target tracking scaling policy to ensure instances scale out as fast as possible.
Cevap
Contact AWS Support to pre-warm the Application Load Balancer with the expected traffic profile, and configure scheduled scaling actions for the Auto Scaling group.
The correct action is to contact AWS Support to pre-warm the Application Load Balancer and schedule scaling for the Auto Scaling group. This combination ensures that both the ingress tier (ALB) and the application tier (EC2) have sufficient capacity provisioned in advance of the flash sale, avoiding latency and connection drop issues.
Adım Adım Çözüm
Anahtar Kavram
ELB Pre-warming and Scheduled Scaling for Flash Traffic