codec
codec

Reputation: 8806

Download image of an EC2 instance

I have an amazon EC2 instance running. How can I have an image of the VM downloaded locally so that I can import it into some other cloud platform. I am using RHEL 7.3 free tier image for the VM. Will the image contain all the data I had on my VM?

Upvotes: 6

Views: 15081

Answers (2)

John Rotenstein
John Rotenstein

Reputation: 269312

There is no in-built functionality to "download" an image of the VM.

You could create an ISO file of the disk (using standard utilities) and then download the ISO.

Also, see the AWS VM Import/Export service. This allows you to export previously imported images (but not pure EC2 images).

What is an 'instance'?

This always raises the interesting question of what is an 'instance'? It is certainly a copy of the boot disk, which gives the virtual machine its 'personality'. However, it is also network placement, instance type, security group, tags, etc. These other factors typically aren't needed to move an instance out of AWS, because they are AWS-specific.

Upvotes: 2

Pranav Kumar
Pranav Kumar

Reputation: 333

Yes, For second part of your question. Images contains all the data of the EC2-instance (VM).

You should check this for copying ec2 Instance Image http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/CopyingAMIs.html

Upvotes: 1

Related Questions