Skip to content

NahlaAbdAlghany/EKS-Cluster-Using-Terraform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

AWS EKS Cluster Using Terraform

This repository contains Terraform configurations to provision an Amazon EKS (Elastic Kubernetes Service) cluster on AWS.

Prerequisites

Before you begin, ensure you have the following prerequisites:

  • Terraform installed on your local machine.
  • AWS IAM credentials configured with appropriate permissions.
  • kubectl installed on your local machine to interact with the Kubernetes cluster.

Usage

  1. Clone this repository:

    git clone https://github.com/NahlaAbdAlghany/EKS-Cluster-Using-Terraform.git
    cd EKS-Cluster-Using-Terraform
  2. Initialize Terraform:

    terraform init
  3. Modify the variables.tf file to set your desired configuration options.

  4. Review and apply the Terraform plan:

    terraform plan
    terraform apply
  5. Once the cluster is provisioned, configure kubectl to connect to the cluster:

    aws eks --region us-east-1 update-kubeconfig --name demo
  6. Verify the cluster connectivity:

    kubectl get nodes

Deployment YAML File

Find the deployment YAML file here to deploy resources onto the EKS cluster.

Clean Up

To clean up and delete all resources provisioned by Terraform, run:

terraform destroy

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages