From the course: Deploying Your AWS Application to the Cloud with Docker
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Solution: Rolling back your deployment - Amazon Web Services (AWS) Tutorial
From the course: Deploying Your AWS Application to the Cloud with Docker
Solution: Rolling back your deployment
(upbeat music) - [Instructor] The solution for this challenge is pretty straightforward thanks to CodeDeploy. Right after our deployment, we have four choices. We could click on Stop deployment, which is going to leave everything as is and give you time to research the reason for failure. We can choose Stop and roll back, which will bring back the previous version and roll back the change. Or we can click on Terminate, which will keep the current version and delete the old blue version. Our fourth choice down here is to wait one hour. After that time, CodeDeploy will promote the green deployment to blue and delete the old service deployment. So for the solution for this challenge, we will click on Stop and roll back deployment, which brings back the previous version, promote it to blue, and terminate the green version.
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.