I suggest you ...

Allow Droplets to be automatically bootstrapped with Chef

It would be *sick* if it were possible to have systems be automatically bootstrapped with Chef upon creation. e.g. Users could set up recipes and roles in the DO control panel somehow, and then pick a role to automatically create a Droplet from.

Additionally, users could share their Chef stuff with each other, which would allow everyone to benefit from the magical auto-provisioning. And, it's more transparent than allowing users to share pre-built images, since anyone can inspect the code for the Chef recipes before using them to provision a Droplet.

Or, even better than managing Chef stuff through the DO control panel, it would be great if I could just give a URL to a GitHub repo containing the recipes/roles, and then the Droplet would automatically pull down this repo and bootstrap itself with the desired role(s).

129 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Cody KriegerCody Krieger shared this idea  ·   ·  Admin →

    14 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • Vincent GijsenVincent Gijsen commented  · 

        The way we use Chef, is from our command line, not a web-gui.

        We've created a simple script which starts a new node using the Digital-ocean API, and uppon node creation, we query the new node's ip-adress, issue the appropriate knife command to bootstrap it, and voila.

        no mouse clicking involved there.

        imho spending time to make this work using a gui, isn't very useful, as most users of chef will typically deploy there own scripts (or variants)

      • AnonymousAnonymous commented  · 

        Chef is preferable for myself. Currently using AWS opswork for deploying chef based stacks, would be nice to port some of that stuff to DigitalOcean ;)

      • Tomás GutiérrezTomás Gutiérrez commented  · 

        Hi all - the beauty of these services is that you can make them agnostic to the API. A friend just told me about DO, and I found this:

        https://github.com/rmoriz/knife-digital_ocean

        Similarly to AWS/RS, you can use knife to bootstrap a droplet and fulfill your DevOps happy bucket.

        Hit me up @togume if you have any questions.

        Have fun, and looking forward to playing with DO.

      • James SeigelJames Seigel commented  · 

        To fill out the list, look up sprinkle.

      • Micheal CottinghamMicheal Cottingham commented  · 

        If you guys have an infrastructure for Salt (sweet!) or Chef or Puppet so I don't have to build it out, I'd happily pay an extra nominal fee to use it. I started with Fabric because I really don't want to have a master/slave setup with a Puppet or Chef or Salt exposed that can get popped. That's a perfect pivot in to the rest of my architecture ... For now, I'm learning Fabric as it is not a pub/sub but a push arch.

      • JonathanJonathan commented  · 

        Hi Moisey, any idea on an ETA for this? (weeks, months, etc)

      • Kenn EjimaKenn Ejima commented  · 

        IMO chef (or puppet) is way too complicated for average VPS users.

        Thus I built Sunzi, which is a super lightweight alternative - it even has official Linode support to setup / teardown VMs from CLI. I'm going to add DigitalOcean support when the API is fully implemented.

        https://github.com/kenn/sunzi

      • Ankur SethiAnkur Sethi commented  · 

        If a user is into this, they can create their own image and boot from it. Installing software on base images means they would have to be separate Chef templates.

      • Moisey UretskyAdminMoisey Uretsky (Head of Product, Digital Ocean) commented  · 

        We currently do not have this in the pipeline but we do know of a couple of startups that are operating in this space.

        Basically managed Chef/Puppet where you can spin up servers and they will get auto-signed and have that deployed.

        So this may be something that comes together a bit later when we've cleared through a bit more of the infrastructure backlog

      Feedback and Knowledge Base