[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: building aws images with bootstrap-vz (ebs)



On 27 January 2015 at 22:15, Tomasz Rybak <tomasz.rybak@post.pl> wrote:
Dnia 2015-01-27, wto o godzinie 18:49 -0200, Jonh Wendell pisze:
> Hi folks.
>
>
> I'm using ec2 provider of the amazing bootstrap-vz tool to build an
> ebs-based ec2 image, but it stops at GetInstanceMetadata task.
>
>
> Is the build process supposed to run itself inside an aws instance?
>
>
Yes, you need to build AWS images inside AWS.
GetInstanceMetadata gets information about region, etc.
from inside of instance it's running on.

>
> I'm building it on my own local machine in the hope it will be
> uploaded and transformed into an AMI, just like if I were using s3.
>
Image you build will be transformed into AMI, but from
inside region.
>
Hope that helps.
>

--
Tomasz Rybak  GPG/PGP key ID: 2AD5 9860
Fingerprint A481 824E 7DD3 9C0E C40A  488E C654 FB33 2AD5 9860
http://member.acm.org/~tomaszrybak


You can't connect an EBS volume to your local machine :-)
If it were S3 you could bootstrap it locally, since this only requires a loopback volume.
EBS backed instances are created from EBS snapshots.

You're not the first one with this problem though, I created an issue to change the code so it gives a better error message.

Anders


Reply to: