~/alvian-gusmantara
ID | EN
← Featured Projects

CI/CD pipeline and monitoring

Migrating manual deploys to an automated Docker and GitHub Actions pipeline, with Prometheus & Grafana monitoring. Deploys went from 40 minutes to 6.

Tech stack

LinuxNginxDockerGitHub ActionsPrometheus & Grafana

Problem

Deploys were manual over SSH and took about 40 minutes. Steps differed between engineers, releases often broke, and the team only learned about outages when users reported them.

Solution

I packaged the application in Docker images, built a GitHub Actions pipeline for automated tests, builds, and deploys, and set up Prometheus and Grafana with alerts to the team channel.

Architecture

A push to the main branch triggers tests and an image build, followed by a rolling deploy with health checks and automatic rollback. Exporters feed server and application metrics to Prometheus, and Grafana provides dashboards and alerting.

Results

  • Deploy time dropped from 40 minutes to 6 minutes.
  • Mean time to recovery fell by 60% thanks to early alerts and one-command rollback.
  • Releases are now uniform and can be done by anyone on the team, at any time.
  • Incidents are caught by monitoring, not by user reports.