Soru

Zorluk: OrtaDeployment Strategies and Execution

A company hosts a production web application on AWS Elastic Beanstalk using an Auto Scaling group behind an Application Load Balancer. A SysOps Administrator needs to deploy a critical application update. The deployment strategy must ensure zero downtime, deploy the update to brand new instances for clean isolation, and allow for a rapid rollback by terminating the new instances if the deployment fails. Furthermore, the administrator must avoid the overhead of managing a separate Elastic Beanstalk environment or performing a DNS CNAME swap. Which deployment policy should the SysOps Administrator select to meet these requirements?

  1. A
    Rolling deployment
  2. Immutable deploymentCevap
  3. C
    All-at-once deployment
  4. D
    Blue/Green deployment

Cevap

The correct deployment policy is an immutable deployment.
The immutable deployment strategy satisfies all the requirements. It creates a temporary Auto Scaling group to launch a full set of new instances running the new version within the same environment. Traffic is cut over only after health checks pass, ensuring zero downtime. If the deployment fails, the rollback is rapid and simple: Elastic Beanstalk terminates the temporary Auto Scaling group, leaving the original instances untouched.

Adım Adım Çözüm

1
Analyze the deployment constraints: zero downtime, deployment to new isolated instances, fast rollback by terminating new instances, and avoiding the creation of a separate environment.
Identified that rolling and all-at-once updates modify existing instances in-place, while blue/green requires a separate environment.
This filters out strategies that do not meet the isolation or environment management requirements.
2
Evaluate the capabilities of an immutable deployment in AWS Elastic Beanstalk.
An immutable deployment launches a temporary Auto Scaling group inside the same environment, deploys the new version to new instances, and serves traffic only after health checks pass.
This satisfies the isolation requirement within a single environment.
3
Assess the rollback speed and downtime behavior of the immutable policy.
If the deployment fails, the temporary Auto Scaling group is terminated immediately, restoring all traffic to the original instances without downtime.
This meets the rapid rollback and zero-downtime constraints.

Anahtar Kavram

AWS Elastic Beanstalk immutable deployments isolate application updates on new EC2 instances in a temporary Auto Scaling group within the same environment to ensure zero downtime and rapid rollback.
Bu soruyu puanla