This repository has been archived by the owner on Sep 28, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Digital Ocean droplet
Brian Evans edited this page Dec 2, 2021
·
4 revisions
Digital Ocean offers a virtual machine hosting service called Droplets. Droplets are very low cost ($5/month), low performance VMs which can be used for hosting a website, webservice, database or running cron jobs.
Droplets can be started from scratch, where you get an empty machine, or from an app on the Digital Ocean Marketplace. The easiest way to get started quickly is to create a Droplet with Docker pre-installed.
It is a very easy process to setup a Droplet using Docker:
- Create the VM on digitalocean.com
- Add IP address to
./ssh/config
on local work station. - Connect to the VM via SSH with
ssh hostname
- Use SFPT to transfer a project's files to the image, or pull from Git.
- Run
docker-compose up
If you start with a Docker Droplet from the Marketplace, the firewall is preconfigured to only allow SSH (22), Docker (2375,2376) and HTTP (80). It is possible to open up port 443 using a command line tool.
The premium AMD droplets seem to have the best disk performance.