Want live help from a dedicated Tech Agent?

Step 1: Creating a droplet in Digital Ocean

Ashwin 3 years ago - Created

This guide will walk you through how to set up a droplet in Digital Ocean where you will host your backend and web source code.

1. Login to DigitalOcean Cloud

After you log into the DigitalOcean Control Panel with your email address and password for the first time, there are two ways to create a Droplet. You can either: 

  • Click the large, blue Create Droplet button. This button is only visible when you do not have any Droplets.
  • Click the green Create button at the top right and choose Droplets.

2. Choose an image

The first configuration section is titled Choose an image. At the time of this writing, the 64-bit Ubuntu 16.04 image is selected by default. We'll keep the default Ubuntu image.

3. Choosing a size 

The next configuration section allows you to choose the size of your Droplet, i.e. the amount of RAM and storage space it has. For our source code, we can start with $20/mo plan.

You can skip the Add block storage section for now.

4: Choose a data center region

Next, you're given a choice of data center regions.

For the best performance, choose the data center nearest to you and your users. More distant server locations may increase the server's latency without providing any practical benefits.

You can skip the Select additional options section for now.

5. Select SSH keys

The SSH keys are a key pair made between your computer and the server that allows the server to connect if it sees the matching key on the machine from which you are logging in. While a password can eventually be cracked with a brute force attack, SSH keys are nearly impossible to decipher by brute force alone. SSH keys provide more security than using a password. You have the option to use them in the Add your SSH keys section.

If you already have an SSH key then, 

Click the New SSH key button.

Copy your public key and paste it in the SSH key content box and give it a name.

Once you upload the key, check the box by the key name to add it to your droplet.

If you don't have an SSH key

You need to create an SSH key from your computer which you will upload it to the server to secure it. If you are using Mac OS X or Linux visit How to create an SSH key from a Linux machine. If you are using a windows OS visit How to create an SSH key from a Windows machine. Create an SSH key and then continue with step 5.

6. Finalising and creating

The "Finalize and Create" section of the Create page allows you to choose the number and name(s) of the Droplets you're creating.
By default 1 droplet will be selected. For our installation, we need 4 droplets. 

  • 1 droplet for hosting the exchange
  • 1 droplet for hosting Bitcoin and Litecoin blockchain
  • 1 droplet for hosting Bitcoin cash blockchain
  • 1 droplet for hosting Ethereum blockchain

Give each droplet a corresponding name and press Create.

7. Creating the Droplet

Once you have selected your options and click Create, a progress bar displays how close your Droplet is to being ready.
When the setup is 100% complete, the IP address of your Droplet will be displayed.

If you are using AWS you have to open following ports.
Ports: 22, 80, 443, 3306, 18523, 16321, 18232, 18222, 8545, 8546, 8080, 30303

Servers required for running your exchange have been created successfully. Now we can proceed to Step 2: How to add and point domain to IP address.

Was this article helpful?

68 out of 68 found this helpful

Articles in this section