Creation and configuration of new droplets

Posted August 7, 2016 2.1k views

I want to be able to automatically create new droplets using custom configurations without the need to configure the server myself, for example:

I want a server with:

  • Nginx installed with some default config files.
  • Postgresql installed with the initial installation by default.
  • 1gb of swap memory
  • Etc…

I’m not really sure if there is some software that already do this for me, I know I can write some scripts to do everything for me, but. maybe there is something that already do that.

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.

Submit an Answer
1 answer


There are a few different ways to do that—I’ll list the most common ones. You can:

  1. spin up a new Droplet, install, for example, Nginx on it, and apply the default config files that you prefer, and take a snapshot of it. Then, whenever you want to spin up a new web server Droplet, you can just choose the said snapshot and quickly get up and running.
  2. use a configuration management software to automate deploying and configuring new servers. Take a look at the following tutorial series:
  3. use User Data to run a script of your own when the Droplet first boots that installs and sets everything up the way you like it.
by Erika Heidi
As a broader subject, configuration management (CM) refers to the process of systematically handling changes to a system in a way that allows the system to maintain integrity over time. In this tutorial, we will discuss how configuration management works for servers, and what to consider when choosing a tool for building your configuration management infrastructure.