Report this

What is the reason for this report?

How can we create our desired config of Droplets instead of pre-defined config?

Posted on January 22, 2018

I would like to create our own desired config of droplets, Is it possible to do or what.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

There are a few ways that you can create Droplet’s pre-configured with the software and applications you want. The first would be to use a “cloud-config” script to pre-install and configure what you need on first boot. The scripts can be entered when you create the Droplet:

DigitalOcean Control Panel

This allows you to write reusable scripts that will get you up and running quickly. Check out this GitHub repo for a number of examples: https://github.com/digitalocean/do_user_scripts

Another option for creating a pre-configured Droplets is to take a snaphot of one that you’ve already set up. You can then use that as the base for any new Droplets that you create. For more general info on snapshots, see this tutorial: DigitalOcean Backups and Snapshots Explained.

You can also automate the process with tools like Packer, which help you build reusable Droplet Snapshots. See: How To Create DigitalOcean Snapshots Using Packer on Ubuntu 16.04

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.