Amazon EKS
1. Create EKS Cluster
Section titled “1. Create EKS Cluster”eksctl create cluster \ --name justapi-cluster \ --region us-east-1 \ --nodegroup-name standard \ --node-type t3.medium \ --nodes 32. Configure kubectl
Section titled “2. Configure kubectl”aws eks update-kubeconfig --region us-east-1 --name justapi-cluster3. Install AWS Load Balancer Controller
Section titled “3. Install AWS Load Balancer Controller”kubectl apply -k "github.com/aws/load-balancer-controller//deploy/overlays/eks"4. Build and Push to ECR
Section titled “4. Build and Push to ECR”aws ecr create-repository --repository-name justapi-appdocker build -t $ACCOUNT_ID.dkr.ecr.us-east-1.amazonaws.com/justapi-app:latest .docker push $ACCOUNT_ID.dkr.ecr.us-east-1.amazonaws.com/justapi-app:latest5. Deploy with Helm (ALB Ingress)
Section titled “5. Deploy with Helm (ALB Ingress)”helm upgrade --install my-app justapi/justapi \ --set image.repository=$ACCOUNT_ID.dkr.ecr.us-east-1.amazonaws.com/justapi-app \ --set image.tag=latest \ --set ingress.enabled=true \ --set ingress.className=albSee Also
Section titled “See Also”- Google Cloud (GKE) — Deploy on GCP
- Azure AKS — Deploy on Azure
- Kubernetes / Helm — Helm chart reference