Ends in
00
days
00
hrs
00
mins
00
secs
SHOP NOW

🎉 Get 10% OFF and Save Big on All PlayCloud Subscription Plans - PlayCloud Sale!

Find answers, ask questions, and connect with our
community around the world.

Home Forums AWS AWS Certified DevOps Engineer Professional DOP – SDLC Automation – Ensure ECS containers have the latest version

  • DOP – SDLC Automation – Ensure ECS containers have the latest version

  • Ariel Tchougang

    Member
    February 13, 2026 at 10:32 pm

    About the following question:

    A company has an Amazon ECS cluster with Service Auto Scaling which consists of multiple Amazon EC2 instances that runs a Docker-based application. The development team always pushes a new image to a private Docker container registry whenever they publish a new version of their application. They stop and start all of the tasks to ensure that the containers have the latest version of the application. However, the team noticed that the new tasks are occasionally running the old image of the application.

    As the DevOps engineer, what should you do to fix this issue?

    1 – Restart the ECS agent.

    2 – Configure the task definition to use the repository-url/image@digest format then manually update the SHA-256 digest of the image.

    3 – Migrate your repository from your private Docker container registry to Amazon ECR.

    4 – Ensure that the latest tag is being used in the Docker image of the task definition.

    You propose answer 1, while I think answer 2 is the most appropriate here, as this solves the issue once for all. Furthermore it does help better keeping track of the app version change lifecycle and history.

Viewing 1 of 1 replies

Log in to reply.

Original Post
0 of 0 posts June 2018
Now
Skip to content