Premium Hands-on labintermediateAWS
Installing Kubernetes on AWS
Learn how to install Kubernetes with a control-plane instance and a node instance on AWS EC2 instances.
- 11 guided tasks

Scenario
Note: while you can deploy this lab on its own, it was originally designed to be part of this course and lesson. If you feel you are missing context, we recommend going through the course material.
The lab gives you two identical Ubuntu EC2 instances that do not have Kubernetes yet. You will connect to both, install containerd and the Kubernetes tools, and build a cluster with one control plane node and one worker node. At the end, both nodes show as Ready.
What you will learn
- Connect to two EC2 instances with EC2 Instance Connect.
- Install containerd and set it to use the systemd cgroup driver.
- Install kubeadm, kubelet, and kubectl 1.36 from the Kubernetes package repository.
- Initialize a Kubernetes control plane and install the Calico network plugin.
- Join a worker node to the cluster and confirm that both nodes are Ready.