Tutorial by Marco Ebbinghaus in which he explains how he has implemented a zero downtime deployment (blue-green like) of a small web application which is running on a DigitalOcean Droplet.
The cool thing is, that this deployment is fully automated. After pushing a code change to the web application code a CI/CD-Pipeline will be executed.
The article main parts:
- Description of tech-stack
- Creation of the web application (Spring Boot)
- Adding web application in container
- Creation of the infrastructure (as code) via Terraform
- How to create the CI / CD pipeline
It also describes the way how to log into the docker registry. Also adding environment variables in the CI/CD-Settings in GitLab project. Detailed and exciting!
[Read More]