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-2673 /
  • New idea
87 Vote

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).

  • Cody Krieger
  • Sep 11 2018
  • Future consideration
Developer API
  • Comments (19)
  • Votes (87)
  • Attach files
  • Moisey Uretsky commented
    11 Sep, 2018 07:29pm

    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

    ×

    Attachments Open full size

  • Ankur Sethi commented
    11 Sep, 2018 07:29pm

    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.

    ×

    Attachments Open full size

  • Moisey Uretsky commented
    11 Sep, 2018 07:29pm

    We're looking into it but definitely months away at this point.

    More likely to be puppet based if it does get rolled out.

    ×

    Attachments Open full size

  • Roland Moriz commented
    11 Sep, 2018 07:29pm

    You can use my knife plugin to create a droplet and bootstrap it with chef:
    https://github.com/rmoriz/knife-digital_ocean

    (one command with chef-server provisioning, using "knife-solo" it's two commands)

    ×

    Attachments Open full size

  • Kenn Ejima commented
    11 Sep, 2018 07:29pm

    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

    ×

    Attachments Open full size

  • Moisey Uretsky commented
    11 Sep, 2018 07:29pm

    Integration with Salt is also coming =]

    ×

    Attachments Open full size

  • Moisey Uretsky commented
    11 Sep, 2018 07:29pm

    Working on a few of those =]

    ×

    Attachments Open full size

  • Jonathan commented
    11 Sep, 2018 07:29pm

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

    ×

    Attachments Open full size

  • Moisey Uretsky commented
    11 Sep, 2018 07:29pm

    Hopefully 2-3 months which will overlap either with pre-built images or just stacks that are built atop of chef or puppet for easy roll-out.

    ×

    Attachments Open full size

  • Micheal Cottingham commented
    11 Sep, 2018 07:29pm

    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.

    ×

    Attachments Open full size

  • Moisey Uretsky commented
    11 Sep, 2018 07:29pm

    Fabric is cool but it's been a while since I've heard someone mention it, is it still being widely and actively used or has it been replaced more by puppet/chef?

    ×

    Attachments Open full size

  • James Seigel commented
    11 Sep, 2018 07:29pm

    To fill out the list, look up sprinkle.

    ×

    Attachments Open full size

  • Thomas Le commented
    11 Sep, 2018 07:29pm

    Why not have some sort of support to use the bitnami images they have available for free.

    ×

    Attachments Open full size

  • Tomás Gutiérrez commented
    11 Sep, 2018 07:29pm

    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.

    ×

    Attachments Open full size

  • Anonymous commented
    11 Sep, 2018 07:29pm

    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 ;)

    ×

    Attachments Open full size

  • Vincent Gijsen commented
    11 Sep, 2018 07:29pm

    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)

    ×

    Attachments Open full size

  • Kyle Eby commented
    11 Sep, 2018 07:29pm

    A LEMP stack with cpanel would be sweet!

    ×

    Attachments Open full size

  • Naushad Shaikh commented
    11 Sep, 2018 07:29pm

    Can we directly import from one of the amazing Bitnami images ?

    ×

    Attachments Open full size

  • Moisey Uretsky commented
    11 Sep, 2018 07:29pm

    We haven't opened up custom iso imports but we will look into importing bitnami images.

    ×

    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