Skip to content
VirtualLP Virtual Learning Platform
Amazon Web Services AWS-15 advanced

Run Kubernetes on Amazon EKS: node group, kubectl, Deployments and a LoadBalancer Service

Create an EKS cluster and managed node group, connect kubectl from CloudShell, deploy nginx with a Deployment manifest, expose it with a LoadBalancer Service, then scale, self-heal and roll out a new version.

What you'll do

  • Create an EKS cluster with the right IAM roles
  • Add a managed node group
  • Configure kubectl with update-kubeconfig
  • Apply Deployment and Service manifests
  • Scale, self-heal and perform a rolling update

Lab tasks

  1. 1 Create the cluster demo-eks
  2. 2 Add the managed node group demo-nodes
  3. 3 Connect kubectl
  4. 4 Deploy nginx with a Deployment
  5. 5 Expose it with a LoadBalancer Service
  6. 6 Call the application
  7. 7 Scale to 5 replicas
  8. 8 Delete a pod – watch self-healing
  9. 9 Roll out a new version