Configure EC2 instance to setup the CD pipeline
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
Last updated