Connect Wordpress Site With Amazon RDS
In this article i will talked about how to connect our wordpress site which is running on my kubernetes with amazon RDS database.
For this first we have to launch the wordpress site on top of kubernetes . Kubernetes can launch by many ways like minikube, kubeadm, amazon eks, gks etc but in my case i used minikube which provides me single node cluster and to deploy wordpress i used terraform code.
So here is my terraform code.
- I create service for wordpress site then persistent volume claim then we create deployment for our wordpress.
Now, I will create RDS on amazon.
After fill the username, password and connection.
My wordpress site has been launched!!
#keepcoding #keepsharing #aws #devops