A user has launched an EC2 instance from an instance store backed AMI. If the user restarts the
instance, what will happen to the ephermal storage data?
A.
All the data will be erased but the ephermal storage will stay connected
B.
All data will be erased and the ephermal storage is released
C.
It is not possible to restart an instance launched from an instance store backed AMI
D.
The data is preserved
Explanation:
A user can 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. However, it is
recommended that the user use Amazon EC2 to reboot the instance instead of running the
operating system reboot command from the instance. When an instance launched from an
instance store backed AMI is rebooted all the ephermal storage data is still preserved.
is it B??
Sorry its D
D
Hi, Could you explain why it is D ? is it not true that instance store backed AMI cannot be restarted ?
As per AWS documents:-
The data in an instance store persists only during the lifetime of its associated instance. If an instance reboots (intentionally or unintentionally), data in the instance store persists. However, data in the instance store is lost under the following circumstances:
The underlying disk drive fails
The instance stops
The instance terminates