Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AWS: Unable to Launch an Instance from Image created from snapshot

Steps:

   1. Create a Snapshot from one of my GP2
   2. Click on Snapshots , select the above snapshot and Click Actions -> Create Image to create Images
   3. Click on AMIs and select the above image and Click "Launch"

Landed on Step 2 - Choose an Instance Type. But there are no types available. No valid instance types found. Neither able to click "Review And Launch"

What am I doing wrong?

PS: I can create image from EC2 instance and then able to Launch an instance (shows all types) successfully on that image

like image 390
jprism Avatar asked Apr 25 '18 02:04

jprism


People also ask

Can we launch instance from snapshot?

Launching the instance from the snapshot is an easy process. You can create a snapshots everyday as the part of your backup process. It is possible that one day you might want to restore your instance from the snapshot incase of a corrupted Operating System or you want to revert back from an unwanted change.

How do I launch EC2 instance from EBS snapshot?

On the Amazon EC2 console, on the Elastic Block Store menu, choose Snapshots. Search for the snapshot that you want to restore, and select it. Choose Actions, and then choose Create Volume. Create the new volume in the same Availability Zone as your EC2 instance.

Can we create EC2 instance from snapshot?

To create an AMI from a snapshot using the consoleOpen the Amazon EC2 console at https://console.aws.amazon.com/ec2/ . In the navigation pane, choose Snapshots. Select the snapshot from which to create the AMI and choose Actions, Create image from snapshot. For Image name, enter a descriptive name for the image.


1 Answers

The problem here is that when you create an Image (AMI) from a EBS snapshot, the default virtualisation type is Paravirtual. However, all the instance types that I have checked, require Hardware-assisted Virtualisation.

So if you click on the Virtualization type drop down box and select Hardware-assisted Virtualisation as below, then all the types will then be available when you launch an instance from the ami.

enter image description here

References

Linux AMI Virtualization Types
Launching a Linux Instance from a Backup

like image 76
geedoubleya Avatar answered Sep 28 '22 10:09

geedoubleya