A SysOps Administrator is managing a high-traffic web application deployed on AWS Elastic Beanstalk behind an Application Load Balancer. The administrator needs to deploy a major update while ensuring there is no downtime. The update must be initially tested with a minor portion () of live user traffic for a brief evaluation window. If the new version triggers any CloudWatch alarms during this evaluation, the traffic must be automatically routed back to the existing version to minimize user impact.
Which Elastic Beanstalk deployment policy meets these requirements?
- Traffic splittingCevap
- BImmutable
- CRolling with additional batch
- DRolling
Cevap
Traffic splitting
Traffic splitting is the correct choice because it is the Elastic Beanstalk deployment policy designed specifically for canary testing. It launches a new set of instances alongside the existing ones, redirects a configured percentage of traffic (such as 10%) to the new version for an evaluation period, and automatically rolls back all traffic to the old instances if any configured CloudWatch alarms trigger or health checks fail.
Adım Adım Çözüm
Anahtar Kavram
AWS Elastic Beanstalk traffic splitting deployment strategy for canary testing and automated rollbacks
Tahmini Süre:1m 30s