Introduction
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.
How-to Provision an EKS Cluster (AWS) 🔗
- Why deploy with Terraform?
- Prerequisites
- Set up and initialize your Terraform workspace
- Initialize Terraform workspace
- Provision the EKS cluster
- Configure
kubectl
- Deploy and access Kubernetes Dashboard
- Deploy Kubernetes Metrics Server
- Deploy Kubernetes Dashboard
- Authenticate the dashboard
- Clean up your workspace
Additional Information
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.
Â
How to use EKS with Helm: Deploy applications with the Helm provider
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.