Connect Wordpress Site With Amazon RDS

mayank agrawal
2 min readAug 21, 2020

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.

  1. 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



mayank agrawal

I am devops enthusiast always trying to learn new technologies and try to implement in real world to solve real use cases. Creative integrator