Skip to content

Terraform template to create a VPC and EKS Cluster. Terraform launches the infrastructure. Helm automates deployment of Kubernetes.

Notifications You must be signed in to change notification settings

snowdogg/eks-terraform-helm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Launching Kubernetes Cluster using EKS and Helm, orchestrated by Terraform

Terraform template to create a VPC and EKS Cluster. Terraform launches the infrastructure. Helm automates deployment of Kubernetes

Installation and Setup

Download and Install Terraform

Download and Install AWS CLI After you have installed AWS CLI, use your terminal to configure your AWS credentials:

aws configure

Download and Install Helm I'm using macOS and I used:

brew install helm

Managing Terraform Backend

If you are using this project independently, please either comment out the terraform block that begins on line 5 of serverless.tf, or change the bucket parameter to reference an S3 bucket that you have access to with your AWS credentials.

Usage

terraform init
terraform apply

Follow the prompts from these commands and as long as you have the correct permissions on your AWS credentials, the environment should launch successfully. Then run the following command to configure and deploy Kubernetes:

terraform init
aws eks --region us-west-1  update-kubeconfig --name mainCluster
helm install artgenerator helmchart

After running these commands you can view the deployment and grab the url to access your app by running:

kubectl get all

wireframe

About

Terraform template to create a VPC and EKS Cluster. Terraform launches the infrastructure. Helm automates deployment of Kubernetes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages