Soru

Zorluk: OrtaDeployment Strategy Design

A company hosts a critical customer-facing web application on AWS Elastic Beanstalk. The application must maintain its full serving capacity at all times during updates to prevent any performance degradation. Additionally, the company's release policy requires testing the new version with a small fraction of live production traffic for a specific evaluation period, with an automated rollback if the new version displays health issues. Which Elastic Beanstalk deployment policy should the solutions architect recommend to meet these requirements?

  1. Traffic splitting deploymentCevap
  2. B
    Immutable deployment
  3. C
    Rolling with additional batch deployment
  4. D
    Rolling deployment

Cevap

Traffic splitting deployment
Traffic splitting deployment is the only policy in Elastic Beanstalk that satisfies both constraints. It launches a new set of instances alongside the old ones to maintain capacity and routes a specified percentage of incoming traffic to the new version for a trial period, rolling back automatically if issues arise.

Adım Adım Çözüm

1
Analyze the capacity requirement during updates.
The requirement states that the application must maintain full serving capacity at all times, which rules out standard rolling deployments that take instances offline.
Standard rolling deployments degrade capacity during the update window, violating performance requirements.
2
Analyze the canary testing requirement.
The application needs to test the new version using a small fraction of live production traffic for a specified evaluation period before complete rollout.
This requires a deployment strategy that supports canary testing with real traffic rather than immediately routing all traffic to the new version.
3
Evaluate Elastic Beanstalk deployment policies against the constraints.
Traffic splitting deployment creates a parallel set of instances (maintaining capacity) and routes a configurable percentage of traffic for evaluation, automatically rolling back if metrics degrade. This satisfies both full capacity and canary testing constraints.
Only traffic splitting offers both full capacity preservation and customizable, time-bound traffic canary routing in Elastic Beanstalk.

Anahtar Kavram

AWS Elastic Beanstalk deployment strategies, specifically utilizing traffic splitting for zero-downtime, capacity-preserving canary updates.
Tahmini Süre:2m 0s
Bu soruyu puanla