This is Hobby Stacks' baseline project for provisioning the Infrastructure as Code using Terraform on DigitalOcean.
Our goal is to define a technology stack for hobby projects with minimal costs. We also want to offer real-world examples that go beyond basic tutorials that showcase technologies or features in overly simplified scenarios.
We decided to gear this tech stack towards commercial projects which meant opting for a private container registry and code repository.
Features | Tools | Alternatives | Costs |
---|---|---|---|
Hosting | DigitalOcean | Vultur | 5$ |
Container Registry (Private) | Azure Container Registry | GitLab Container Registry* | 5$ / Free |
Repositories (Private) | Azure DevOps | GitLab, GitHub | Free |
CI/CD Pipelines | Azure Pipelines | GitLab, GitHub Actions, Travis CI | Free |
Web Server (Reverse Proxy) | Nginx | Traefik | Free |
Web Performance & Security | Cloudflare | Free | |
SSL Certificates | Let's Encrypt + Certbot | Free | |
Multi-Container Tool | Docker Compose | Free | |
IDE | Visual Studio Community | Visual Studio Code | Free |
Front-end + UI | N/A | ||
APIs | N/A | ||
Database | N/A |
* GitLab Container Registry is only available for projects hosted on GitLab.
- Prerequisites
- Provisioning
In order to provision the infrastructure on DigitalOcean you will need:
- DigitalOcean Account:
- If you don't have one, create your free DigitalOcean account.
- API Token created for your account:
- If you don't have one, create an API Token for your DigitalOcean account.
- SSH Key uploaded to your account:
- If you don't have one, upload an SSH Key to your DigitalOcean account.
More details.
- Philippe Turcotte - Initial work
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE file for details.