Integrating Amazon RDS with WordPress 💫

⭐Amazon Relational Database Service (RDS) ⭐

⭐WordPress ⭐

Let’s Begin…

🔅 Create an AWS EC2 instance

🔅 Configure the instance mysql database and apache webserver.

yum install mysql -y
amazon-linux-extras install php7.2 -y
yum install httpd -y
wget https://wordpress.org/latest.tar.gz
tar -xzf latest.tar.gz
mv wordpress /var/www/html
vim /etc/httpd/conf/httpd.confAllowOverride All

🔅 As wordpress stores data at the backend in MySQL Database server. Therefore, you need to setup a MySQL server using AWS RDS service using Free Tier.

👉🏻 DataBase created :

Creating mysql database :

CREATE DATABASE <database_name>;

👉🏻 Here we can see database mywp1 is empty

use <database_name>;show tables;

👉🏻 Now on browser:

http://<public_ip>/wordpress

👉🏻 And now you can see wordpress stores information in mywp1 database :

use <database_name>;show tables;

Finally our Task is completed successfully !!!!😄✌🏻

Thanks for Reading !! 🙌🏻😁📃

🔰 Keep Learning !! Keep Sharing !! 🔰