2025 Spring CS686 DevOps - Final Project
Final Project Overview
-make MSA service
-use EKS
-Automate
-deploy blue-green strategy
-deployment flow : Nightly Build -> QA -> UAT -> Prod
Steps
1. Make MSA codes
Dismantled existing code into three services - backend1, backend2, and frontend
2. By Git Action test and deploy
Made GitAction Workflow('Nightly-Build') to start temporary EC2 and test(smoke-test) the code. Used dockers to run three different services and tested if it works.
3. Deploy to QA Server
Using GitAction, deployed it on QA server(single EC2 server). Now we can see it at IP address of EC2 instance.
4. Make EKS Cluster and Deploy Blue Service of UAT
Make VPC and EKS Cluster.
Make Node Group. Need to use good enough instance.
Using Git Action and yaml file from Infra repo, apply configuration to running pods on EKS.
Now your microservice is deployed on EKS and you can access it through url.
5. Switch it to Green Service of UAT
Deployment of Green will fetch new docker image and Service will serve it.
By changing selector, you can change Blue to Green.
6. Make Prod Server
Do the same thing as UAT Server, but add url through DNS(Route53) this time.
Tech Stack Used
React.js, SpringBoot, Docker, Nginx
Git Action, Github
AWS RDS, ECR, EC2, EKS, CloudFormation, Route53
ArgoCD
Comments
Post a Comment