WordPress With RDS on AWS Cloud

Sagar jangid
2 min readJun 18, 2021

--

We do all the things on the AWS Cloud.

In this blog, we are going to launch an Instance for configuring WordPress and connect to RDS for permanent storage.

Let’s start: —

Launch an Instance for the WordPress OS

SSH Instance with putty and configure WordPress

Let’s install httpd, vim, Php:7.4, php-mysqlnd

Run these commands

dnf install httpd -y
dnf install wget vim -y
dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
dnf install https://rpms.remirepo.net/enterprise/remi-release-8.rpm
dnf module install php:remi-7.4
dnf install php-mysqlnd -y

Install WordPress and unzip in /var/www/Html folder

wget https://wordpress.org/latest.tar.gz
tar -xvzf latest.tar.gz -C /var/www/html

Start Webserver for deploy WordPress

systemctl start httpd
systemctl enable httpd

Install MySql

dnf install mysql -y

Setup database: —

We are going to launch RDS with Engine type MYSQL

After this setup Click on →Create Database

Open WordPress page http://ip/wordpress

Click on → Let’s go!

Finally, all setup done

Thanks

--

--