This repository contains code to provision an Amazon Elastic Kubernetes Service cluster using a Serverless Pipeline for provisioning Terraform Projects, as described in https://nivleshc.wordpress.com/2023/03/28/use-aws-codepipeline-aws-codecommit-aws-codebuild-amazon-simple-storage-service-amazon-dynamodb-and-docker-to-create-a-pipeline-to-deploy-terraform-code/.
To deploy the Amazon Elastic Kubernetes Service (EKS) cluster, first create the serverless pipeline, as mentioned in the above link.
The following resources will be created using the code in this repository
- Amazon Virtual Private Cloud (VPC)
- 2 Public Subnets
- 2 Private Subnets
- 1 Internet Gateway
- 1 NAT Gateway
- 1 route table (public)
- 1 Amazon EKS cluster with a node group
- Prometheus microservice deployment inside the Amazon EKS cluster
- Grafana microservice deployment inside the Amazon EKS cluster
- Grafana dashboard deployment to display Amazon EKS cluster monitoring statistics
Below is the high level architecture diagram for the solution. The resources in the pink rectangle will be created using the code in this repository.
The resources inside the orange rectangle belong to the serverless pipeline, which will be used to deploy this solution.
Follow the instructions at https://nivleshc.wordpress.com/2023/06/12/create-an-amazon-elastic-kubernetes-service-cluster-using-a-serverless-terraform-pipeline/