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.
To follow along, you need a DigitalOcean account. If you don't have one, you can register on the sign up page.
From the Create menu in the top right of the control panel, click Droplets.
The Droplet create screen has a number of options after this, which you can customize now or after creation. To accept the defaults, scroll to the bottom and click Create. Otherwise:
Optionally, add block storage.
Choose a datacenter region.
Choose an SSH key, if you've added one. If you choose not to use SSH keys, your Droplet's password will be emailed to you after creation.
Enter a name and click Create.
From here, you can follow our detailed guide on connecting to Droplets with SSH, or follow the instructions below.
To connect by using a terminal on Linux, macOS, or Windows Subsystem for Linux:
Open your terminal, and enter the command
Substitute in your Droplet’s IP address after the
@. The username is
root on most distributions, but if you’re using CoreOS, Rancher, or FreeBSD, the username is
ENTER and answer
yes to the prompt that confirms the connection.
If you're not using SSH keys, enter your password when prompted.
Windows users can alternatively connect with PuTTY.
When you've logged in, your command prompt changes and you'll see a welcome screen.
Destroying a Droplet permanently and irreversibly destroys the Droplet, its contents, and its automated backups.
To save one or more of the Droplet's backup images, convert those backups into snapshots before destroying the Droplet.
From the control panel, click the Droplet's More menu and choose Destroy.
On the Droplet's Destroy page, under Destroy Droplet, click Destroy.
Confirm the destruction in the confirmation window that opens by clicking Confirm.