A company is running an application in the AWS Cloud. The core business logic is running on a set of Amazon EC2 instances in an Auto Scaling group. An Application Load Balancer (ALB) distributes traffic to the EC2 instances. Amazon Route 53 record api.example.com is pointing to the ALB. The company's development team makes major updates to the business logic. The company has a rule that when changes are deployed, only 10% of customers can receive the new logic during a testing window. A customer must use the same version of the business logic during the testing window. How should the company deploy the updates to meet these requirements?
Select one answer.
Marked answer: B
Community Discussion
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
Chose B1
ALB weighted target groups give an exact 90/10 traffic split, and ALB target group stickiness keeps each customer on the same version for the testing window. Route 53 weighting (A) isn’t user‑sticky, rolling updates (C) control instances not customer percentage, and changing to LOR (D) doesn’t provide precise canary percentage.
Chose B4
B is better option considering the fact that a customer should get same business logic during testing window. This means we need session stickiness that only option B can provide.