- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud
Deploy to EKS with Image Promotion and Rollback
In this hands-on lab, you will release an application for Carved Rock Fitness using Amazon Elastic Container Registry (Amazon ECR) and Amazon Elastic Kubernetes Service (Amazon EKS). You will select a candidate image, promote it to the stable release without rebuilding it, deploy its immutable digest, and validate rollout health and the application response. You will then deploy a deliberately degraded follow-up image and roll back to the healthy release. By the end, you will be able to use image identity and rollout evidence to make and verify release decisions.
Lab Info
Table of Contents
-
Challenge
Select the candidate container image for promotion
Identify the candidate container image prepared by the lab pipeline. Record the ECR repository details and the original stable, candidate, and broken image digests for use throughout the release.
-
Challenge
Promote the candidate image to the stable release
Promote the candidate image by moving the stable tag to its existing manifest, without rebuilding the image. Verify that the stable and candidate tags identify the same immutable digest.
-
Challenge
Update the EKS Deployment to the promoted image
Connect to the EKS cluster and verify the healthy version 1 baseline. Update the Deployment to the promoted image digest and confirm that a new revision and ReplicaSet have been created.
-
Challenge
Validate rollout health before completing the release
Validate the release using rollout completion, Deployment conditions, and pod readiness. Confirm that the application serves version 2 before accepting the release.
-
Challenge
Roll back the EKS Deployment after a degraded rollout
Detect a deliberately degraded rollout while the previous healthy replicas remain available. Undo the failed rollout and verify that the candidate digest, healthy replicas, and version 2 application response are restored.
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.