
Containerize and Run an e-commerce based application in AWS EKS cluster with all best practices (Part - 4)
Deploy the Application into AWS EKS Cluster: Why AWS EKS? ü Upgrades becomes easy ü Manage control plane ü Scaling become easy ü Integrated K8s UI ü Cost efficient Creating the following infrastructure using Terraform: VPC, Public subnet and Private subnet Internet gateway, NAT gateway, Route tables EKS cluster Create S3 bucket and DynamoDB for state file management and locking: Create VPC & EKS cluster using Terraform: VPC & Cluster creation code: https://github.com/Nandan3/End-to-End-DevOps-Projects/tree/main/EKS_install Cluster information: cluster_endpoint = " https://D9F38304FBE9AFF51F006DE59DEC4993.gr7.us-west-1.eks.amazonaws.com " cluster_name = "my-eks-cluster" vpc_id = "vpc-09bcf1df61d87cf8b" Run the following command to create the cluster: $terraform init $terraform plan $terraform apply --auto-approve How to connect to 1 or many Kubernetes clusters from command line ? Cluster info are stored in kube-config files $kubectl config view $kubectl config current-context #context r
Continue reading on Dev.to
Opens in a new tab


