WordPress Application on AWS with MySQL Database

Today we are gonna launch WordPress application on AWS instance and connect it to MySQL database provided by AWS RDS.

For creating AWS instance with the help of AWS EC2 services follow below mentioned steps in photos

Now just click on launch and your instances is launched.

Now use yum install httpd -y to install httpd on instance:

After installing httpd, now we have to start the services using systemctl start httpd command:

For installing WordPress we have to install some dependencies as shown below:

Now install WordPress application in {/var/www/html} with the help of curl command as shown below:

Now unpack the wordpress.tar.gz archive.

Now restart httpd service with systemctl restart httpd command.

For launching database use AWS RDS service as shown below:

After filling all the necessary details click on create database and your database is created.

Now create a database named wpdb inside MySQL database:

And now we are ready to use our WordPress application. Connect to your WordPress application using your instance IP:

After clicking ‘Let’s go’ all of the details will appear.

As you can see our application is running properly.

Leave a message in the comments if you require any further assistance!

GitHub Link :-

LinkedIn Link :-

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

CYBR Update - Web & Team Building

Introduction to Disciplined Agile Delivery

“When I started doing this, there were barely places to look for samples”: David González on…

Simple API Explanation and Examples (+ an easy to understand Infographic)

In Control

Explaining SOLID with LEGO

Getting started with Unity ML-Agents

2021–04–25 — Weekly Articles

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
harsh

harsh

More from Medium

AWS IAM: Resource Based Policies

How to run docker containers on AWS?

Securing Your Aws Account.

High Availability Architecture with AWS CLI