Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
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.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

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.

Start learning by doing today

View Plans