Featured resource
Forrester Wave Report 2025
Pluralsight named a Leader in the Forrester Wave™

Our tech skill development platform earned the highest scores possible across 11 criteria.

Learn more
  • Labs icon Lab
  • Cloud
Google Cloud Platform icon
Labs

Launching An EKS Cluster With eksctl

Elastic Kubernetes Service (EKS) is a fully managed Kubernetes service from AWS. In this lab, you will work with the AWS command-line interface and console, using command-line utilities like `eksctl` and `kubectl` to launch an EKS cluster, provision a Kubernetes Deployment and Pod running instances of `nginx`, and create a `LoadBalancer` Service to expose your application over the internet.

Google Cloud Platform icon
Labs

Path Info

Level
Clock icon Beginner
Duration
Clock icon 1h 0m
Published
Clock icon May 26, 2021

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Log In to the Provided EC2 Instance

    Log in to the EC2 instance provided in the lab environment using the public IP address, cloud_user username, and password provided in the lab interface.

  2. Challenge

    Provision an EKS Cluster

    Use eksctl to provision an EKS cluster with three worker nodes in us-east-1. Use Kubernetes version 1.16 or later.

  3. Challenge

    Create a Deployment on Your EKS Cluster

    Using kubectl and the provided Service and Deployment definition files provided in the EKS Basics GitHub repository:

    • Create a LoadBalancer Service.
    • Check the status of your LoadBalancer Service using kubectl.
    • Create an NGINX Deployment.
    • Check the status of your cluster, Deployment, and Pods using kubectl.
    • When NGINX is up and running, check that you can access your application using the DNS name of the LoadBalancerprovided in the kubectl get service output.
  4. Challenge

    Test the High Availability Features of Your EKS Cluster

    1. In the EC2 console, terminate all the worker nodes.
    2. Check the status of your cluster, Deployment, and Pods using kubectl. After a few minutes, you should see EKS launching new instances to keep your Service running.
    3. When the cluster is back to a steady state, check that your application is up and running using curl.

Pluralsight Skills gives leaders confidence they have the skills needed to execute technology strategy. Technology teams can benchmark expertise across roles, speed up release cycles and build reliable, secure products. By leveraging our expert content, skill assessments and one-of-a-kind analytics, keep up with the pace of change, put the right people on the right projects and boost productivity. It's the most effective path to developing tech skills at scale.

What's a lab?

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.