CICD Pipeline using Jenkins & ArgoCD
  • About the project
  • Overview of the application
  • Dockerizing the application
  • Configure EC2 instance to setup the CI pipeline
  • Configure Jenkins on EC2 instance
  • Create Jenkins CI pipeline
  • Setting up SonarQube server
  • Configure DockerHub and GitHub access tokens inside Jenkins
  • Add GitHub Webhook trigger
  • Execute the Jenkins Build
  • Configure EC2 instance to setup the CD pipeline
  • Install MiniKube and Kubectl
  • Install ArgoCD
  • Deploy the app to Kubernetes using ArgoCD
Powered by GitBook
On this page

Configure EC2 instance to setup the CD pipeline

PreviousExecute the Jenkins BuildNextInstall MiniKube and Kubectl

Last updated 1 year ago

To setup the ArgoCD server and Kubernetes, create a t2.medium EC2 instance with Ubuntu OS

In order to use MiniKube, Docker must be installed on the system, so use this startup shell script to install Docker and then launch the instance

#!/bin/bash
sudo apt-get update
sudo apt install docker.io -y

To verify whether Docker is installed, use the below command:

docker --version

To add ubuntu user to the Docker group

sudo usermod -aG docker $USER && newgrp docker
sudo systemctl restart docker