The Amazon Elastic Kubernetes Service (EKS) is the AWS service for deploying, managing, and scaling containerized applications with Kubernetes. This article outlines what is provided in the HashiCorp Learn material on how to deploy this using Terraform.
- Why deploy with Terraform?
- Set up and initialize your Terraform workspace
- Initialize Terraform workspace
- Provision the EKS cluster
- Deploy and access Kubernetes Dashboard
- Deploy Kubernetes Metrics Server
- Deploy Kubernetes Dashboard
- Authenticate the dashboard
- Clean up your workspace
This tutorial also appears in HashiCorp Learn: How to Manage AWS Services.
If you're new to Terraform itself, refer first to the Getting Started tutorial.
Here is where you can find EKS (Amazon Elastic Kubernetes Service) examples.
Here is the latest AWS EKS Module and Provision Instructions, AWS VPC Module and Provision Instructions, along with the terraform-aws-modules/terraform-aws-eks GitHub repository.
For steps on EKS provider, how to manage Kubernetes resources, your EKS cluster, or any other already created Kubernetes cluster, visit the Kubernetes provider Learn tutorial.
For a more in-depth Kubernetes example, Deploy Consul and Vault on a Kubernetes Cluster using Run Triggers (this tutorial is GKE based).
Please visit the Kubernetes Documentation for more information about how to Deploy and Access the Kubernetes Dashboard.