Question

Difficulty: EasyDeployment Strategies and Execution

A SysOps Administrator is planning to update an AWS Elastic Beanstalk application. The update must be deployed with zero downtime, and the administrator must be able to roll back to the previous version immediately if any issues are detected. The old environment must remain active during the initial cutover. Which deployment strategy meets these requirements?

  1. A
    All-at-once deployment
  2. B
    Rolling deployment
  3. Blue/Green deploymentAnswer
  4. D
    Rolling with additional batch deployment

Answer

Blue/Green deployment
The blue/green deployment strategy involves launching a separate, identical environment running the new version of the application. Once the new environment is fully tested and ready, traffic is redirected from the old environment to the new environment (for example, by swapping CNAMEs in Elastic Beanstalk). This ensures zero downtime and permits an immediate rollback by redirecting traffic back to the original environment, which remains running and unaffected during the initial transition.

Step-by-Step Solution

1
Analyze the deployment requirements of zero downtime, immediate rollback capability, and keeping the old environment active during the cutover.
Identified that in-place deployment strategies will overwrite existing instances, preventing immediate rollback and potentially causing downtime.
Understanding the core limitations of in-place deployments is necessary to eliminate unsuitable strategies.
2
Evaluate the Blue/Green deployment strategy against these requirements.
Confirmed that Blue/Green deployment creates a separate environment for the new version, keeping the old environment active, and allows swapping CNAMEs to redirect traffic.
This strategy satisfies the zero downtime requirement and allows for an instant rollback by swapping CNAMEs back if the new deployment fails.

Key Concept

Selecting the appropriate deployment strategy to meet specific downtime and rollback requirements.
Estimated Time:45s
Rate this question