1

Context: Within my OpenStack environment, I'm operating virtual machines instantiated from a Ubuntu Cloud Image (QCOW2 format). Now, I want to create snapshots of these virtual machine and operate them within an AWS EC2 environment.

Question: Which steps do I have to execute for that? Please also be precise where to execute any commands (e.g., within a virtual instance, at the OpenStack controller node, etc.).

Notes about related posts:

3
  • For RAW images, this also seems to help: fosshelp.blogspot.in/2013/06/…
    – Sebastian
    May 13, 2015 at 16:50
  • My current strategy is to (1) convert an OpenStack snapshot (QCOW2) format into a RAW disk image and (2) bundle it as Amazon image (following lucasdipaola.blogspot.de/2014/04/…) However, currently step (2) fails since the RAW file becomes too large (43 GB). According to dedoimedo.com/computers/amazon-ec2.html the problem is that I configured my virtual machine to have a partition of 40GB but Amazon only supports Images of size 10GB.
    – Sebastian
    May 19, 2015 at 15:42
  • Trying to down-size the QCOW2 image would destroy the contents of my snapshot -- which is therefore a blocker for me. I will abort my efforts on migrating OpenStack images to EC2 here & will configure an EC2 image from scratch directly within AWS.
    – Sebastian
    May 19, 2015 at 16:46

1 Answer 1

0

Images have to be converted to an EC2-compliant format. QCOW2 is such a format and converting existing images to QCOW2 is possible. However, such a conversion does not work for large image files (> 10 GB). Therefore, uploading OpenStack images to EC2 is only possible with high limitations. See my comments above for details.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.