In case you already have a cluster running you can skip to the next section.
You need to provide Terraform with the AWS credentials for your IAM Role. If
you don't know how to create one, follow these
They have to be put into a
terraform.tfvars file in
terraform/kubernetes that looks contains:
If you want to deploy the EKS cluster in your existing VPC you have to override the
fargate_subnets variables with the outputs from your
vpc and set
create_vpc=false in the Airy Core module.
After the Kubernetes cluster has been created we can deploy the Airy Helm chart
to it. Change to the
terraform/main directory and make sure the
file is there.
You can configure your instance by making changes to
If you want to deploy the stateless apps with AWS Fargate you can add
workerType: fargate to the
Finally, you need to initialize the Terraform workspace and run apply.