Quantcast
Channel: Active questions tagged amazon-ec2 - Stack Overflow
Viewing all articles
Browse latest Browse all 29250

How to update EC2 instance after pushing new image version

$
0
0

Currently I have a docker container running an image from an ECR repository.

After doing the push commands to the repository, the image is updated successfully, however, the EC2 instance still runs the previous docker image.

I followed this documentation https://docs.aws.amazon.com/AmazonECS/latest/developerguide/update-service.html to update the Container Service and do a Force new deployment but no update when I visit the container URL.

Am I missing something in the process of deployment and updating a container image? Or probably I have to create a New Task Definition or re-run the current one?

UPDATE Going to my ECS service I see that the most recent deployment has 0 in the running count. Any way to update from here?

enter image description here


Viewing all articles
Browse latest Browse all 29250

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>