This repository contains infrastructure code used to manage my AWS account.
- Terraform 0.12
- Ansible 2.5.2
- aws-iam-authenticator
- Create new AWS account
- Create new IAM user with admin privileges and add the access key ID and secret access key to
~/.aws/credentials - Ensure there are no
AWS_ACCESS_KEYorAWS_SECRET_KEYenv variables defined in your local env - Provision dev environment
- Review configuration variables in main.tf, especially,
aws_credenital_profilevariable - Provision infrastructure
cd terraform/environments/dev terraform init terraform apply
- Configure the path of the kubeconfig_dev-eks-cluster in the
KUBECONFIGenv variable for your local environment to be able to communicate with the EKS cluster usingkubectl - Verify local
kubectlsetup using the command below$ kb get nodes
- Monitoring and alerting
- auto-scaling notifications