What should a SysOps administrator do to make this change?
Migrate the EC2 instance to a compute optimized instance by using AWS VM Import/Export.
Enable hibernation on the EC2 instance. Change the instance type to a compute optimized instance. Disable hibernation on the EC2 instance.
Stop the EC2 instance. Change the instance type to a compute optimized instance. Start the EC2 instance.
Change the instance type to a compute optimized instance while the EC2 instance is running.
Explanations:
AWS VM Import/Export is primarily used for importing existing VMs into EC2. It is not necessary for changing the instance type of an existing EC2 instance.
Hibernation is not required for changing instance types. You can stop the instance, change the instance type, and then start it without enabling or disabling hibernation.
The correct method to change the instance type is to stop the instance first, then change the instance type to a compute optimized instance, and finally start the instance. This ensures that the new instance type is applied correctly.
You cannot change the instance type of an EC2 instance while it is running. The instance must be stopped first before changing the type.