AWS Elastic Kubernetes Service starter kit to bootstrap an e-commerce site based on microservices
The Elastic Kubernetes Service (EKS) is a terraform module that allows for the easy bootstrap of an EKS Cluster using Terraform. It provides various features such as logging using Amazon Cloudwatch, firewall security measures, IAM accounts for service accounts, VPC native cluster, cluster autoscaler, IAM roles, and more. The module also enables updatable nodes through AWS autoscaling instance refreshes and utilizes containerd as a runtime.
To install the EKS module, follow these steps:
Make sure you have Terraform version 1.0 or higher installed.
The module requires the kubectl client to be installed on your local machine.
Add the required providers to your Terraform configuration:
Set the input variables in your Terraform configuration:
environment: The environment where the cluster will be deployed. If not provided, the default value is “devgurus-dev”.kubernetes_version: The Kubernetes version that the module will try to bootstrap. If not provided, the default value is “1.21”.self_managed_node_groups: An object representing the node groups to be created.vpc_cidr: The CIDR for the VPC to be created.Run terraform init to initialize the Terraform configuration.
Run terraform apply to apply the changes and create the EKS Cluster.
The Elastic Kubernetes Service (EKS) module is a convenient tool for bootstrapping an EKS Cluster using Terraform. It provides essential features such as logging, security measures, IAM accounts, VPC native cluster, autoscaling, and more. By following the installation guide, users can quickly set up an EKS Cluster with customizable options and configurations.