title: Deploy latest image from ECR to EC2
body: <p>I have a existing Jenkins pipeline job which build docker image and push it to AWS ECR repository.</p>
  
  <p>We are not using ECS in our shop.</p>
  
  <p>I want to create a jenkins pipeline job which will take this latest ECR image form repository and put in an Existing EC2 instance,create container from that image and open on some port.</p>
  
  <p>Need any sample pipeline job to achieve this,any reference will also help.</p>