Michael Wiles
Michael Wiles

Reputation: 21186

What happens if I want to change an my instance type from one with EBS only to one that has Drive Attached?

On AWS I have a running t2.small - this only comes with EBS storage. It currently has an 8 Gig EBS attached storage and I want to upgrade to an m1.small which has built in storage.

If I just switch to the m1.small what will it do? Will the EBS storage stay attached and not use the built in storage? Or will it duplicate my EBS storage? Or worse still will it not re-attach the EBS storage and I'll have to attach it myself?

Upvotes: 1

Views: 115

Answers (1)

John Hanley
John Hanley

Reputation: 81356

If you are currently running a T2.small, you will not be able to select an M1.small. Different virtualization types (HVM vs Paravirtualization).

When you change the instance type, you will be limited to instance types that match the virtualization type and storage type that you already have selected for your EC2 instance. The AMI that you selected will also limit which instance types that are supported.

Now, given that an instance type is available, your storage will stay the same and just your instance type will be changed.

Note: If the root device for your instance is an instance store volume, you must migrate your application to a new instance with the instance type that you need.

Upvotes: 1

Related Questions