Its very nice when launching a server to be able to customize it via the api at launch time. Various other cloud/hosting providers (aws, openstack, google, joyent, rackspc, etc) support the notion of passing in instance metadata when launching an instance via the api. On ubuntu this data typically gets interpreted via the cloud-init package which can perform all manner of useful customizations (ppas, ssh keys, package installs, chef/puppet/salt setup, etc). https://help.ubuntu.com/community/CloudInit. The two missing pieces are support in the api for instance metadata at launch, and installing the cloudinit package into the base image.
Would be great to see this implemented... it makes it very difficult for us to consider digital ocean without it :(
Attachments Open full size
Openstack, azure, aws, onapp, hp, IBM are all moving to build the cloudinit model into their public, private and hybrid cloud offering.
Scott Moser of canonical who develops cloudinit is adding a third metadata suite vendor-data to add to user-data and meta-data and the data sources are spiralling: http://cloudinit.readthedocs.org/en/latest/topics/datasources.html
There is some configuration that only very early boothooks will solve.
Attachments Open full size
Better if accessible from the API
Attachments Open full size
Hi Moisey thanks for the update and glad to see it.
Attachments Open full size
Nice work Moisey, this would go a long way to build on top of DO's service.
Attachments Open full size
Fabbotastic Moisey.
Metadata service with cloudinit support really will make a difference.
Strongly suggest you work with Scott Moser to get DO user/meta/vendor DS Into the cloudinit package as other vendors have done.
please DON'T reinvent the wheel here, it'll make migration off other services *to* DO easier if you support standard tooling, formats and interfaces.
Attachments Open full size
I don't know if you're using libvirt, but in case you do, I have a github project for hosting a an EC2 like metadata service:
https://github.com/omribahumi/libvirt_metadata_api
Attachments Open full size
very nice
Attachments Open full size