title: Replacing a particular instance on AWS Elastic BeanStalk?
body: <p>We are using Multiple Docker environment on Elastic BeanStalk with 2 instances running and we think there are some problem with one of the instances. What is the proper way to replace that particular instance? </p>
  
  <p>I am thinking of one of the following:</p>
  
  <ol>
  <li>Just terminate that instance via EC2 console and let Elastic BeanStalk spins up a new one.</li>
  <li>Increase the minimum instances in Elastic BeanStalk to 3 and decrease it back to 2 after the third instance is up and terminate the problematic instance.</li>
  </ol>
  
  <p>The goal is to minimize down time.</p>