Deploy the WordPress application on Kubernetes and AWS RDS using terraform
Task-Description:-
1. Write an Infrastructure as code using Terraform, which automatically deploy the WordPress application
2. On AWS, use RDS service for the relational database for WordPress application.
3. Deploy WordPress as a container either on top of Minikube or EKS or Fargate service on AWS
4. The WordPress application should be accessible from the public world if deployed on AWS or through workstation if deployed on Minikube.
Now, Let's start with the practical part.
Prerequisite:
- Create an AWS profile and configure it.
- Terraform install
- Minikube install
2. On AWS, use RDS service for the relational database for WordPress application
Deploy WordPress as a container either on top of Minikube or EKS or Fargate service on AWS.
use terraform init to install plugins required:
use a terraform plan to create an execution plan
use terraform apply -auto-approve to make the resources run
4. The WordPress application should be accessible from the public world if deployed on AWS or through workstation if deployed on Minikube.
Congratulations! our task is completed.
Now, use terraform destroy -auto-approve to destroy the resources.
thank you for reading the article, for any suggestions or queries dm me.