Featured resource
2025 Tech Upskilling Playbook
Tech Upskilling Playbook

Build future-ready tech teams and hit key business milestones with seven proven plays from industry leaders.

Check it out
  • Lab
    • Libraries: If you want this lab, consider one of these libraries.
    • Cloud
    • Data
Google Cloud Platform icon
Labs

Set Up a WordPress Site Using EC2 and RDS

Amazon Relational Database Service (Amazon RDS) allows users to easily create, operate, and scale a relational database in the cloud. In this lab, we create an RDS database, install a web server and configure WordPress to connect to the RDS database. We then run the final configuration through the web browser and are presented with a working WordPress blog. By the end of this lab, the user will understand how to create an RDS database and configure WordPress to use it to store data.

Google Cloud Platform icon
Lab platform
Lab Info
Level
Beginner
Last updated
Sep 23, 2025
Duration
1h 15m

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
Table of Contents
  1. Challenge

    Create RDS Database

    Using the AWS console, create an RDS database with the following configurations:

    • Choose a database creation method: Standard create
    • Engine options: MySQL
    • Edition: MySQL Community
    • Version: The current version
    • Templates: Free tier
    • DB instance class: db.t3.micro
    • DB instance identifier: wordpress
    • Master username: wordpress
    • Master password: wordpress
    • Availability zone: us-east-1a
    • Select the non-default security group and remove the default security group.
    • Expand the Additional configuration section and, under Initial database name, enter wordpress.
  2. Challenge

    Install Apache and Dependencies

    Connect to your Cloud Server webserver-01 and perform the following tasks:

    • Use the apt command to install: apache2 libapache2-mod-php php-mysql
    • Move the /wordpress folder into your /var/www directory
    • Move your /var/www/wordpress/000-default.conf file to /etc/apache2/sites-enabled/
    • Restart apache2ctl
  3. Challenge

    Configure WordPress

    Configure wp-config.php to connect to the RDS database we created.

    • Edit your /var/www/wordpress/wp-config.php file and replace 'localhost' by your own RDS endpoint on the line define('DB_HOST', 'localhost');
    • Save and close the file
  4. Challenge

    Modify Security Groups

    Modify your non-default security group to allow the EC2 instance to connect to the MySQL/Aurora RDS database.

  5. Challenge

    Complete Wordpress Installation and Test

    Visit the website and complete the installation, ensuring the website can be visited and the WordPress portal works.

    Use the following information for the WordPress installation page:

    • Site Title: A Cloud Guru
    • Username: guru
    • Password: Select a strong password and copy it to your clipboard for later.
    • Your Email: [email protected]
About the author

Pluralsight Skills gives leaders confidence they have the skills needed to execute technology strategy. Technology teams can benchmark expertise across roles, speed up release cycles and build reliable, secure products. By leveraging our expert content, skill assessments and one-of-a-kind analytics, keep up with the pace of change, put the right people on the right projects and boost productivity. It's the most effective path to developing tech skills at scale.

Real skill practice before real-world application

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Learn by doing

Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.

Follow your guide

All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.

Turn time into mastery

On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.

Get started with Pluralsight