Issue
The instance is stopped, it's a VPC instance (not classic), and it has an EBS volume. Linux2 AMI. For some reason the instance type is not able to be modified. I need to upgrade the instance type from a t2.micro to a t2.small or t2.medium.
Saw this question that seems to be similar ,but I don't know how to tell if the instance is 32-bit or 64-bit image.
AWS, Can't change ec2 instance type
Solution
For anyone who has this problem in the future, after hearing back from AWS support, the reason I couldn't modify the instance type was because hibernation mode was enabled, which I guess prevents you from modifying the instance type.
Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/. In the navigation pane, choose Instances. Select the instance and, on the Details tab, in the Instance details section, inspect Stop-hibernate behavior. Enabled indicates that the instance is enabled for hibernation.
Please be informed that as per the requirement to Change the instance type, You can't change the instance type or size of an instance with hibernation enabled.
[+] Change the instance type: Requirements :- https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2-instance-resize.html#resize-requirements
It is because of the hibernation enabled on your instance, You are unable to change instance type for 'i-0de6056502fec7de9’ and the option in the console is greyed out. In addition, as per design of the service you can't enable or disable hibernation for an instance after you launch it.
[+] Enable hibernation for an instance :- https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/Hibernate.html#enabling-hibernation
Further, you will need to recreate this instance in order to resize it to your needs. As one of the limitations of instance hibernation is that If you create a snapshot or AMI from an instance that is hibernated or has hibernation enabled, you might not be able to connect to the instance.
[+] Hibernation Limitations :- https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/Hibernate.html#hibernating-not-supported
Answered By - hyphen Answer Checked By - Katrina (WPSolving Volunteer)