We frequently upgrade our Amazon Elastic Compute Cloud (EC2) fleet, with many patches and upgrades being applied to instances transparently. However, some updates require a short instance reboot in order to apply these updates. This page provides information on the reboot process.
The recent release of our scheduled events functionality provides greater visibility into the timing of these reboots. In addition to added visibility, in most cases you can use the scheduled events to manage reboots on your own schedule if you want to reboot before the scheduled update window. You can easily view any upcoming scheduled events for your instances in the AWS Management Console or using the API tools or command line. Reboots such as these should be infrequent, but may be necessary from time to time to apply upgrades that strengthen our security, reliability and operational performance.
There are two kinds of reboots that can be required as part of Amazon EC2 scheduled maintenance – instance reboots and system reboots. Instance reboots are reboots of your virtual instance, and are equivalent to an operating system reboot. System reboots require reboots of the underlying physical server hosting an instance. If you do not take any action, the impact on your instance is the same in both cases – during your scheduled maintenance window your instance will experience a reboot that in most cases takes a few minutes.
You also have the option to manage these reboots yourself at any time prior to the scheduled maintenance window. When you manage a reboot yourself, your instance will receive the upgrade when you reboot and your scheduled maintenance window will be cancelled (note that scheduled events can sometimes take up to 1 hour to refresh once a reboot has been completed).
For details on how to view and manage your scheduled events using the API and command line tools, please see Monitoring the Status of Your Instances in the Amazon EC2 user guide.
EBS-backed AMIs: If you are running an EBS-backed AMI, you can stop and then restart your instance in order to easily re-launch it. This will cause the loss of any data you have saved on the local instance store of the instance, thus you should back up that data before stopping your instance if you wish to keep that data. In addition, the public DNS name and internal IP address of your instance will change (except when running in Amazon VPC). You will also need to re-associate any Elastic IP for your instance. For a detailed list of additional configuration settings that change, see Monitoring the Status of Your Instances in the Amazon EC2 User Guide.
Instance store-backed AMIs: If you are running an instance store-backed AMI, you will need to re-bundle your AMI and launch a new instance. This will cause you to lose any data you have saved on the local instance store of the instance, and will change your internal IP (except when running in Amazon VPC).
For more details on how to complete both of these tasks, see Monitoring the Status of Your Instances and Bundling Amazon EC2 instance store-backed Linux/UNIX AMIs in the Amazon EC2 User Guide.