A company’s Amazon EC2 instance with high CPU utilization is a t3.large instance running a test web app. The company determines the app would run better on a compute-optimized large instance.
What should the CloudOps engineer do?
A.
Migrate the EC2 instance to a compute optimized instance by using AWS VM Import/Export.
B.
Enable hibernation on the EC2 instance. Change the instance type to a compute optimized instance. Disable hibernation on the EC2 instance.
C.
Stop the EC2 instance. Change the instance type to a compute optimized instance. Start the EC2 instance.
D.
Change the instance type to a compute optimized instance while the EC2 instance is running.
As described in the AWS Cloud Operations and EC2 Management documentation, changing an instance type (e.g., from T3 to C5) requires that the instance be stopped first. Once stopped, the engineer can modify the instance type through the AWS Management Console, CLI, or API, then start the instance again to apply changes.
This process preserves the root volume, networking configuration, and data, making it an operationally safe and efficient way to upgrade to a different instance family.
Changing the instance type while running (Option D) is unsupported. VM Import/Export (Option A) is for external VM migration. Hibernation (Option B) does not apply to type changes.
Thus, Option C is correct — stopping the instance, changing its type, and restarting it meets AWS best practices.
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit