Amol Chakane
Amol Chakane

Reputation: 1511

Simplest way to convert amazon-linux instance from PV to HVM

I tried to shift m3.medium instance from Sydney to Mumbai using following steps.

  1. Created AMI in Sydney.
  2. Copied that AMI to Mumbai
  3. Tried to launch EC2 instance using that AMI.

The console shows message

"No matching instance type found"

.

Then I Googled a little bit and found that my current instance is Paravirtual (PV) and I should convert it to Hardware-assisted Virtual Machine (HVM).

I found following threads

However the solutions provided there are bit complicated for me being a newbie in AWS.

Is there a simplest way to achieve this using AWS Web Console?

Upvotes: 1

Views: 872

Answers (1)

Hitesh Bajaj
Hitesh Bajaj

Reputation: 145

There is a way out -

  1. In sydney, create a snapshot of the instance
  2. Using the snapshot, create a new AMI in HVM mode(use)

ec2-register -n hvmami -s snap-08b00961a035ec238 --virtualization-type hvm

  1. Copy this AMI to mumbai
  2. Create a new instance in HVM mode.

Let me know if this helps.

Upvotes: 1

Related Questions