Digital Ocean
Last updated
Last updated
These instructions will help you register and buy a server in Digital Ocean to install Consul Democracy.
First you need to and provide your personal information.
Once you have logged in, you'll need to create a Droplet (this is the name Digital Ocean uses for a cloud server) following this and configure it with the following recommendations:
In the "Choose Region" section, to avoid latency in the service, select the region that is geographically closest to your users.
In this "Choose an Image" section, we recommend selecting Ubuntu with the latest version supported by the installer, which in this case would be 24.04.
In the "Choose Size" section, if the goal is to create a production server, we recommend choosing an option with at least 16GB of RAM. If you are setting up a testing system or a staging environment with just a few users, the cheapest option may be sufficient.
In the "Choose Authentication Method" section, select "SSH Key" and click the "New SSH Key" button to add your key.
In the pop up window that appears you need to copy and paste the public key that we . To see the content of this key in the terminal window type:
You should see a text like this:
Select all the text, paste it into the pop-up window in the "SSH Key content" field, add a meaningful name such as Consul_Democracy_key, and click the Add SSH Key button.
By using an SSH key instead of a user/password combination to access your server, it will be much more secure, as only someone with the private SSH key can access the server.
Now, in the "Finalize Details" section, change the default value of the Hostname field to something more meaningful, like consuldemocracyserver.
At the bottom of the page you’ll see a summary of your options. Check that everything is OK and click the big green "Create" button.
It will take a few minutes, and at the end you will have a shiny new server. It will look like this in the Digital Ocean page:
Next to setup Consul Democracy in the server check the .