Scalable Application Deployment on AWS EC2 with ArgoCD and KIND (Kubernetes).

Pooja BhavaniPooja Bhavani
2 min read

Application Architecture

Architecture diagram

  • Launch an AWS EC2 instance.

  • Install Docker and Kind.

  • Create a Kubernetes cluster using Kind.

  • Install and access kubectl.

  • Set up the Kubernetes Dashboard.

  • Install and configure Argo CD.

  • Connect and manage your Kubernetes cluster with Argo CD.

  • Create a namespace for Argo CD:
kubectl create namespace argocd
  • Apply the Argo CD manifest:
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml

  • Check services in Argo CD namespace:
kubectl get svc -n argocd
  • Expose Argo CD server using NodePort:
kubectl patch svc argocd-server -n argocd -p '{"spec": {"type": "NodePort"}}'
  • Now the argocd-server is running on NodePort.

  • Forward ports to access Argo CD server:
kubectl port-forward -n argocd service/argocd-server 8443:443 &hkubectl port-forward -n argocd service/argocd-server 8443:443 &h

  • Argo CD Initial Admin Password

kubectl get secret -n argocd argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d && echo

In ArgoCD we need to add cluster, application, connect to GitHub and deploy.

kubectl port-forward svc/kubernetes-dashbo ard -n kubernetes-dashboard 8080:

1
Subscribe to my newsletter

Read articles from Pooja Bhavani directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Pooja Bhavani
Pooja Bhavani

Hi, I am Pooja Bhavani, an enthusiastic DevOps Engineer with a focus on deploying production-ready applications, infrastructure automation, cloud-native technologies. With hands-on experience across DevOps Tools and AWS Cloud, I thrive on making infrastructure scalable, secure, and efficient. My journey into DevOps has been fueled by curiosity and a passion for solving real-world challenges through automation, cloud architecture, and seamless deployments. I enjoy working on projects that push boundaries whether it's building resilient systems, optimizing CI/CD pipelines, or exploring emerging technologies like Amazon Q and GenAI. I'm currently diving deeper into platform engineering and GitOps workflows, and I often share practical tutorials, insights, and use cases from my projects and experiences. ✨ Let’s connect, collaborate, and grow together in this ever-evolving DevOps world. Open to opportunities, ideas, and conversations that drive impactful tech!