GCP • Automation • DevOps

Serverless Portfolio CI/CD Pipeline

Automated deployment pipeline for a containerized portfolio application using GitHub Actions, Terraform, and Google Cloud Run for seamless, continuous delivery.

Challenge

Designing and deploying a portfolio application using a real-world DevOps workflow instead of traditional static hosting, while ensuring automated deployments, consistency across environments, and a scalable cloud-based architecture.

Solution

This project implements a complete CI/CD pipeline for a containerized web application. Each code commit triggers an automated workflow that builds a Docker image, securely stores it in Artifact Registry, and deploys it to Cloud Run. Infrastructure is provisioned separately using Terraform, ensuring a consistent and reproducible environment, while GitHub Actions handles continuous application delivery.

Key Components:


Infrastructure Provisioning (Terraform)


Architecture overview

Architecture overview
Step 01

Code is developed locally in VS Code and pushed to a GitHub repository.

Step 02

GitHub Actions triggers a workflow on each commit.

Step 03

The workflow builds a Docker image of the application.

Step 04

The image is pushed to Artifact Registry.

Step 05

Cloud Run pulls the latest image and deploys a new revision.

Step 06

The application is served to users via a public URL.

Tools

Cloud Run Artifact Registry Github Actions Github Docker Nginx Terraform
← Home