Skip to content

Repository files navigation

AWS Dynamic WordPress Website Deployment

Project Overview

A dynamic WordPress website deployed on an AWS EC2 Linux server using Apache HTTP Server, PHP, and MariaDB.

The project demonstrates the complete deployment process from EC2 server setup and database configuration to WordPress installation, Linux file permissions, application configuration, and live website validation.


Objective

To deploy and validate a complete dynamic web application on AWS EC2 and understand how the cloud compute layer, Linux operating system, web server, PHP runtime, WordPress application, and database work together.


Architecture

                         Internet
                            │
                            ▼
                    ┌───────────────┐
                    │    AWS EC2    │
                    │ Amazon Linux  │
                    └───────┬───────┘
                            │
                            ▼
                    ┌───────────────┐
                    │ Apache HTTP   │
                    │    Server     │
                    └───────┬───────┘
                            │
                            ▼
                    ┌───────────────┐
                    │ PHP +         │
                    │ WordPress     │
                    └───────┬───────┘
                            │
                            ▼
                    ┌───────────────┐
                    │    MariaDB    │
                    │    wp_nkdb    │
                    └───────────────┘

Technologies Used

  • AWS EC2
  • Amazon Linux
  • Apache HTTP Server
  • PHP
  • MariaDB
  • WordPress
  • Linux CLI

Deployment Workflow

EC2 Instance
     ↓
Amazon Linux
     ↓
Apache Installation & Configuration
     ↓
PHP Installation & Validation
     ↓
MariaDB Installation & Configuration
     ↓
WordPress Database & User Creation
     ↓
Database Privilege Assignment
     ↓
Security Group Configuration
     ↓
WordPress Deployment
     ↓
File Ownership & Permissions
     ↓
WordPress Configuration
     ↓
WordPress Installation
     ↓
Website & Content Validation

Implementation

1. EC2 Server Setup

Provisioned an Amazon EC2 instance running Amazon Linux as the compute environment for the dynamic website.

2. Web Server Configuration

Installed and configured Apache HTTP Server to serve the WordPress application.

3. PHP Configuration

Installed PHP and validated server-side PHP processing through the web server.

4. MariaDB Configuration

Configured MariaDB and created a dedicated WordPress database and application user.

5. Database Access Control

Assigned the required database privileges to the WordPress application user for the WordPress database.

6. WordPress Deployment

Downloaded, extracted, and deployed WordPress into the Apache document root at /var/www/html/.

7. File Ownership & Permissions

Configured WordPress file ownership and permissions for controlled web-server access.

8. WordPress Configuration

Created and configured wp-config.php with the WordPress database connection details.

9. Installation & Validation

Completed the WordPress installation, accessed the administration dashboard, edited website content, and verified the updated content on the live website.


Project Documentation

The complete project documentation contains the architecture, deployment workflow, implementation steps, and 27 screenshots covering the entire deployment process.

View Project Documentation in word View Project Documentation in PDF

The documentation includes evidence for:

  • EC2 server setup
  • Apache web server
  • PHP configuration and validation
  • MariaDB setup
  • WordPress database and user creation
  • Database privileges
  • EC2 security group configuration
  • WordPress download and deployment
  • File ownership and permissions
  • wp-config.php configuration
  • WordPress installation
  • Website validation
  • WordPress administration
  • Content editing
  • Linux command-line operations

Key Learning Outcomes

  • AWS EC2-based application deployment
  • Linux server and command-line operations
  • Apache web server configuration
  • PHP runtime validation
  • MariaDB database management
  • Database users and privileges
  • Linux file ownership and permissions
  • WordPress deployment and configuration
  • Dynamic website validation

Result

Successfully deployed and validated a dynamic WordPress website on an AWS EC2 Linux server using Apache, PHP, and MariaDB.

The website, WordPress administration panel, and updated website content were successfully verified.


Conclusion

This project provided practical hands-on experience in deploying a complete dynamic web application on AWS EC2 and understanding the interaction between cloud infrastructure, Linux, web server, application runtime, database, and WordPress.

About

Deployed a dynamic WordPress website on AWS EC2 using Amazon Linux, Apache, PHP, and MariaDB.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors