- Terraform CLI installed
- AWS credentials configured.
- kubectl installed.
- Edit terraform.tfvars to match your values.
- Run a to grab providers and modules.
- Run a -destory to view the plan.
- Run a <terraform_apply> -auto-approve and wait ~15 minutes.
- Run <aws eks --region us-east-1 update-kubeconfig --name dev-cluster> to add the cluster context to your kubeconfig.
- Run <kubectl get pods -n dev> to ensure wordpresss deployed as expected.
- Run to grab the AWS created DNS address for the wordpresss service.
- Go to your browser and navigate to http://:8080 or 80
- Log in with the credentials you set in terraform.tfvars.
- Distory terraform destroy --force
aws eks --region us-east-1 update-kubeconfig --name dev-cluster
- terraform ~> 1.2.6
- aws ~> 4.21.0
- helm ~> 2.6.0
- kubernetes ~> 2.12.3
- terraform-aws-modules/eks/aws ~> 18.28.0
SSL https://docs.bitnami.com/aws/how-to/get-started-wordpress-aws-marketplace-intermediate/ sudo /opt/bitnami/bncert-tool /opt/bitnami/letsencrypt/certificates