Skip to content

A self-hosted CI/CD pipeline on AWS that automatically builds, deploys, and serves GitHub repositories with preview links, similar to Vercel/Netlify. It uses Docker, ECS Fargate, S3, and Redis for real-time log streaming.

Notifications You must be signed in to change notification settings

ShivangSharma26/CloudPulse---AWS-Deployment-Service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CloudPulse - (AWS Deployement Service )

Whiteboard Diagram: https://app.eraser.io/workspace/0f8XnDF61iGcatypPqIR?origin=share

Prerequisite

  • Node.JS
  • Redis
  • Docker
  • AWS ECS and ECR: [Real World Docker Deployments with AWS]

Setup Guide

This Project contains following services and folders:

  • api-server: HTTP API Server for REST API's
  • build-server: Docker Image code which clones, builds and pushes the build to S3
  • s3-reverse-proxy: Reverse Proxy the subdomains and domains to s3 bucket static assets

Local Setup

  1. Run npm install in all the 3 services i.e. api-server, build-server and s3-reverse-proxy
  2. Docker build the build-server and push the image to AWS ECR.
  3. Setup the api-server by providing all the required config such as TASK ARN and CLUSTER arn.
  4. Run node index.js in api-server and s3-reverse-proxy

At this point following services would be up and running:

S.No Service PORT
1 api-server :9000
2 socket.io-server :9002
3 s3-reverse-proxy :8000

Demo

Watch The Demo Video

Architecture

Vercel Clone Architecture

About

A self-hosted CI/CD pipeline on AWS that automatically builds, deploys, and serves GitHub repositories with preview links, similar to Vercel/Netlify. It uses Docker, ECS Fargate, S3, and Redis for real-time log streaming.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published