Wednesday, January 9, 2019

AWS how to reboot instance?


Its pretty easy. An instance reboot is equivalent to an operating system reboot. In most cases, it takes only a few minutes to reboot your instance. When you reboot an instance, it remains on the same physical host, so your instance keeps its public DNS name (IPv4), private IPv4 address, IPv6 address (if applicable), and any data on its instance store volumes.

Rebooting an instance doesn't start a new instance billing period (with a minimum one-minute charge), unlike stopping and restarting your instance.

AWS recommend that you use the Amazon EC2 console, a command line tool, or the Amazon EC2 API to reboot your instance instead of running the operating system reboot command from your instance. If you use the Amazon EC2 console, a command line tool, or the Amazon EC2 API to reboot your instance, we perform a hard reboot if the instance does not cleanly shut down within four minutes. If you use AWS CloudTrail, then using Amazon EC2 to reboot your instance also creates an API record of when your instance was rebooted.

To reboot an instance using the console

Open the Amazon EC2 console.

In the navigation pane, choose Instances.

Select the instance and choose Actions, Instance State, Reboot.

Choose Yes, Reboot when prompted for confirmation.


references:
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-reboot.html

No comments:

Post a Comment