Deploy a Voting App on AWS with EKS: A Step-by-Step Guide
1. Prerequisites
Make sure you have these installed:
AWS CLI: Install AWS CLI
kubectl: Install kubectl
eksctl: Install eksctl
Docker: Install Docker
Create EKS Cluster
- Log in to AWS CLI:
$ aws configure
- Create the EKS Cluster:
$ eksctl create cluster --name myVotingAppCluster --region us-east-1 --nodes 2 --node-type t3.medium

Note: Using the eksctl command to create a cluster can take about 15โ20 minutes
Verify the EKS Cluster:
$ kubectl get nodes

Clone the Docker Voting App
$ git clone https://github.com/dockersamples/example-voting-app.git cd example-voting-app
Deploy all deployment and service manifest files:

Verify all deployment and services:
$ kubectl get pods
$ kubectl get svc

Verify on AWS dashboard under cluster
Deployments:

Services:


