
Answer-first summary for fast verification
Answer: Opt for Blue/Green deployment
Opt for Blue/Green deployment - A Blue/Green deployment is used to update your applications while minimizing interruptions caused by the changes of a new application version. CodeDeploy provisions your new application version alongside the old version before rerouting your production traffic. The behavior of your deployment depends on which compute platform you use: AWS Lambda: Traffic is shifted from one version of a Lambda function to a new version of the same Lambda function. Amazon ECS: Traffic is shifted from a task set in your Amazon ECS service to an updated, replacement task set in the same Amazon ECS service. EC2/On-Premises: Traffic is shifted from one set of instances in the original environment to a replacement set of instances. Incorrect options: Opt for Rolling deployment - This deployment type is present for AWS Elastic Beanstalk and not for EC2 instances directly. Opt for Immutable deployment - This deployment type is present for AWS Elastic Beanstalk and not for EC2 instances directly. Opt for In-place deployment - Under this deployment type, the application on each instance in the deployment group is stopped, the latest application revision is installed, and the new version of the application is started and validated. You can use a load balancer so that each instance is deregistered during its deployment and then restored to service after the deployment is complete. References:
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
Your web application is designed using a robust architecture that includes multiple Amazon EC2 instances, which are efficiently managed behind an Elastic Load Balancer (ELB). These instances operate within an Auto Scaling group that maintains a desired capacity of 5 EC2 instances. You are now planning to integrate AWS CodeDeploy to automate the deployment process for your application. One of your key requirements is that the deployment process should be capable of re-routing user traffic from the existing deployment environment to the new one seamlessly.
Which of the following options will fulfill these deployment requirements?
A
Opt for Blue/Green deployment
B
Opt for In-place deployment
C
Opt for Rolling deployment
D
Opt for Immutable deployment
No comments yet.