WordPress application on Kubernetes and AWS RDS using terraform

Ashwani Singh
2 min readSep 25, 2020

--

Load the AWS & K8s Provider

Deploy the Wordpress as a container either on top of Minikube & create an Infrastructure as code using terraform, which automatically deploy the WordPress application

On AWS, use RDS service for the relational database for WordPress application

Final RDS UI :

To initialise the code run :

terraform init

To validate code:

terraform validate

To check the plan/desire:

terraform plan

To run these code :

terraform apply — auto-approve

To destroy the complete infrastructure:

terraform destroy

GitHub Repo Link : Click Here

Thanks for Reading !!!!!!!!!!

--

--