Skip to main content

Command Palette

Search for a command to run...

Deploy Zomato Application

Updated
2 min read
M
DevOps Engineer with 4 years of experience and skilled in infrastructure automation, containerization, and cloud provisioning with a strong focus on reducing manual effort and improving deployment efficiency. Proven ability to lead teams, mentor engineers, engage with stakeholders, and deliver scalable DevOps solutions across development and production environments.

git hub repo - https://github.com/meghraj8788/DevOps-Project-Zomato.git

all steps mentioned in file- DevOps Project - Zomato - Kastro.txt

**Step 1 - Deploy Application using jenkins on docker later we will deploy it on EKS
**
configure Sonarqube with Jenkins
run container of sonarqube from image - $docker run -d --name sonar -p 9000:9000 sonarqube:lts-community

configuration webhook on sonarqube

once sonarqube configured we can run jenkins file it will fetch code from git build image uplode it to AWS ECR and pull and deploy on container using 3000 port check jenkins pipeline for application deployment

https://github.com/meghraj8788/DevOps-Project-Zomato/blob/master/jenkinsfile

NEXT STEP - MONITORING - MONITORING OF APPLICATION

Launch VM (Name: Monitoring Server, Ubuntu 24.04, t2.large, Select the SG created in the Step 1, EBS: 30GB) We will install Grafana, Prometheus, Node Exporter in the above instance and then we will monitor

1- Launch One more server for monitoring and setup Prometheus and Graphana on it Steps in GitHub file

Graphana and Prometheus added

Step Create EKS CLUSTER
eksctl create cluster --name=kastrocluster --region=ap-northeast-1 --zones=ap-northeast-1a,ap-northeast-1c --without-nodegroup

Step 02: Create & Associate IAM OIDC Provider for our EKS Cluster To enable and use AWS IAM roles for Kubernetes service accounts on our EKS cluster, we must create & associate OIDC identity provider. To do so using eksctl we can use the below commands.
eksctl utils associate-iam-oidc-provider --region ap-northeast-1 --cluster kastrocluster --approve

Step 03: Create Node Group with additional Add-Ons in Public Subnets These add-ons will create the respective IAM policies for us automatically within our Node Group role.

eksctl create nodegroup --cluster=kastrocluster --region=ap-northeast-1 --name=kastrodemo-ng-public1 --node-type=t3.medium --nodes=2 --nodes-min=2 --nodes-max=4 --node-volume-size=20 --ssh-access --ssh-public-key=Prajwal --managed --asg-access --external-dns-access --full-ecr-access --appmesh-access --alb-ingress-access

STEP 3 Argo CD installation

Inorder to monitor k8s with Prometheus, we need to install ArgoCD. Lets do that

configure ArgoCD and create new app

3 views