Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AWS EC2 can't change instance type - greyed out or disabled option

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

like image 516
hyphen Avatar asked Dec 13 '25 06:12

hyphen


1 Answers

You cannot change instance type if

  1. Your instance is running. Solution: Stop your instance (Don't terminate). Then Actions button -> Instance settings -> Change instance type.

  2. 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.

  3. 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.

like image 92
hatted Avatar answered Dec 15 '25 01:12

hatted