title: How to update EC2 instance after pushing new image version
body: <p>Currently I have a docker container running an image from an ECR repository.</p>
  
  <p>After doing the push commands to the repository, the image is updated successfully, however, the EC2 instance still runs the previous docker image.</p>
  
  <p>I followed this documentation <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/update-service.html" rel="nofollow noreferrer">https://docs.aws.amazon.com/AmazonECS/latest/developerguide/update-service.html</a> to update the Container Service and do a <strong>Force new deployment</strong> but no update when I visit the container URL.</p>
  
  <p>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?</p>
  
  <p><strong>UPDATE</strong>
  Going to my ECS service I see that the most recent deployment has 0  in the running count. Any way to update from here? </p>
  
  <p><a href="https://i.stack.imgur.com/tdi5A.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tdi5A.png" alt="enter image description here"></a></p>