Skip to content
/ eks Public
forked from branyangeks/eks

[In Progress] AWS EKS Script

Notifications You must be signed in to change notification settings

byangtri/eks

 
 

Repository files navigation

AWS EKS Script

Launching EKS Cluster from AWS

Prerequisites

check the AWS CLI version

Download AWS CLI v2, unzip, and update:

https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2.html

Configure the CLI

$ aws configure

Download kubectl, add permissions to binary, Copy the binary to a directory in your path https://docs.aws.amazon.com/eks/latest/userguide/install-kubectl.html

Download eksctl, Move the extracted binary to /usr/bin

https://docs.aws.amazon.com/eks/latest/userguide/getting-started-eksctl.html

Download git

https://git-scm.com/download/linux

Running the AWS EKS from scratch. By running the script, the container will do the below tasks:

Create an AWS EKS cluster

Launch and Configure Amazon EKS Worker Nodes

Deploy a Tomcat application and Load Balancer

Variables to change:

deployment.yaml & cluster.sh file

   $aws configure
   For AWS Access Key ID, paste in the access key ID you copied earlier.
   
   For AWS Secret Access Key, paste in the secret access key you copied earlier.
   
   For Default region name, enter your region.
   
   For Default output format, enter json.


setup.sh file is a script to run the prerequisite on Linux.

Run the below commands, it will take some [time]

Open the deployment.yaml & cluster.sh and update with your Variables.


 $ sudo yum install -y git or sudo apt-get install -y git

 $ git clone https://github.com/branyangeks/eks.git && cd eks

 $ sh setup.sh (if installing dependencies on Linux)
 
 $ sh cluster.sh
 

Delete Resources

$ eksctl delete cluster --region=<region> --name=tricentis-cluster

About

[In Progress] AWS EKS Script

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%