Deploy WordPress Over EC2 instance Using AWS RDS as MYSQL Database Server.

AWS RDS(Relational Database Service)

Amazon RDS is a managed relational database service that provides you six familiar database engines to choose from, including Amazon Aurora, MySQL, MariaDB, Oracle, Microsoft SQL Server, and PostgreSQL.

STEPS:

  1. Create Database Server Using AWS RDS(Relational Database Service).
  2. Provision an EC2 Instance.
  3. Configure an environment for the WordPress application.
  4. Download the WordPress application and configure it.
  5. Configuring WordPress, provide the endpoint/connection string to WordPress.

Step-1: Create Database Server Using AWS RDS(Relational Database Service).

We need an RDS-MYSQL instance with public access and for this follows below steps shown in the pictures.

RDS-MYSQL-CONF
RDS-Security Group

Step-2: Provision an EC2 Instance.

I am using Amazon AMI in this demo.

AMI
Instance Spec

Step-3: Configure an environment for the WordPress application.

As WordPress application is written in PHP we have to instance PHP having version 7.0+ and To use this website we need a webserver.

Install HTTPD and PHP

Step-4: Download the WordPress application and configure it.

wget https://wordpress.org/latest.tar.gz
Download WordPress and Extract
Setup

Step-5: Configuring WordPress, provide the endpoint/connection string to WordPress.

follow me for more interesting and technology-related articles.

Thank you for reading😇.

Aspiring Cloud DevOps Engineer

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