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

Re: Debian AMI Images *not only* for AWS (Was: Debian Images on Amazon Web Services)



Hi Thomas,

I don't know about porting the AMIs to Openstack. However I do know that the bootstrapping script is fairly quickly adjusted, all the AWS commands are located in tasks for themselves. This means, that one can easily replace them with OpenStack analogues.

The only slightly tricky part is the option parsing, which is located in the main script.

You will want to look at the following tasks (assuming you want to give it a try):
In all it is about 130 non-comment lines of code, so it's pretty fast to go through.


The url is https://github.com/andsens/ec2debian-build-ami/tree/master/tasks


Anders


On 7 November 2012 21:13, Anders Ingemann <anders@ingemann.de> wrote:
Hi Thomas,

I don't know about porting the AMIs to Openstack. However I do know that the bootstrapping script is fairly quickly adjusted, all the AWS commands are located in tasks for themselves. This means, that one can easily replace them with OpenStack analogues.

The only slightly tricky part is the option parsing, which is located in the main script.

You will want to look at the following tasks (assuming you want to give it a try):
  • 05-host-dependencies (downloads the AWS API tools)
  • 06-host-information (gets the location of the host instance to set the apt mirror)
  • 10-create-volume (creates the volume for the image)
  • 11-attach-volume
  • 73-detach-volume
  • 80-ebs-snapshot (creates a snapshot for the AMI)
  • 82-delete-volume
  • 95-register-AMI
In all it is about 130 non-comment lines of code, so it's pretty fast to go through.


The url is https://github.com/andsens/ec2debian-build-ami/tree/master/tasks


Anders



On 7 November 2012 17:50, Thomas Goirand <zigo@debian.org> wrote:
On 11/07/2012 10:02 PM, James Bromberger wrote:
>
> Hello Debian-Cloud people,
>
>
> (appologies if this ends up coming through twice)
>
> <TL;DR>
>
> Official AWS EC2 AMI images under-way; please test and give feedback:
> search AMIs for "379101102735/debian-squeeze". Stable only. SSH as
> "ec2-user". SSH keys only. UserData shell script support. Feedback wanted!
>
> </TL;DR>
>

Hi,

I'm not an AWS user (I have no account there, and probably
never will), but I am interested in having a way to get these
AMI images. Openstack also supports them (I'm working on
Openstack packaging with the other members of the team),
It would be really nice to have official Debian AMI images
available through the mirrors of Debian, somehow. Also,
building these official Debian AMI images using a script,
available in Debian itself, would even be better, so that
anyone could tweak it. Probably, you already thought of
that no?

Thoughts?

Thanks for working on this, really!

Cheers,

Thomas


--
To UNSUBSCRIBE, email to debian-cloud-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: [🔎] 509A9139.2030207@debian.org" target="_blank">http://lists.debian.org/[🔎] 509A9139.2030207@debian.org




Reply to: