DigitalOcean Droplets are Linux-based virtual machines (VMs) that run on top of virtualized hardware. Each Droplet you create is a new server you can use, either standalone or as part of a larger, cloud-based infrastructure.
The Droplet create page is where you choose your Droplet’s configuration, like its operating system, how much memory it has, and which features (like backups or monitoring) to enable. The most popular defaults are pre-selected, so you can scroll to the bottom of the page and create a Droplet immediately, or you can customize any of the options in each section.
To access the DigitalOcean Control Panel and create a Droplet, you need a DigitalOcean account. You can create one from the DigitalOcean new account registration page if you don’t already have one.
After you log in to the control panel, click the green Create button in the top right to open the create menu.
In the create menu, click Droplets to open the Droplet create page. If you don’t have any Droplets, the Resources tab displays a large, blue Get Started with a Droplet button, which takes you to the same Droplet create page.
In the Choose Region section, select the region where you want to create your Droplet.
A good default is selected for you, but for the best performance and minimal latency, choose the datacenter nearest to you and your users. You can also make a decision based on which products and features are available in which regions.
The create page greys out datacenters that are incompatible with your selected configuration and adds a tooltip with an explanation. For example, if you add a block storage volume to your configuration, you cannot create your Droplet in a datacenter that doesn’t support volumes.
This section also lists the default VPC network for the Droplet. The VPC network enables an additional networking interface that can only be accessed by other Droplets within the same datacenter. This keeps traffic between Droplets and other applicable resources from being routed outside the datacenter over the public internet.
In the Choose an image section, you choose the image to use for your Droplet:
Initially, you can choose from four categories of images:
OS includes basic Unix-like images with no additional software (like Ubuntu, Fedora, and Debian).
Marketplace images include pre-configured applications, like Docker, WordPress, or LAMP, to help simplify getting started.
Some Marketplace images, like WordPress, let you add a managed database cluster during creation. Connection credentials for the database cluster are available in the control panel, in a file on the Droplet (/root/.digitalocean_dbaas_credentials
, and MongoDB certificates at /root/dbaas_ca_cert.crt
), and are exported as environment variables on the Droplet from /etc/environment
.
Custom images are Unix-like images that you create and upload to your DigitalOcean team.
Once you start using Droplets, you can make backups and take snapshots of them. On the Droplet creation page, tabs for Backups and Snapshots list the backups and snapshots you’ve taken, if any. You can choose those images as the foundation to create new Droplets.
Snapshots are on-demand Droplet and volume images. They’re useful to manually back up or reproducibly create Droplets.
Backups are automatic system-level backups taken weekly or daily. You can use backups to rebuild an existing Droplet. We retain weekly backups for four weeks, and daily backups for seven days.
In the Choose Size section, you choose the amount of RAM, storage space, and CPU cores for your Droplet.
There are five types of plans:
Basic Droplets, a flexible option best for most use cases, like website hosting, staging environments and low intensity compute needs.
General Purpose Performance Droplets, a robust option suitable for a wide variety of mainstream, production applications that require a higher ratio of memory to CPU.
CPU-Optimized Performance Droplets, best for CPU intensive tasks and projects that require predictable performance or rely on CPU more than RAM or I/O, like batch processing large data sets, large builds, and video encoding. You can also choose between Regular and Premium Intel CPUs. Premium CPU plans come with some of our most modern Intel CPUs, NVMe SSDs, and higher network throughput speeds.
Memory-Optimized Performance Droplets, best for resource-intensive business applications, like high-performance SQL or NoSQL databases, large in-memory caches and indexes, real-time big data processing, and applications with large JVM requirements.
Storage-Optimized, best for large NoSQL databases (like MongoDB and Elasticsearch), time series databases, and other data warehouses.
For each plan, you can choose Regular and Premium CPUs. Premium CPU plans come with some of our most modern Intel or AMD CPUs and NVMe SSDs, as well as higher bandwidth throughput.
See How To Choose a Droplet Plan for an in-depth guide to choosing a Droplet plan.
In the Additional Storage section, you can create and attach additional DigitalOcean Volumes Block Storage volumes to your Droplet. When you click Add Volume, you can specify the details of the volume you want to create:
Volumes are independent resources that can be moved from one Droplet to another within the same datacenter. Attached volumes function like locally connected storage drives, meaning you can manage your storage with familiar tools and techniques.
You can turn on automatic backups for the Droplet. This adds a cost to the Droplet’s price depending on the frequency of the backups.
In the recommended options section, check Enable automated backups.
Here, you can select Weekly Backups or Daily Backups.
The backup window is a 4-hour window of time during which the Droplet automatically initiates a new backup. In the Backup Window section, use the dropdown menus to customize your Droplet’s backup window by choosing a time of day and, for weekly backups, a day of the week.
If you’re using the API to create a Droplet, you can enable backups by adding "backups": true
to the request body.
In the Choose Authentication Method section, you choose the method you want to use to log in to your Droplet. There are two options:
SSH key, which provide more security than a password.
Password, which allows you to create your own password for the new Droplet. If you choose to use SSH keys, you need to select at least one key to add to the Droplet. Any keys you’ve already uploaded to your DigitalOcean team are listed.
Check the boxes next to the existing keys you want to add to the Droplet, or check Select all to add every key on your team. You can also click New SSH Key to upload a new key to your team from the create page.
Once you create and upload an SSH key to your DigitalOcean team, it remains available for you to add to any new Droplets you provision in the future.
In the We recommend these options section, you can enable several optional services that add functionality to your Droplet.
Most features available in this section are free, meaning that enabling them does not increase the Droplet’s monthly cost:
There are additional options available by expanding +Advanced Options:
IPv6 (free) enables IPv6 access for your Droplet.
User data (free) is arbitrary data, most often a cloud-config file or a Bash script, that you can supply to a Droplet during creation. Droplets running distributions with cloud-init
can consume and execute user data, which is a common way to initially configure the Droplet on first boot.
In the Finalize Details section, you specify the quantity, name, tags, and project for the Droplet you’re creating.
There are four subsections for these options:
Quantity, where you choose the quantity of Droplets you’re creating with the specified configuration. Adjust the number by clicking the plus, +, or minus, -, buttons.
Hostname, where you give each Droplet a name which is used in the control panel and as the server’s hostname. Default names are provided based on the options you selected, but you can modify them to suit your needs.
droplet1.example.com
) as the Droplet’s name automatically generates PTR records for your Droplet based on that name. This also applies if you rename a Droplet after creation.Tags, where you can add tags to organize and relate Droplets.
Project, where you can assign the Droplet to a project.
Once you have selected your options, click Create Droplet. A progress bar displays how close your Droplet is to being ready.
You can also click Create via command line to get a command that you can copy and paste onto the command line to create Droplets with the configuration you selected. You can choose from two libraries: cURL
and doctl
, the offiical DigitalOcean command line utility.
Once the Droplet is fully set up, the control panel displays its IP address.
Once you see the IP address, you can log in to your Droplet.
To go to a Droplet’s detail page where you can make changes, click its name or go straight to the task you want using the More menu. You can also get a quick view of the Droplet’s details by clicking the icon by the Droplet’s name.
You can also create Droplets using the DigitalOcean API or the DigitalOcean’s official CLI, doctl
.
When creating a Droplet via CLI, you need to provide values for the --region
, --size
, and --image
flags, which specify the desired datacenter, machine size, and operating system for your new Droplet. Use doctl compute region list
, doctl compute size list
, and doctl compute image list-distribution
, respectively, to get a list of available values.
When creating a Droplet via API you need to provide values for region
, size
, and image
, which specify the desired datacenter, machine size, and operating system for your new Droplet. Use /v2/regions
, /v2/sizes
, and /v2/images
, respectively, to get a list of available values.