KVM to Ec2 migration

868 views
Skip to first unread message

Rocky

unread,
Aug 2, 2014, 3:09:33 PM8/2/14
to vg...@googlegroups.com
Hi,

we are running KVM Based virtualization for guest vms ( Linux + Windows ). We require to migrate some VMs to EC2 on amazon. i read some manual and docs over internet which says that EC2 support vmware  / citrix xen etc.. but there is no kvm. I tried to import raw image over aws but while booting got error that no /dev/sda1 found.

Can u please suggest me a way to accomplish it.. 

Regards
Rocky

ElectroMech

unread,
Aug 5, 2014, 12:44:11 PM8/5/14
to vg...@googlegroups.com

Hi

Sorry for replying some commercial stuff.

We are amazon consulting partner and provide services for all aws services backed by amazon India.

Just drop me a personal mail if you need help.

Thanks and regards.

--
Nilesh Vaghela
ElectroMech Corporation
302, New York Plaza, Opp. chief Justice Bunglow
Bodakdev, Ahmedabad - 380054
www.electromech.info
fb.com/electromechcorp

--
Please read http://www.catb.org/~esr/faqs/smart-questions.html before posting.
You received this message because you are subscribed to the "Vibrant GNU/Linux User Group".
To stop receiving emails from this group, mail to VGLUG+un...@googlegroups.com
To post to this group, send email to VG...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/VGLUG

---
You received this message because you are subscribed to the Google Groups "VGLUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vglug+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

tej

unread,
Aug 6, 2014, 8:35:24 PM8/6/14
to vg...@googlegroups.com
Hi Rocky,

I had migrated my all working kvm based stuff which covers Linux + windows to EC2. Follow below steps to do this.

1) convert your kvm based guest vm image to xen
2) deploy xenserver at spare machine
3) import kvm converted image to xen
4) export from xen as ovf/ova format as per demand of aws
5) use  ec2-import-instance


if you face any problem to do these , let me know.

Regards
Tejas

Sham Arsiwala

unread,
Aug 6, 2014, 9:34:26 PM8/6/14
to Linux Group
HI,



I have personally not tried it but you can try the below link hope it help's you

 
Regards
Rocky

--
Please read http://www.catb.org/~esr/faqs/smart-questions.html before posting.
You received this message because you are subscribed to the "Vibrant GNU/Linux User Group".
To stop receiving emails from this group, mail to VGLUG+un...@googlegroups.com
To post to this group, send email to VG...@googlegroups.com

For more options, visit this group at http://groups.google.com/group/VGLUG

---
You received this message because you are subscribed to the Google Groups "VGLUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vglug+un...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
Please read http://www.catb.org/~esr/faqs/smart-questions.html before posting.
You received this message because you are subscribed to the "Vibrant GNU/Linux User Group".
To stop receiving emails from this group, mail to VGLUG+un...@googlegroups.com
To post to this group, send email to VG...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/VGLUG

---
You received this message because you are subscribed to the Google Groups "VGLUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vglug+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
--
Regards.:
SHAM P. ARSIWALA.
RHCSA, RHCE, RHCVA
M.: 9099099855, 9327247499.

Nilesh

unread,
Aug 7, 2014, 11:53:38 AM8/7/14
to vg...@googlegroups.com
Hi,
Please check the following

Using the Import/Export Tools

VM Import/Export offers two ways to import your virtual machine into Amazon EC2.

The first method is to import your VM image using the Amazon EC2 API tools.. To get started, simply:

Download the VM Import Command Line Tools from Amazon EC2 API tools.

Import the VMDK, VHD or RAW file via the ec2-import-instance API. The import instance task captures the parameters necessary to properly configure the Amazon EC2 instance properties (instance size, availability zone, and security groups) and uploads the disk image into Amazon S3.

If ec2-import-instance is interrupted or terminates without completing the upload, use ec2-resume-import to resume the upload. The import task will resume where it left off.

Use the ec2-describe-conversion-tasks command to monitor the import progress and obtain the resulting Amazon EC2 instance ID.

Once your import task is completed, you can boot the Amazon EC2 instance by specifying its instance ID to the ec2-run-instances API.

Finally, use the ec2-delete-disk-image command line tool to delete your disk image from Amazon S3.

You can get more information from amazon documentation http://aws.amazon.com/ec2/vm-import/

Hope will help you.

Regards
Rocky



-- 
Thanks and Regards
--
Nilesh Vaghela
ElectroMech Corporation
302, New York Plaza, Opp. chief Justice Bunglow
Bodakdev, Ahmedabad - 380054
www.electromech.info
fb.com/electromechcorp

Nilesh

unread,
Aug 7, 2014, 12:00:03 PM8/7/14
to vg...@googlegroups.com
On 08/07/2014 09:23 PM, Nilesh wrote:
Hi,

You can also use Amazon developers tools.

https://aws.amazon.com/developertools/Amazon-EC2/368

Check the licensing terms and rating.

On 08/03/2014 12:39 AM, Rocky wrote:
Hi,

we are running KVM Based virtualization for guest vms ( Linux + Windows ).
We require to migrate some VMs to EC2 on amazon. i read some manual and
docs over internet which says that EC2 support vmware  / citrix xen etc..
but there is no kvm. I tried to import raw image over aws but while booting
got error that no /dev/sda1 found.

Can u please suggest me a way to accomplish it..
Please check the following

Using the Import/Export Tools

VM Import/Export offers two ways to import your virtual machine into Amazon EC2.

The first method is to import your VM image using the Amazon EC2 API tools <http://aws.amazon.com/developertools?_encoding=UTF8&jiveRedirect=1>.. To get started, simply:

Download the VM Import Command Line Tools from Amazon EC2 API tools.

Import the VMDK, VHD or RAW file via the ec2-import-instance API. The import instance task captures the parameters necessary to properly configure the Amazon EC2 instance properties (instance size, availability zone, and security groups) and uploads the disk image into Amazon S3.

If ec2-import-instance is interrupted or terminates without completing the upload, use ec2-resume-import to resume the upload. The import task will resume where it left off.

Use the ec2-describe-conversion-tasks command to monitor the import progress and obtain the resulting Amazon EC2 instance ID.

Once your import task is completed, you can boot the Amazon EC2 instance by specifying its instance ID to the ec2-run-instances API.

Finally, use the ec2-delete-disk-image command line tool to delete your disk image from Amazon S3.

You can get more information from amazon documentation http://aws.amazon.com/ec2/vm-import/

Hope will help you.

Regards
Rocky



Reply all
Reply to author
Forward
0 new messages