Integrating Amazon RDS with WordPress

Integrating Amazon RDS with WordPress

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

Amazon Relational Database Service (RDS)

Amazon Relational Database Service (Amazon RDS) makes it easy to set up, operate, and scale a relational database in the cloud. It provides cost-efficient and resizable capacity while automating time-consuming administration tasks such as hardware provisioning, database setup, patching and backups. It frees you to focus on your applications so you can give them the fast performance, high availability, security and compatibility they need.

No alt text provided for this image

Amazon RDS is available on several database instance types - optimized for memory, performance or I/O - and provides you with six familiar database engines to choose from, including Amazon AuroraPostgreSQLMySQLMariaDBOracle Database, and SQL Server. You can use the AWS Database Migration Service to easily migrate or replicate your existing databases to Amazon RDS.

No alt text provided for this image

WordPress (WPWordPress.org) is a free and open-source content management system (CMS) written in PHP and paired with a MySQL or MariaDB database. Features include a plugin architecture and a template system, referred to within WordPress as Themes. WordPress was originally created as a blog-publishing system but has evolved to support other web content types including more traditional mailing lists and forums, media galleries, membership sites, learning management systems (LMS) and online stores. WordPress is used by 41.4% of the top 10 million websites as of May 2021, WordPress is one of the most popular content management system solutions in use. WordPress has also been used for other application domains, such as pervasive display systems (PDS).

1. Create an AWS EC2 instance

To create an EC2 instance using Amazon Linux 2 image

No alt text provided for this image
No alt text provided for this image

2. Configure the instance mysql database and apache webserver :

1. Install mysql

No alt text provided for this image

2. Install PHP

No alt text provided for this image

3. Install httpd

No alt text provided for this image

4. Install WordPress

No alt text provided for this image

5. Extract WordPress

No alt text provided for this image

6. Moving WordPress folder to root directory /var/www/html

No alt text provided for this image

7. Edit httpd configuration file

No alt text provided for this image

8. Start httpd service

No alt text provided for this image

3. Now we create a database :

🔅 WordPress stores data at the backend in the MySQL Database Server. Therefore, you need to setup a MySQL server using AWS RDS service using Free Tier.

No alt text provided for this image
No alt text provided for this image
No alt text provided for this image
No alt text provided for this image
No alt text provided for this image
No alt text provided for this image
No alt text provided for this image
No alt text provided for this image
No alt text provided for this image

SUCCESSFULLY LAUNCHED DATABASE

4. Creating mysql database :

No alt text provided for this image
No alt text provided for this image
No alt text provided for this image

Here we can see database mydb1 is empty

Thanks for Visiting here…!!!






To view or add a comment, sign in

More articles by Tejas Pimple

  • High Availability Architecture with AWS CLI

    🔰 Link to the previous article showing how to get started with AWS CLI - https://www.linkedin.

    1 Comment
  • Case Study On AWS SQS

    What is AWS SQS? Amazon Simple Queue Service (SQS) is a fully managed message queuing service that enables you to…

    5 Comments
  • AWS- Case Study on Xiaomi

    What is Cloud Computing ? Cloud computing is the on-demand delivery of IT resources over the Internet with…

    6 Comments
  • Building Cloud Infrastructure Using AWS CLI..

    To, get those things you need to go to your AWS account from AWS Web Console. Then go to “IAM” service => click on…

Others also viewed

Explore content categories