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
You cannot change instance type if
Your instance is running. Solution: Stop your instance (Don't terminate). Then Actions button -> Instance settings -> Change instance type.
Your instance hibernation is enabled. Solution: You cannot disable hibernation after you launched your instance. You need to go to Management Console -> Select your instance -> Actions button -> Image and templates -> Create image. Then on the left hand side menu -> Images -> AMI -> Select your image -> Launch -> start a new instance type.
You can't change the instance type of a Spot instance (exception: as of 2020, spot instances that are part of a spot fleet can change their instance type).
a. if you try to stop a Spot instance, you would get the following error
Failed to stop the instance instance id
You can't stop the Spot Instance 'instance id' because it is associated with a one-time Spot Instance request. You can only stop Spot Instances associated with persistent Spot Instance requests.
b. That being said, if your spot instance is a persistent spot instance, you can use the EC2 Spot Converter tool, an open source project on GitHub.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With