Creation of RDS and launching WordPress Setup
Task 6 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.
STEP 1: Code for deploying WordPress setup on Minikube and for creating MySQL DB setup on AWS RDS:
STEP 2: Launching RDS using terraform code:
STEP 3: After the infrastructure is deployed, check the available pods using minikube:
STEP 4: Retrieve the Load Balancer URL to access the deployed WordPress pod:
STEP 5: Deployment of the database on AWS :
STEP 6: Launching the WordPress pod: