This is terraform infrastructure
First you have to run
terraform init
After terraform plan and terraform apply
During this run next components will be created:
- VPC
- 4 subnets (2 private for web, 2 public for web)
- 2 NAT gateway
- 1 Internet gateway
- 2 EiP and allocation these ips to natgw
- Security groups
- EKS cluster
- 2 ESK nodes
- role attachments and many other things.
Notes:
If you run locally and after want to check EKS you can copy config:
aws eks --region eu-west-1 update-kubeconfig --name eks_infra