Ayumilan / Deploy-Wordpress-using-AWS-EC2-RDS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deploy-Wordpress-using-AWS-EC2 & RDS

🔅 Create an AWS EC2 instance

🔅 Configure the instance with Apache Webserver.

🔅 Download php application name “WordPress”.

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

🔅 Provide the endpoint/connection string to the WordPress application to make it work.

Steps To Launch An EC2 Instance

Go to your AWS console and launch an instance. follow the ScreenShot 1 2 3 4 5 6 7 8 9

Our Instance has launched.

10

Steps to configure the instance with Apache Webserver

Open the Instance in putty and configure it. Install httpd, vim, php, wget

11 12 13

Steps to download php application name “WordPress”

14

untar the file and copy it in /var/www/html folder

15

Check the httpd service status

16

Check the website with the instance ip

17

Set up the RDS database on AWS

As wordpress stores data at the backend in MySQL Database server. Therefore, setup a MySQL server using AWS RDS service using Free Tier follow the steps

18 19 20 21 22 23 24

Our RDS is created

25

Steps to provide the endpoint/connection string to the WordPress

26 27

here we see, we are unable to connect to the database we have to change some inbound rule in security group

28

Again connect with the database...

29 30 31 32

Now we have to Set up the config file ..

33 34

Let's Login to the wodpress site ...

35 36 37

THANK YOU :)

About