- In the Digital Ocean portal, go to the project view.
- Click New Droplet.
- Click Create Droplet.
- Click the Marketplace tab.
- Click Docker.
- Choose a plan. Make sure your Droplet has the minimum hardware requirements for Docker.
- Choose any options for backups, block storage, and datacenter region.
- Optional: In the Select additional options section, you can check the User data box and enter a
cloud-config
file in the text box that appears. Thecloud-config
file is used to provide a script to be run on the first boot. An example is below. - Choose an SSH key that you have access to, or generate a new SSH key.
- Choose your project.
- Click Create.
Below is an example cloud-config
file that you can use to initialize the Droplet with user data
, such as deploying Waypoint:
If you don't have an Digital Ocean account, click here to create an account you will get $100 for you to spend on your first server.