Deploy Zomato Application
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
PrometheusaddedStep Create EKS CLUSTER
eksctl create cluster --name=kastrocluster --region=ap-northeast-1 --zones=ap-northeast-1a,ap-northeast-1c --without-nodegroupStep 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 --approveStep 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-accessSTEP 3 Argo CD installation
Inorder to monitor k8s with Prometheus, we need to install ArgoCD. Lets do that
configure ArgoCD and create new app

