How to Create a Droplet with DigitalOcean

Digital Ocean is one of the best cloud services I have tried, not just because of the cheap costs, but also because it is super easy and fast to configure, and the community has a lot of updated documentation to fix most of the common issues related to the server configuration.

Signing up to Digital Ocean

Step 1 : If you don’t have a Digital Ocean account, you can sign up at https://cloud.digitalocean.com/registrations/new.

You can sign up with your Google account, or by registering manually. Once you register with Google, you will see the billing info view, as follows:

Step 2 : You can pay with your credit card or by using PayPal. Once you configured your payment information, Digital Ocean will ask you for some information about your project so that it can configure your Droplet faster:

Creating our first Droplet (VMs)

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.

We will create a new Droplet from scratch; follow these steps to do so:

Step 4 : Select the New Droplet option, as shown in the following screenshot:

Step 5 : Choose Ubuntu 18.04.3 (LTS) x64, as follows:

Step 6 : Then, choose the Standard plan, as shown here:

Step 7 : Select a region. we will select the San Francisco region:

Step 8 : Add the name of your Droplet and then click on the Create button, as follows:

Step 9 : It will take around 30 seconds to create your Droplet. Once it has been created, you will be able to see it:

Following its creation, you should get an email with your Droplet credentials:

Step 10 : Now, in your Terminal, you can access to the droplet by using the following command:

ssh root@THE_DROPLET_IP

Step 11 : The first time you log in, you will get a message to add this IP to your known hosts. Then, you will be asked for your Droplet password (the one you got in your email), and then you need to define a new password:

Turning off our droplet

To turn off the droplet, follow these steps:

If you want to turn off your droplet, you can go to the Power section, or you can use the ON/OFF switch:

Digital Ocean will charge you only when your droplet is ON. If you click on the ON switch to turn it off, then you will get the following message:

Add Comment