I've inherited our AWS management duties for the time being and I've received a notice from AWS about some of our instances needing regular maintenance. The EC2 instances are pretty primary, a proxy server and a WordPress install.

From the email it says:

Additional information about maintenance events, including how to migrate to replacement instances, can be found at http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/monitoring-instances-status-check_sched.html.

I understand the concept, but not exactly sure how to accomplish such a task. The proxy instance sits on an Elastic IP, but the WP install does not. The maintenance window is definitely off-hours, but I'd still like to know how to do it.

Can I create an AMI of each and relaunch a new instance based on their respective AMI? I assume for the proxy with the EIP I can reassociate that newly created instance.

I'm not sure how to best accomplish the WP install instance.

I would love some insight into this new realm.


  • I"m not sure what you're asking here. Are you attempting to perform some maintenance yourself, or provide some backup system to kick in when maintenance happens, or some third option?
    – Kate
    Commented May 1, 2015 at 21:16
  • Trying to follow Amazon's suggestion of migrating the instances that need maintenance to a replacement versions.
    – hybrid9
    Commented May 1, 2015 at 21:34
  • Creating AMIs for each instance then starting new instances by using the AMIs is enough. but you may want to keep your ip addresses. Actually amazon replaces it's host machines as XEN hosts time to time (or maybe regularly, can't be sure right now) new instances won't use any host that is scheduled to be replaced. so recreating them is enough.
    – risyasin
    Commented May 1, 2015 at 21:34
  • @risyasin Would you mind elaborating a little bit more on your note about the IP address. That is one of my concerns about the proxy which is on an EIP. And won't recreating a new AMI assign a new IP for each (proxy and WP install)?
    – hybrid9
    Commented May 1, 2015 at 21:44
  • 1
    You have left out a lot of pertinent information... VPC or EC2-Classic? EBS or Instance Store? What kind of maintenance event is pending? Commented May 1, 2015 at 22:03


You must log in to answer this question.

Browse other questions tagged .