From the course: Deploying Your AWS Application to the Cloud with Docker

Unlock the full course today

Join today to access over 24,600 courses taught by industry experts.

Challenge: Failed deployment

Challenge: Failed deployment

(upbeat music) - [Instructor] Once we've completed our blue/green deployment, we'll have one important decision to make. Is the application running well enough that we can safely shut down the old version? Most of the time, everything will be fine. But for those few times when the new deployment failed, we need to know what to do. Thankfully, CodeDeploy and ECS make this rollback process fairly easy. Since our blue version, which is our original copy, is still operational, we just need to make a quick change to the load balancer to switch back to it and then safely discard the green version, which is the new one, without causing downtime. In this challenge, I encourage you to learn how to do this in the CodeDeploy console before you go ahead and watch my solution.

Contents