Check-in 11: Cloud server
For this check-in, I’d like you to allocate a virtual Linux server from a cloud provider. I’m going to recommend DigitalOcean, although you could go with another provider if you wish. Their services start at just $5/month, for which you’ll need a credit card.
(The course will be over in a month, but you’ll have to remember to destroy the server to stop being charged monthly. If signing up with a credit card is problematic for anyone, just contact me privately and I’ll arrange to pay the fee for you.)
Here are the rough instructions:
- Create an account at https://www.digitalocean.com/. You don’t have to use your LIU email.
- In your account security settings, add one or more SSH public
keys. This is essentially the same thing you did for GitLab, so
you can add the same key that’s stored in your local VM. Run this:
and then copy the entire text that pops up in Atom into the “SSH key content” on DigitalOcean (it should begin with
- Next, use the green Create button to create a droplet (their term for a cloud server).
- There will be a number of options to choose. The most important is the Operating System. I strongly recommend Ubuntu. The version that’s selected by default will be the latest LTS (Long Term Support) release, which isn’t a bad idea. But you can select something a bit more recent if you prefer.
- Stick with the Starter plan, but for the machine configurations, scroll the carousel to the left to find the cheaper options. The $5/month configuration will do just fine.
- You don’t need backups (for now), or block storage. The data center can be anywhere in the world that you prefer.
- The only other setting that’s important is “Add your SSH keys.” You should check the box next to the key(s) you uploaded previously. This will allow you to log in.
- Finalize with the big green Create button at the bottom. You should see a scroll bar as the machine is being allocated. When finished, it will pop up with an IP address.
- Send me the IP address by email.
- Also, try logging in from your local VM’s terminal (or wherever
you got your public key):
(Substitute your droplet’s IP address in place of