-1

I have an old app running on EC2 classic box, and need to migrate it to a VPC. The old instance type is m1.small (Intel arch). I created an AMI for the server running the app, and tried to launch a new instance from it.

It only showed t1.micro and c3.large as available instance types. Everything else is grayed out.

I copied the AMI to the Ohio region and got no instance types available at all.

Is this a temporary capacity issue, or is there something wrong with my AMI that it won't run on a newer instance type?

Shef
  • 253

1 Answers1

1

You should convert your PV based image to HVM. There's a guide on this page, or you can look at this answer.

In short the general steps (look at the links rather than using this):

  • Register the EC2 image (see the command below)
  • Create a new HVM instance
  • Attach disk images
  • Launch the server

AWS CLI Command

aws ec2 register-image --virtualization-type hvm

https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/register-image.html

Tim
  • 33,870
  • 7
  • 56
  • 84