This repository is for my own educational purposes.
It contains Terraform infrastructure definition to create an AWS Elastic Kubernetes Service cluster.
Terraform Cloud manages infrastructure state.
Steps:
-
Create version control repository
-
Get set up on Terraform Cloud:
- create account
- create workspace
- link the workspace to version control system repository
- define variables
-
Push code to the version control repository to trigger a Terraform run which will create AWS resources:
- virtual private cloud
- subnets
- iam role
- elastic kubernetes service cluster
- node group
-
Configure access to the new elastic kubernetes service cluster
-
Create an ingress controller so we can use the ingress resources on our cluster
- update vpc
- provide credentials
- TODO
- spell out order of operations:
- create vpc and cluster
- update tf variables with cluster details
- add internet gateway to route table (cidr 0.0.0.0/0, to be fixed)
- create node group
- route table and internet gateway association in terraform
- ALB ingress controller in terraform
- spell out order of operations: