Terraform template to create a VPC and EKS Cluster. Terraform launches the infrastructure. Helm automates deployment of Kubernetes
Download and Install Terraform
Download and Install AWS CLI After you have installed AWS CLI, use your terminal to configure your AWS credentials:
aws configureDownload and Install Helm I'm using macOS and I used:
brew install helmIf 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.
terraform init
terraform applyFollow 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 helmchartAfter running these commands you can view the deployment and grab the url to access your app by running:
kubectl get all