AWS

Describe in high-level how to upgrade a system on AWS with (near) zero downtime

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

One way is through launching a new instance. In more detail:

  1. Launch a new instance
  2. Install all the updates and applications
  3. Test the instance
  4. If all tests passed successfully, you can start using the new instance and perform the switch with the old one, in one of various ways:
  5. Go to route53 and update the record with the IP of the new instance
  6. If you are using an Elastic IP then move it to the new instance ...