Loading video player...
Learn how to deploy a production-ready Amazon EKS cluster the easy way! In this hands-on lab, we use the eksctl command-line tool to automate the complex setup of Kubernetes on AWS. We will: • Create an EKS cluster • Deploy a sample Nginx web application • Expose it to the public internet using an AWS Load Balancer • Clean up all resources properly to avoid unexpected AWS costs 📝 COMMANDS USED IN THIS VIDEO 1️⃣ Create the EKS Cluster eksctl create cluster --name lab-cluster --region us-east-1 --version 1.29 --nodegroup-name standard-workers --node-type t3.medium --nodes 2 2️⃣ Verify Nodes kubectl get nodes 3️⃣ Deploy Nginx Application kubectl create deployment nginx-demo --image=nginx 4️⃣ Expose App Using a Load Balancer kubectl expose deployment nginx-demo --port=80 --target-port=80 --type=LoadBalancer --name=nginx-service 5️⃣ Get External URL kubectl get service nginx-service 6️⃣ CLEANUP (CRUCIAL STEP 🚨) Delete the Load Balancer first: kubectl delete service nginx-service Delete the EKS Cluster: eksctl delete cluster --name lab-cluster --region us-east-1 🔗 USEFUL LINKS eksctl download: https://eksctl.io/ kubectl install guide: https://kubernetes.io/docs/tasks/tools/ AWS CLI setup: https://aws.amazon.com/cli/ ⚠️ DISCLAIMER This tutorial uses AWS resources such as EC2, EKS, and Load Balancers, which are NOT included in the AWS Free Tier. Make sure you follow the cleanup steps at the end of the video to avoid ongoing charges. 🏷️ TAGS #AWS #Kubernetes #EKS #DevOps #eksctl #CloudComputing #Tutorial