In this challenge lab, you will migrate an application by using a blue/green and canary strategy. First, you will configure and test a blue application environment that uses two Amazon Elastic Cloud (Amazon EC2) instances, and then you will configure a parallel green application environment that uses two EC2 instances. Next, you will perform canary testing by using an Application Load Balancer, and then you will migrate fifty percent of the traffic to the green version. Finally, you will direct all traffic to the green EC2 instances and decommission the blue EC2 instances by using a CloudFormation change set. Note: Once you begin the challenge lab, you will not be able to pause, save, or exit and then return to your challenge lab. Please ensure that you have set aside enough time to complete the challenge lab before you start.
Learning Objectives
In this challenge lab, you will migrate an application by using a blue/green and canary strategy. First, you will configure and test a blue application environment that uses two Amazon Elastic Cloud (Amazon EC2) instances, and then you will configure a parallel green application environment that uses two EC2 instances. Next, you will perform canary testing by using an Application Load Balancer, and then you will migrate fifty percent of the traffic to the green version. Finally, you will direct all traffic to the green EC2 instances and decommission the blue EC2 instances by using a CloudFormation change set. Note: Once you begin the challenge lab, you will not be able to pause, save, or exit and then return to your challenge lab. Please ensure that you have set aside enough time to complete the challenge lab before you start.