Soru

Zorluk: OrtaDeployment Strategies and Execution

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 (10%10\%) 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?

  1. Traffic splittingCevap
  2. B
    Immutable
  3. C
    Rolling with additional batch
  4. D
    Rolling

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

1
Analyze the deployment requirements: zero downtime, canary testing with a small percentage of traffic (10%), and automatic rollback based on CloudWatch alarms.
Identify that the solution requires a deployment strategy that supports fractional traffic shifting and automated rollback.
This narrows down the deployment strategies to those that can split traffic at the load balancer level.
2
Evaluate Elastic Beanstalk deployment policies against the identified requirements.
Determine that traffic splitting is the only Elastic Beanstalk policy designed specifically for canary testing by routing a percentage of traffic to the new version.
Other policies like Immutable shift 100% of traffic after health checks, and Rolling policies update in batches without fractional load-balancer-level traffic routing.

Anahtar Kavram

AWS Elastic Beanstalk traffic splitting deployment strategy for canary testing and automated rollbacks
Tahmini Süre:1m 30s
Bu soruyu puanla