Creating a Wordpress Application with a backend database of AWS
Task Descriptionđź“„
đź”… 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, you need to setup a MySQL server using AWS RDS service using Free Tier.
đź”… Provide the endpoint/connection string to the WordPress application to make it work.
It’s a fun task and it has a real-life use case and 1/4th of the world’s websites use Wordpress. I will continue with the demonstration on how to build one…
> First of all, Go to Amazon Services > RDS > Databases
> Create A Database
> Choose Template. Give a DB Name
> Choose a Username and Password
> Select Amount of Storage and AutoScaling
> Select VPC and Subnet group for security changes..
> Finally, choose Security group and Create Database…
> Go to your AWS Instance via PuttY through SSH and Install epel-release, httpd, remi for php, mysql config and finally wordpress config from its official website.
> Enable httpd services and setenforce 0, Connect to its public IP and open /wordpress, so it’s Installation page is visible..
> Set-up your email, password and database link provided as an end-point in RDS.
> Congratz, you finally made a Wordpress enabled httpd website…