A user can stop/start or reboot an EC2 instance using the AWS console, the Amazon EC2 CLI or the Amazon
EC2 API. Rebooting an instance is equivalent to rebooting an operating system. When the instance is rebooted
AWS will not charge the user for the extra hours. In case the user stops the instance, AWS does not charge the
running cost but charges only the EBS storage cost. If the user starts and stops the instance multiple times in a
single hour, AWS will charge the user for every start and stop. In this case, since the instance was rebooted
twice, it will cost the user for 3 instance hours.