Amazon EKS with Terraform: Learn Kubernetes on AWS

Build Amazon EKS Clusters with Terraform: Kubernetes on AWS, VPC, IAM, Node Groups, Cost Control, and Best Practices!

  • 0.0 (0 Reviews)
  • 0 Students
  • 191 Lessons
  • Lauro Fialho Müller

Course Overview

Welcome to Amazon EKS with Terraform: The Practical Course! Do you want to provision a real Amazon EKS cluster with your own hands and understand every resource that makes it work? This course takes you from an empty AWS account to a running, production-grade Kubernetes cluster, built step by step with Terraform, and then rebuilt with the community EKS module so you understand both the raw building blocks and the abstractions that hide them.


Why Learn Amazon EKS?

Kubernetes has become the standard way to run containers, and EKS is how you run it on AWS without operating the control plane yourself. But a managed control plane is only the starting point. A working cluster still needs networking, IAM, worker nodes, and addons wired together correctly, and every piece carries a cost and a security implication. Here is why building EKS with infrastructure as code is a skill worth having right now:

  • Kubernetes Is the Default for Running Containers: Container orchestration has consolidated around Kubernetes, and EKS is the managed Kubernetes service on AWS, the largest cloud provider. Knowing how to stand up and operate an EKS cluster is one of the most in-demand skills in cloud engineering today.

  • Managed Does Not Mean Automatic: EKS runs the control plane for you, but you still own the VPC, the IAM roles, the node groups, and the addons. Most of the trouble people hit with EKS comes from these pieces, not from Kubernetes itself, and those pieces are exactly what this course teaches.

  • Infrastructure as Code Is How Real Teams Run EKS: Clicking through the console does not scale and cannot be reviewed. Terraform is the standard for provisioning and versioning AWS infrastructure, and in this course you build the entire cluster as code you can read, review, and destroy on demand.

  • Cost Awareness Pays for Itself: An EKS cluster bills by the hour across several services at once. Knowing which resources cost what, both before you build and after, keeps a cluster affordable, so this course treats cost as a first-class topic rather than an afterthought.

  • EKS and Terraform Skills Are in High Demand: Platform, DevOps, cloud, and SRE roles consistently ask for Kubernetes on AWS and infrastructure as code. Being able to build a cluster from scratch, not just consume one someone else made, is what sets strong candidates apart.

The skills you build here, cloud networking, IAM, managed Kubernetes, and infrastructure as code, carry over to every serious AWS project, whatever you go on to run on top of the cluster.


Why Should You Choose This Course?

This course goes well beyond a walkthrough that hands you a finished module and calls it done. You build the cluster yourself, one resource at a time, so you understand what each piece does and why it is there.

  • Learn by Doing with Hands-On Labs: Every concept is followed by a practical lab. You write the Terraform, run the apply, and inspect what AWS actually created. I give you the task, leave you room to try it yourself, and then walk through the full solution.

  • Build a Cluster from Raw Terraform, Not a Black Box: Most tutorials hand you a module and move on. Here you write the VPC, the IAM roles, the control plane, the node group, and the addons yourself, so nothing about your cluster stays a mystery.

  • Then Meet the Community Module: After building by hand, you rebuild the same cluster with the terraform-aws-modules EKS module and compare the two side by side, so you can see exactly what a module creates on your behalf and decide for yourself when to reach for one.

  • Cost Is a First-Class Topic: You estimate the cluster's monthly cost before building anything, then reconcile the real AWS bill against that estimate using cost allocation tags and Cost Explorer. Very few courses close this loop.

  • Production Tradeoffs, Explained: Spot versus On-Demand capacity, a single NAT gateway or one per zone, hand-written configuration or a community module, secrets encryption and logging on or off. You learn the reasoning behind each decision, not just the setting to flip.

  • A Reproducible, Cross-Platform Setup: The course ships a devcontainer with a pinned toolchain, so Terraform, kubectl, and the AWS CLI behave identically on Windows, macOS, and Linux. No "it works on my machine".


Which Skills Will You Acquire During This Course?

As you work through the lectures and labs, you will gain a complete, practical skill set for provisioning and operating Amazon EKS with Terraform, including:

  • Estimating and Reviewing Cloud Cost: You will estimate a cluster's monthly cost in the AWS Pricing Calculator, separate fixed charges from usage-driven ones, then track real spend with cost allocation tags and reconcile it in AWS Cost Explorer.

  • Designing a VPC for EKS: You will build public and private subnets across multiple availability zones, configure a NAT gateway for private nodes, and apply the subnet tags EKS needs to place load balancers.

  • Provisioning the Control Plane with IAM: You will create the IAM roles the control plane and worker nodes assume, provision the EKS control plane from raw Terraform, and configure its public and private endpoint access.

  • Controlling Cluster Access: You will configure the EKS API authentication mode with access entries and see where AWS identity hands off to Kubernetes permissions.

  • Adding Worker Nodes and Core Addons: You will attach a managed node group on Spot instances across several instance types, and install the core addons, VPC CNI, kube-proxy, and CoreDNS, in the order that lets nodes go ready as they join.

  • Connecting and Deploying a Workload: You will point kubectl at the cluster with a kubeconfig generated by the AWS CLI, deploy an application, and expose it to the internet with a Kubernetes LoadBalancer Service.

  • Adopting a Community Module Critically: You will rebuild the cluster with the terraform-aws-modules EKS module and identify everything its defaults create, from secrets encryption and control plane logging to the OIDC provider and security groups.

  • Operating Infrastructure Responsibly: You will manage Terraform state in a remote S3 backend, work from a reproducible toolchain, and tear every resource down cleanly so a learning cluster never runs up a surprise bill.

Whether you are new to EKS and want a solid foundation, or you have used a cluster someone else built and want to understand what sits underneath it, this course gives you the depth, the practice, and the confidence to provision and operate Amazon EKS on your own. Let's get started!

See more

FAQ

FAQ area empty

Course curriculum

15 chương 191 bài học 17 giờ 15 phút 7 bài học thử miễn phí
Chương 1 Introduction and Getting Started
Chương 2 [EKS Foundations] Getting Started with EKS and Local Setup
Chương 3 [EKS Foundations] Cost Estimation and Overview
  • Section Overview 1:18
  • Section Resources
  • Estimating AWS Costs 11:12
  • AWS Pricing Calculator: The EKS Cluster 5:13
  • AWS Pricing Calculator: Worker Nodes 7:32
  • AWS Pricing Calculator: NAT Gateway 7:59
  • AWS Pricing Calculator: Load Balancer 5:20
  • AWS Pricing Calculator: Data Transfer 8:15
  • AWS Pricing Calculator: Additional Services 6:20
  • AWS Pricing Calculator: The Monthly Estimate 5:09
  • The Actual Costs Incurred During Recording 4:03
Chương 4 [EKS Foundations] VPC Networking for EKS Clusters
  • Section Overview 1:08
  • Section Resources
  • VPC Design for EKS 19:55
  • Lab: The VPC for EKS - Overview 5:30
  • Lab: The VPC for EKS
  • Lab: The VPC for EKS - Variables and AZs 10:35
  • Lab: The VPC for EKS - Locals and Default Tags 7:12
  • Lab: The VPC for EKS - Private Subnets 16:57
  • Lab: The VPC for EKS - Public Subnets 12:47
  • Lab: The VPC for EKS - The NAT Gateway 9:14
  • Lab: The VPC for EKS - Destroying Resources 4:03
Chương 5 [EKS Foundations] The EKS Control Plane
  • Section Overview 1:16
  • Section Resources
  • EKS Control Plane and Its IAM Role 7:33
  • Cluster Authentication and Authorization 7:08
  • Lab: The Cluster IAM Role - Overview 2:09
  • Lab: The Cluster IAM Role
  • Lab: The Cluster IAM Role - Creating the Cluster Role 11:47
  • Lab: The Cluster IAM Role - Granting Permissions 7:28
  • Lab: Provisioning the Cluster - Overview 5:09
  • Lab: Provisioning the Cluster
  • Lab: Provisioning the Cluster - The EKS Resource, Part 1 5:56
  • Lab: Provisioning the Cluster - The EKS Resource, Part 2 9:41
  • Lab: Provisioning the Cluster - Exploring What EKS Created 7:10
  • Lab: Provisioning the Cluster - Destroying Resources 3:30
Chương 6 [EKS Foundations] Worker Nodes and Core Addons
  • Section Overview 1:36
  • Section Resources
  • Managed Node Groups and Worker Nodes 6:24
  • Lab: The Node IAM Role - Overview 2:45
  • Lab: The Node IAM Role
  • Lab: The Node IAM Role - Creating the Node Role 10:54
  • Lab: The Node IAM Role - Node Permissions 3:09
  • Core Cluster Addons 4:55
  • Lab: The Networking Addons - Overview 3:01
  • Lab: The Networking Addons
  • Lab: The Networking Addons - Installing the Addons 7:23
  • Spot Instances for Worker Nodes 8:39
  • Network Interfaces and How Many Pods a Node Can Run 5:18
  • Lab: The Spot Node Group and DNS - Overview 3:27
  • Lab: The Spot Node Group and DNS
  • Lab: The Spot Node Group and DNS - Writing the Node Group 13:03
  • Lab: The Spot Node Group and DNS - Deploying the Node Group 11:35
Chương 7 [EKS Foundations] Connecting and Deploying a Workload
  • Section Overview 1:17
  • Section Resources
  • Cluster Access and kubeconfig 6:59
  • Services and the LoadBalancer Type 4:55
  • Lab: Deploying NGINX - Overview 4:12
  • Lab: Deploying NGINX
  • Lab: Deploying NGINX - Updating kubeconfig 8:14
  • Lab: Deploying NGINX - Deploying the Workload 5:47
  • Demo: AWS Identities and Cluster Access 12:39
  • Lab: Deploying NGINX - Resource Teardown 4:17
Chương 8 [EKS Foundations] The AWS EKS Community Module
  • Section Overview 1:25
  • Section Resources
  • The Community AWS EKS Module 6:25
  • Lab: The EKS Module - Overview 4:06
  • Lab: The EKS Module
  • Lab: The EKS Module - Initializing the Project 6:58
  • Lab: The EKS Module - Writing the Configuration 9:02
  • Lab: The EKS Module - Resources Deep-Dive 9:34
  • Lab: The EKS Module - Configuring Support 2:54
  • Lab: The EKS Module - Applying the Configuration 7:03
  • Lab: The EKS Module - Destroying the Project 2:31
  • Comparing Module and Hand-Written Clusters 5:49
Chương 9 [EKS Access Management] Access Entries
  • Section Overview 1:19
  • Setting Up the Starter Repository
  • Section Resources
  • Access Entries and Access Policies 12:11
  • Starter Code Overview 4:42
  • Lab: Cluster and Team Roles - Overview 7:15
  • Lab: Cluster and Team Roles
  • Lab: Cluster and Team Roles - The IAM Roles 15:27
  • Lab: Cluster and Team Roles - Profiles and Contexts 13:41
  • Lab: Team Access Entries - Overview 5:19
  • Lab: Team Access Entries
  • Lab: Team Access Entries - Entries and Policies 9:13
  • Lab: Team Access Entries - Exploring the Limits 11:49
  • Lab: Namespace-Scoped Access - Overview 2:56
  • Lab: Namespace-Scoped Access
  • Lab: Namespace-Scoped Access - Reshaping the Grant Map 8:12
  • Lab: Namespace-Scoped Access - The Namespace Grant 11:40
  • Lab: EKS Module Grants - Overview 3:49
  • Lab: EKS Module Grants
  • Lab: EKS Module Grants - Inputs and the CI Role 11:14
  • Lab: EKS Module Grants - Apply and Compare 7:15
Chương 10 [EKS Access Management] Custom Permissions with Kubernetes RBAC
  • Section Overview 1:44
  • Section Resources
  • Kubernetes RBAC Through Access Entries 10:13
  • Lab: Debugger Role and Binding - Overview 4:52
  • Lab: Debugger Role and Binding
  • Lab: Debugger Role and Binding - Solution 14:28
  • Lab: Groups on the Access Entry - Overview 2:18
  • Lab: Groups on the Access Entry
  • Lab: Groups on the Access Entry - Solution 10:13
Chương 11 [EKS Access Management] IRSA and OIDC Federation
  • Section Overview 2:12
  • Section Resources
  • IRSA and OIDC Federation 11:26
  • Lab: Parameter and IRSA Role - Overview 3:41
  • Lab: Parameter and IRSA Role
  • Lab: Parameter and IRSA Role - Parameter and Read Policy 6:07
  • Lab: Parameter and IRSA Role - The Federated Role 13:10
  • Lab: Service Account - Overview 4:24
  • Lab: Service Account
  • Lab: Service Account - Service Account and Probe Pod 6:39
  • Lab: Service Account - Apply and Test Workload 8:32
  • Demo: The Node Role Fallback 6:06
Chương 12 [EKS Access Management] Pod Identity and Association
  • Section Overview 1:32
  • Section Resources
  • Pod Identity Authentication Flow 8:10
  • Pod Identity Associations and Configuration 5:14
  • Lab: Pod Identity Agent - Overview 4:07
  • Lab: Pod Identity Agent
  • Lab: Pod Identity Agent - Deploy Agent Addon 4:18
  • Lab: Pod Identity Agent - Create AWS Role 6:10
  • Lab: Pod Identity Association - Overview 2:18
  • Lab: Pod Identity Association
  • Lab: Pod Identity Association - Create Association 3:55
  • Lab: Pod Identity Association - Test Access 6:45
Chương 13 [EKS Labs] External Secrets Operator
  • Section Introduction 1:49
  • Section Resources
  • Secrets Manager: Versions and Rotation 8:55
  • Secrets Manager: Read Permissions and Parameter Store 5:30
  • Operators and the Control Loop 12:39
  • External Secrets Operator and the Sync Model 16:31
  • Lab: Section Setup - Overview 2:51
  • Lab: Section Setup
  • Lab: Section Setup - Create the Lab Cluster 7:05
  • Lab: Operator and Secret Store - Overview 4:56
  • Lab: Operator and Secret Store
  • Lab: Operator and Secret Store - Create the AWS Secret 9:41
  • Lab: Operator and Secret Store - Create The Controller's Role 12:40
  • Lab: Operator and Secret Store - ESO Helm Chart and Secret Store 11:51
  • Lab: ExternalSecret and Rotation - Overview 3:51
  • Lab: ExternalSecret and Rotation
  • Lab: ExternalSecret and Rotation - ExternalSecret and Workload 8:50
  • Lab: ExternalSecret and Rotation - Rotate and Force a Sync 5:51
  • Lab: Team Isolation and Reloader - Overview 5:15
  • Lab: Team Isolation and Reloader
  • Lab: Team Isolation and Reloader - Create the Team Roles 23:54
  • Lab: Team Isolation and Reloader - Create the Team Stores 9:51
  • Lab: Team Isolation and Reloader - Test the Isolation 5:09
  • Lab: Team Isolation and Reloader - Recreate Pods on Rotation 11:18
Chương 14 [EKS Labs] AWS Load Balancer Controller
  • Section Overview 1:47
  • Section Resources
  • Elastic Load Balancing for Kubernetes Traffic 12:34
  • Services, Ingress, and Their Controllers 7:40
  • How the Controller Builds Load Balancers 7:29
  • Lab Folder and Cluster Setup 6:55
  • Lab Folder README
  • Lab: Controller Installation - Overview 6:01
  • Lab: Controller Installation
  • Lab: Controller Installation - Classic Load Balancer and IAM Role 10:28
  • Lab: Controller Installation - Pod Identity, Helm Chart, and Leader Election 14:29
  • Lab: Ingress Routing - Overview 3:53
  • Lab: Ingress Routing
  • Lab: Ingress Routing - Ingress, Load Balancer, and Teardown 11:04
  • Lab: Gateway API Routing - Overview 4:17
  • Lab: Gateway API Routing
  • Lab: Gateway API Routing - CRDs and the Platform Gateway 15:13
  • Lab: Gateway API Routing - HTTPRoutes and Ingress Retirement 10:47
Chương 15 Conclusion
  • Congratulations!
  • BONUS! Course Discounts

Requirment

  • Comfort with the command line and a code editor

  • Basic Terraform knowledge

  • Basic Docker and Kubernetes knowledge

  • Basic AWS knowledge

  • No prior EKS experience required

Outcomes

  • Explain what AWS operates in a managed EKS cluster and what you operate yourself

  • Estimate a cluster's monthly cost with the AWS Pricing Calculator, separating fixed from usage-driven charges

  • Design a VPC for EKS with public and private subnets across multiple availability zones

  • Configure a NAT gateway for private worker nodes, weighing cost against availability

  • Create the IAM roles the control plane and worker nodes assume, following least privilege

  • Provision an EKS control plane from raw Terraform and configure its public and private endpoint access

  • Control who can reach the cluster with the EKS API authentication mode and access entries

  • Add worker capacity with a managed node group running Spot instances across several instance types

  • Install the core EKS addons: VPC CNI, kube-proxy, and CoreDNS

  • Deploy a workload and expose it to the internet with a Kubernetes LoadBalancer Service

  • Rebuild the same cluster with the terraform-aws-modules EKS community module

  • Identify what the community module provisions by default beyond your configuration: encryption, logging, OIDC, and security groups

  • Manage Terraform state remotely in an S3 backend

Instructor

...
Lauro Fialho Müller

0.0

  • ... 0 Student
  • ... 1 Course
  • ... 0 review

View Details

Reviews

Rate this course :

Remove all