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_KEY
orAWS_SECRET_KEY
env variables defined in your local env - Provision dev environment
- Review configuration variables in main.tf, especially,
aws_credenital_profile
variable - Provision infrastructure
cd terraform/environments/dev terraform init terraform apply
- Configure the path of the kubeconfig_dev-eks-cluster in the
KUBECONFIG
env variable for your local environment to be able to communicate with the EKS cluster usingkubectl
- Verify local
kubectl
setup using the command below$ kb get nodes
- Monitoring and alerting
- auto-scaling notifications