Skip to content

aspenmesh/aspenmesh-cloud-tf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Deploy the Aspen Mesh Cloud on a New EKS Cluster

This deploys the following:

  • Creates a new VPC, 3 Private Subnets and 3 Public Subnets
  • Creates Internet gateway for Public Subnets and NAT Gateway for Private Subnets
  • Creates EKS cluster control plane with one managed node group

How to Deploy

Prerequisites:

Ensure that you have installed the following tools before you start working with this module:

  1. AWS CLI
  2. Kubectl
  3. Helm
  4. Terraform

Deployment Steps

Step 1: Clone the repo using the command below

git clone https://github.com/aspenmesh/aspenmesh-cloud-tf.git

Step 2: Run Terraform Init for the EKS cluster

Initialize a working directory with configuration files

cd aspenmesh-cloud-tf/eks-cluster
terraform init

Step 5: Run Terraform plan for the EKS cluster

terraform plan

Step 6: Run Terraform apply for the EKS cluster

terraform apply

Step 7: Run update-kubeconfig command

~/.kube/config file gets updated with cluster details and certificate from the below command. This command is also an output after applying the configuration.

$ aws eks --region <enter-your-region> update-kubeconfig --name <cluster-name>

How to Destroy

The following commands destroy the resources created by terraform apply:

cd aspenmesh-cloud-tf/eks-cluster
terraform destroy

About

Terraform jobs for Aspen Mesh Cloud

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages