Prerequisites

This guide assumes you are familiar with DigitalOcean, the command line and the software that will be installed.

Create the Deployment Server

On DigitalOcean, create a new droplet with the following specs:

  • Ubuntu 18.04.3 (LTS) x64

  • 1GB RAM, 25GB HDD, $5/month

Make sure you add the SSH key from your local machine when creating the droplet. You can print out your SSH key by using the following command:

cat ~/.ssh/id_rsa.pub

Connect to the Server

You should be able to connect to the server via SSH using the following command on your local machine:

ssh root@<IP_ADDRESS>

The first time you connect, you will be prompted to add the server to your list of known hosts. This can be removed later using the following command on your local machine:

ssh-keygen -R <HOSTNAME>

You can disconnect from the deployment server by typing exit.