DigitalOcean home
  • Droplets
  • Spaces
  • Kubernetes
  • Tools & Integrations
  • One-click Apps
  • API Documentation
  • Community
  • Tutorials
  • Q&A
  • Projects
  • Meetups
  • Customers
  • Pricing
  • Docs
  • Support
  • DigitalOcean home
  • Products
    • Droplets

      Scalable compute services.

    • Spaces

      Simple object storage.

    • Kubernetes

      Run managed Kubernetes clusters.

    • Tools & Integrations

      Automate your infrastructure.

    • One-click Apps

      Deploy pre-built applications.

    • API Documentation
  • Customers
  • Community
    • Community Overview

      Connect, share and learn

    • Tutorials

      DevOps and development guides

    • Questions & Answers

      Development and systems Q&A

    • Projects

      Community-built integrations

    Get Involved
    Write for DOnations
    Join us at a Meetup
    Featured Post
    An Introduction to Kubernetes

    by Justin Ellingwood

  • Pricing
  • Docs
  • Support
    • Documentation

    • Contact Support

    • Network Status

  • Home /
  • DO-I-2499 /
  • New idea
45 Vote

support cloudinit/instance metadata

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.

  • Kapil Thangavelu
  • Sep 11 2018
  • Shipped
DigitalOcean General
  • Sep 11, 2018

    Admin response

    I'm excited to share that we've just announced the launch of our new metadata service which allows users to provide arbitrary user-data. In addition to that, cloudinit is now available on our Ubuntu 14.04 and CentOS 7 images. This allow scripts and cloud-config files to be run on first boot. For all the information, you can check out the blog post announcing the feature: https://www.digitalocean.com/company/blog/easily-automate-the-provisioning-of-your-droplets/ And this tutorial: https://www.digitalocean.com/community/tutorials/an-introduction-to-droplet-metadata This opens up a lot of new possibilities for users to customize their droplets and build out their infrastructure. We hope you find it useful.
  • Comments (8)
  • Votes (45)
  • Attach files
  • James Dumay commented
    11 Sep, 2018 06:59pm

    Would be great to see this implemented... it makes it very difficult for us to consider digital ocean without it :(

    ×

    Attachments Open full size

  • Bob Blanchett commented
    11 Sep, 2018 06:59pm

    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

  • Anonymous commented
    11 Sep, 2018 06:59pm

    Better if accessible from the API

    ×

    Attachments Open full size

  • Kapil Thangavelu commented
    11 Sep, 2018 06:59pm

    Hi Moisey thanks for the update and glad to see it.

    ×

    Attachments Open full size

  • Anonymous commented
    11 Sep, 2018 06:59pm

    Nice work Moisey, this would go a long way to build on top of DO's service.

    ×

    Attachments Open full size

  • Bob Blanchett commented
    11 Sep, 2018 06:59pm

    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

  • Omri Bahumi commented
    11 Sep, 2018 06:59pm

    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

  • Timothee Besset commented
    11 Sep, 2018 06:59pm

    very nice

    ×

    Attachments Open full size

Log in / Sign up

Identify yourself with your email address

Subscribe

You won't be notified about changes to this idea.

Related ideas

DigitalOcean home

© 2018 DigitalOcean, LLC. All rights reserved.
Proudly made in NY

  • Twitter
  • Facebook
  • Instagram
  • YouTube
  • LinkedIn
  • Glassdoor
Company
About
Leadership
Blog
Careers
Partner Network
Referral Program
Events
Press
Legal & Security
Products
Droplets
Spaces
Kubernetes
Tools & Integrations
One-click Apps
API
Pricing
Documentation
Release Notes
Community
Tutorials
Meetups
Q&A
Write for DOnations
Droplets for Demos
Hatch
Shop Swag
Research Program
Currents Research
Open Source
Support
Contact Support
FAQ
Network Status