Convert VMDK images into AMI images The Next CEO of Stack OverflowStoring a million images in...

What happens if you break a law in another country outside of that country?

Is it reasonable to ask other researchers to send me their previous grant applications?

"Eavesdropping" vs "Listen in on"

Why was Sir Cadogan fired?

That's an odd coin - I wonder why

Find a path from s to t using as few red nodes as possible

How to implement Comparable so it is consistent with identity-equality

How should I connect my cat5 cable to connectors having an orange-green line?

Are British MPs missing the point, with these 'Indicative Votes'?

How to unfasten electrical subpanel attached with ramset

Simplify trigonometric expression using trigonometric identities

pgfplots: How to draw a tangent graph below two others?

Incomplete cube

How to find if SQL server backup is encrypted with TDE without restoring the backup

Can you teleport closer to a creature you are Frightened of?

Salesforce opportunity stages

What steps are necessary to read a Modern SSD in Medieval Europe?

Is the offspring between a demon and a celestial possible? If so what is it called and is it in a book somewhere?

Can a PhD from a non-TU9 German university become a professor in a TU9 university?

Can this transistor (2n2222) take 6V on emitter-base? Am I reading datasheet incorrectly?

Is a distribution that is normal, but highly skewed, considered Gaussian?

Does int main() need a declaration on C++?

What day is it again?

Is it okay to majorly distort historical facts while writing a fiction story?



Convert VMDK images into AMI images



The Next CEO of Stack OverflowStoring a million images in the filesystemHow can I run the Ubuntu EC2 AMI images locally?Convert VM running on Linux hypervisor to OVF/VMDKAmazon EC2 terminology - AMI vs. EBS vs. Snapshot vs. VolumeConvert Amazon AMI to Eucalyptus EMIAnybody can tell me why isn't my EC2 AMI booting?Easy way to convert custom 32-bit AMI into 64-bit one?Convert Amazon AMI to VMware imageConvert Windows Amazon Instance-backed AMI to EBSShrinking a preallocated VMDK












1















I have setup and environment for building the virtual machines in vmdk format and then use ec2 api tools to convert, bundle and upload it to the AWS Cloud. However, I am facing certain challenges in that.




  1. Created a virtual machine in vmdk format.

  2. used ec2-bundle-image to crete the image bundle.

  3. used ec2-upload-bundle to upload the bundle.

  4. register the manifest file from aws console.

  5. lauching the instance.


After launching the instance, i am getting the following errors:



 Xen Minimal OS!
start_info: 0xb10000(VA)
nr_pages: 0x6a400
shared_inf: 0x00b9b000(MA)
pt_base: 0xb13000(VA)
nr_pt_frames: 0x9
mfn_list: 0x967000(VA)
mod_start: 0x0(VA)
mod_len: 0
flags: 0x0
cmd_line: root=/dev/sda1 ro 4
stack: 0x946780-0x966780
MM: Init
_text: 0x0(VA)
_etext: 0x61e65(VA)

_erodata: 0x76000(VA)
_edata: 0x7b6d4(VA)
stack start: 0x946780(VA)
_end: 0x966d34(VA)
start_pfn: b1f
max_pfn: 6a400
Mapping memory range 0xc00000 - 0x6a400000
setting 0x0-0x76000 readonly
skipped 0x1000
MM: Initialise page allocator for e6c000(e6c000)-0(6a400000)
MM: done
Demand map pfns at 6a401000-7a401000.
Heap resides at 7a402000-ba402000.
Initialising timer interface
Initialising console ... done.
gnttab_table mapped at 0x6a401000.
Initialising scheduler
Thread "Idle": pointer: 0x7a402008, stack: 0x6a030000
Initialising xenbus
Thread "xenstore": pointer: 0x7a402478, stack: 0x6a040000
Dummy main: start_info=0x966880

Thread "main": pointer: 0x7a4028e8, stack: 0x6a050000
"main" "root=/dev/sda1" "ro" "4"
vbd 2049 is hd0
******************* BLKFRONT for device/vbd/2049 **********


backend at /local/domain/0/backend/vbd/7502/2049
Failed to read /local/domain/0/backend/vbd/7502/2049/feature-barrier.
Failed to read /local/domain/0/backend/vbd/7502/2049/feature-flush-cache.
2503680 sectors of 0 bytes
**************************
vbd 2050 is hd1
******************* BLKFRONT for device/vbd/2050 **********


backend at /local/domain/0/backend/vbd/7502/2050
Failed to read /local/domain/0/backend/vbd/7502/2050/feature-barrier.
Failed to read /local/domain/0/backend/vbd/7502/2050/feature-flush-cache.
312705024 sectors of 0 bytes
**************************
vbd 2051 is hd2
******************* BLKFRONT for device/vbd/2051 **********


backend at /local/domain/0/backend/vbd/7502/2051
Failed to read /local/domain/0/backend/vbd/7502/2051/feature-barrier.
Failed to read /local/domain/0/backend/vbd/7502/2051/feature-flush-cache.
1835008 sectors of 0 bytes
**************************

[H
[J

GNU GRUB version 0.97 (1740800K lower / 0K upper memory)



[ Minimal BASH-like line editing is supported. For

the first word, TAB lists possible command

completions. Anywhere else TAB lists the possible

completions of a device/filename. ]




grubdom>
[9;10H









share|improve this question
















bumped to the homepage by Community 16 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.




















    1















    I have setup and environment for building the virtual machines in vmdk format and then use ec2 api tools to convert, bundle and upload it to the AWS Cloud. However, I am facing certain challenges in that.




    1. Created a virtual machine in vmdk format.

    2. used ec2-bundle-image to crete the image bundle.

    3. used ec2-upload-bundle to upload the bundle.

    4. register the manifest file from aws console.

    5. lauching the instance.


    After launching the instance, i am getting the following errors:



     Xen Minimal OS!
    start_info: 0xb10000(VA)
    nr_pages: 0x6a400
    shared_inf: 0x00b9b000(MA)
    pt_base: 0xb13000(VA)
    nr_pt_frames: 0x9
    mfn_list: 0x967000(VA)
    mod_start: 0x0(VA)
    mod_len: 0
    flags: 0x0
    cmd_line: root=/dev/sda1 ro 4
    stack: 0x946780-0x966780
    MM: Init
    _text: 0x0(VA)
    _etext: 0x61e65(VA)

    _erodata: 0x76000(VA)
    _edata: 0x7b6d4(VA)
    stack start: 0x946780(VA)
    _end: 0x966d34(VA)
    start_pfn: b1f
    max_pfn: 6a400
    Mapping memory range 0xc00000 - 0x6a400000
    setting 0x0-0x76000 readonly
    skipped 0x1000
    MM: Initialise page allocator for e6c000(e6c000)-0(6a400000)
    MM: done
    Demand map pfns at 6a401000-7a401000.
    Heap resides at 7a402000-ba402000.
    Initialising timer interface
    Initialising console ... done.
    gnttab_table mapped at 0x6a401000.
    Initialising scheduler
    Thread "Idle": pointer: 0x7a402008, stack: 0x6a030000
    Initialising xenbus
    Thread "xenstore": pointer: 0x7a402478, stack: 0x6a040000
    Dummy main: start_info=0x966880

    Thread "main": pointer: 0x7a4028e8, stack: 0x6a050000
    "main" "root=/dev/sda1" "ro" "4"
    vbd 2049 is hd0
    ******************* BLKFRONT for device/vbd/2049 **********


    backend at /local/domain/0/backend/vbd/7502/2049
    Failed to read /local/domain/0/backend/vbd/7502/2049/feature-barrier.
    Failed to read /local/domain/0/backend/vbd/7502/2049/feature-flush-cache.
    2503680 sectors of 0 bytes
    **************************
    vbd 2050 is hd1
    ******************* BLKFRONT for device/vbd/2050 **********


    backend at /local/domain/0/backend/vbd/7502/2050
    Failed to read /local/domain/0/backend/vbd/7502/2050/feature-barrier.
    Failed to read /local/domain/0/backend/vbd/7502/2050/feature-flush-cache.
    312705024 sectors of 0 bytes
    **************************
    vbd 2051 is hd2
    ******************* BLKFRONT for device/vbd/2051 **********


    backend at /local/domain/0/backend/vbd/7502/2051
    Failed to read /local/domain/0/backend/vbd/7502/2051/feature-barrier.
    Failed to read /local/domain/0/backend/vbd/7502/2051/feature-flush-cache.
    1835008 sectors of 0 bytes
    **************************

    [H
    [J

    GNU GRUB version 0.97 (1740800K lower / 0K upper memory)



    [ Minimal BASH-like line editing is supported. For

    the first word, TAB lists possible command

    completions. Anywhere else TAB lists the possible

    completions of a device/filename. ]




    grubdom>
    [9;10H









    share|improve this question
















    bumped to the homepage by Community 16 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.


















      1












      1








      1








      I have setup and environment for building the virtual machines in vmdk format and then use ec2 api tools to convert, bundle and upload it to the AWS Cloud. However, I am facing certain challenges in that.




      1. Created a virtual machine in vmdk format.

      2. used ec2-bundle-image to crete the image bundle.

      3. used ec2-upload-bundle to upload the bundle.

      4. register the manifest file from aws console.

      5. lauching the instance.


      After launching the instance, i am getting the following errors:



       Xen Minimal OS!
      start_info: 0xb10000(VA)
      nr_pages: 0x6a400
      shared_inf: 0x00b9b000(MA)
      pt_base: 0xb13000(VA)
      nr_pt_frames: 0x9
      mfn_list: 0x967000(VA)
      mod_start: 0x0(VA)
      mod_len: 0
      flags: 0x0
      cmd_line: root=/dev/sda1 ro 4
      stack: 0x946780-0x966780
      MM: Init
      _text: 0x0(VA)
      _etext: 0x61e65(VA)

      _erodata: 0x76000(VA)
      _edata: 0x7b6d4(VA)
      stack start: 0x946780(VA)
      _end: 0x966d34(VA)
      start_pfn: b1f
      max_pfn: 6a400
      Mapping memory range 0xc00000 - 0x6a400000
      setting 0x0-0x76000 readonly
      skipped 0x1000
      MM: Initialise page allocator for e6c000(e6c000)-0(6a400000)
      MM: done
      Demand map pfns at 6a401000-7a401000.
      Heap resides at 7a402000-ba402000.
      Initialising timer interface
      Initialising console ... done.
      gnttab_table mapped at 0x6a401000.
      Initialising scheduler
      Thread "Idle": pointer: 0x7a402008, stack: 0x6a030000
      Initialising xenbus
      Thread "xenstore": pointer: 0x7a402478, stack: 0x6a040000
      Dummy main: start_info=0x966880

      Thread "main": pointer: 0x7a4028e8, stack: 0x6a050000
      "main" "root=/dev/sda1" "ro" "4"
      vbd 2049 is hd0
      ******************* BLKFRONT for device/vbd/2049 **********


      backend at /local/domain/0/backend/vbd/7502/2049
      Failed to read /local/domain/0/backend/vbd/7502/2049/feature-barrier.
      Failed to read /local/domain/0/backend/vbd/7502/2049/feature-flush-cache.
      2503680 sectors of 0 bytes
      **************************
      vbd 2050 is hd1
      ******************* BLKFRONT for device/vbd/2050 **********


      backend at /local/domain/0/backend/vbd/7502/2050
      Failed to read /local/domain/0/backend/vbd/7502/2050/feature-barrier.
      Failed to read /local/domain/0/backend/vbd/7502/2050/feature-flush-cache.
      312705024 sectors of 0 bytes
      **************************
      vbd 2051 is hd2
      ******************* BLKFRONT for device/vbd/2051 **********


      backend at /local/domain/0/backend/vbd/7502/2051
      Failed to read /local/domain/0/backend/vbd/7502/2051/feature-barrier.
      Failed to read /local/domain/0/backend/vbd/7502/2051/feature-flush-cache.
      1835008 sectors of 0 bytes
      **************************

      [H
      [J

      GNU GRUB version 0.97 (1740800K lower / 0K upper memory)



      [ Minimal BASH-like line editing is supported. For

      the first word, TAB lists possible command

      completions. Anywhere else TAB lists the possible

      completions of a device/filename. ]




      grubdom>
      [9;10H









      share|improve this question
















      I have setup and environment for building the virtual machines in vmdk format and then use ec2 api tools to convert, bundle and upload it to the AWS Cloud. However, I am facing certain challenges in that.




      1. Created a virtual machine in vmdk format.

      2. used ec2-bundle-image to crete the image bundle.

      3. used ec2-upload-bundle to upload the bundle.

      4. register the manifest file from aws console.

      5. lauching the instance.


      After launching the instance, i am getting the following errors:



       Xen Minimal OS!
      start_info: 0xb10000(VA)
      nr_pages: 0x6a400
      shared_inf: 0x00b9b000(MA)
      pt_base: 0xb13000(VA)
      nr_pt_frames: 0x9
      mfn_list: 0x967000(VA)
      mod_start: 0x0(VA)
      mod_len: 0
      flags: 0x0
      cmd_line: root=/dev/sda1 ro 4
      stack: 0x946780-0x966780
      MM: Init
      _text: 0x0(VA)
      _etext: 0x61e65(VA)

      _erodata: 0x76000(VA)
      _edata: 0x7b6d4(VA)
      stack start: 0x946780(VA)
      _end: 0x966d34(VA)
      start_pfn: b1f
      max_pfn: 6a400
      Mapping memory range 0xc00000 - 0x6a400000
      setting 0x0-0x76000 readonly
      skipped 0x1000
      MM: Initialise page allocator for e6c000(e6c000)-0(6a400000)
      MM: done
      Demand map pfns at 6a401000-7a401000.
      Heap resides at 7a402000-ba402000.
      Initialising timer interface
      Initialising console ... done.
      gnttab_table mapped at 0x6a401000.
      Initialising scheduler
      Thread "Idle": pointer: 0x7a402008, stack: 0x6a030000
      Initialising xenbus
      Thread "xenstore": pointer: 0x7a402478, stack: 0x6a040000
      Dummy main: start_info=0x966880

      Thread "main": pointer: 0x7a4028e8, stack: 0x6a050000
      "main" "root=/dev/sda1" "ro" "4"
      vbd 2049 is hd0
      ******************* BLKFRONT for device/vbd/2049 **********


      backend at /local/domain/0/backend/vbd/7502/2049
      Failed to read /local/domain/0/backend/vbd/7502/2049/feature-barrier.
      Failed to read /local/domain/0/backend/vbd/7502/2049/feature-flush-cache.
      2503680 sectors of 0 bytes
      **************************
      vbd 2050 is hd1
      ******************* BLKFRONT for device/vbd/2050 **********


      backend at /local/domain/0/backend/vbd/7502/2050
      Failed to read /local/domain/0/backend/vbd/7502/2050/feature-barrier.
      Failed to read /local/domain/0/backend/vbd/7502/2050/feature-flush-cache.
      312705024 sectors of 0 bytes
      **************************
      vbd 2051 is hd2
      ******************* BLKFRONT for device/vbd/2051 **********


      backend at /local/domain/0/backend/vbd/7502/2051
      Failed to read /local/domain/0/backend/vbd/7502/2051/feature-barrier.
      Failed to read /local/domain/0/backend/vbd/7502/2051/feature-flush-cache.
      1835008 sectors of 0 bytes
      **************************

      [H
      [J

      GNU GRUB version 0.97 (1740800K lower / 0K upper memory)



      [ Minimal BASH-like line editing is supported. For

      the first word, TAB lists possible command

      completions. Anywhere else TAB lists the possible

      completions of a device/filename. ]




      grubdom>
      [9;10H






      amazon-web-services amazon-ami images conversion vmdk






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 1 at 8:01









      Tim

      17.8k41949




      17.8k41949










      asked Dec 17 '12 at 7:41









      Raju SinghRaju Singh

      62




      62





      bumped to the homepage by Community 16 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 16 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          1 Answer
          1






          active

          oldest

          votes


















          0














          Raju,
          If you have not done so already, I would refer to the AWS documentation for best practices regarding the VM Import/Export features:



          http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UsingVirtualMachinesinAmazonEC2.html
          You will need to use the ec2-import-instance and ec2-import-volume commands to push your VMDK instance and associated volume(s) to AWS.



          If you have the luxury of throwing together a quick VMware vCenter host, I recommend doing so - as AWS has a free plugin that can help with this process: http://aws.amazon.com/ec2/vcenter-portal/



          Hope that helps!






          share|improve this answer
























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "2"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f458617%2fconvert-vmdk-images-into-ami-images%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Raju,
            If you have not done so already, I would refer to the AWS documentation for best practices regarding the VM Import/Export features:



            http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UsingVirtualMachinesinAmazonEC2.html
            You will need to use the ec2-import-instance and ec2-import-volume commands to push your VMDK instance and associated volume(s) to AWS.



            If you have the luxury of throwing together a quick VMware vCenter host, I recommend doing so - as AWS has a free plugin that can help with this process: http://aws.amazon.com/ec2/vcenter-portal/



            Hope that helps!






            share|improve this answer




























              0














              Raju,
              If you have not done so already, I would refer to the AWS documentation for best practices regarding the VM Import/Export features:



              http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UsingVirtualMachinesinAmazonEC2.html
              You will need to use the ec2-import-instance and ec2-import-volume commands to push your VMDK instance and associated volume(s) to AWS.



              If you have the luxury of throwing together a quick VMware vCenter host, I recommend doing so - as AWS has a free plugin that can help with this process: http://aws.amazon.com/ec2/vcenter-portal/



              Hope that helps!






              share|improve this answer


























                0












                0








                0







                Raju,
                If you have not done so already, I would refer to the AWS documentation for best practices regarding the VM Import/Export features:



                http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UsingVirtualMachinesinAmazonEC2.html
                You will need to use the ec2-import-instance and ec2-import-volume commands to push your VMDK instance and associated volume(s) to AWS.



                If you have the luxury of throwing together a quick VMware vCenter host, I recommend doing so - as AWS has a free plugin that can help with this process: http://aws.amazon.com/ec2/vcenter-portal/



                Hope that helps!






                share|improve this answer













                Raju,
                If you have not done so already, I would refer to the AWS documentation for best practices regarding the VM Import/Export features:



                http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UsingVirtualMachinesinAmazonEC2.html
                You will need to use the ec2-import-instance and ec2-import-volume commands to push your VMDK instance and associated volume(s) to AWS.



                If you have the luxury of throwing together a quick VMware vCenter host, I recommend doing so - as AWS has a free plugin that can help with this process: http://aws.amazon.com/ec2/vcenter-portal/



                Hope that helps!







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Feb 3 '15 at 3:05









                DevMan14DevMan14

                465410




                465410






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Server Fault!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f458617%2fconvert-vmdk-images-into-ami-images%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    As a Security Precaution, the user account has been locked The Next CEO of Stack OverflowMS...

                    Список ссавців Італії Природоохоронні статуси | Список |...

                    Українські прізвища Зміст Історичні відомості |...