Deploying to Digital Ocean
Digital Ocean is a cloud service provider that offers competitive prices to host virtual machines. It makes deploying and serving Docker images very easy. In this section, we are going to deploy a droplet (Digital Ocean's terminology for a single machine) that runs our dockerized Vault service in the cloud.
Specifically, following are the steps to deploy Docker images to Digital Ocean:
- Create a droplet.
- Gain access to it via a web-based console.
- Pull our
USERNAME/vault
container. - Run the container.
- Access our hosted Vault service remotely via the
curl
command.
Digital Ocean is a Platform as a Service (PaaS) architecture, and as such, the user experience is likely to change from time to time, so the exact flow described here ...
Get Go: Design Patterns for Real-World Projects now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.