title: Difference between Docker and AMI
body: <p>In the context of AWS:</p>
  
  <p>AMI is used to package software and can be deployed on EC2.
  Docker can also be used to package software and can also be deployed to EC2.</p>
  
  <p>What's the difference between both and how do I choose between them?</p>