Next Question

Your application is currently running on Amazon EC2 instances behind a load balancer. Your management has decided
to use a Blue/Green deployment strategy. How should you implement this for each deployment?

Set up Amazon Route 53 health checks to fail over from any Amazon EC2 instance that is currently being deployed to.

Using AWS CloudFormation, create a test stack for validating the code, and then deploy the code to each production Amazon EC2

Create a new load balancer with new Amazon EC2 instances, carry out the deployment, and then switch DNS over to the new load
balancer using Amazon Route 53 after testing.

Launch more Amazon EC2 instances to ensure high availability, de-register each Amazon EC2 instance from the load balancer,
upgrade it, and test it, and then register it again with the load balancer.

Next Question

Leave a Reply

Your email address will not be published. Required fields are marked *