AWS WordPress Deployment | Scalable Cloud Hosting with Backup & Recovery

aws ec2 rds s3 elb autoscaling ssh linux wordpress

AWS WordPress Deployment Screenshot

In this blog post, I’ll walk you through how I deployed a scalable WordPress website on AWS, featuring load balancing, external database support, auto scaling, and full backup/restore capability β€” all verified in a detailed deployment report.


🧠 What It Does

This cloud-based deployment mirrors a production-grade WordPress setup:

  • Launches EC2 with a LAMP stack
  • Installs and hosts WordPress
  • Migrates database to Amazon RDS
  • Adds an Elastic Load Balancer for traffic distribution
  • Automates full site backup to S3
  • Restores site from S3 backup
  • Uses Launch Template + ASG to scale based on CPU usage
  • Demonstrates secure SSH access from Windows using PuTTY

πŸ› οΈ Tech Stack

Tool / ServicePurpose
EC2Hosts the WordPress site
RDSExternal MySQL database for WordPress
S3Backup and restore WordPress files/database
ELBLoad balances traffic across instances
Auto ScalingDynamically adjusts instance count
Launch TemplateBlueprint for EC2 creation in scaling group
SSH (PuTTY)Remote access and server management

πŸ” Why I Built It

This project was part of a university assessment designed to simulate real-world cloud engineering workflows. I wanted to learn how to deploy and manage scalable infrastructure using AWS, and gain hands-on experience with DevOps best practices like automation, high availability, and recovery.


πŸ’‘ How It Works

  1. Created a new AWS account and generated an SSH key pair
  2. Launched an EC2 instance and manually installed WordPress
  3. Set up Apache, PHP, MySQL, and WordPress configuration
  4. Migrated the WordPress database to an RDS MySQL instance
  5. Configured ELB to route traffic across EC2s
  6. Backed up files and DB to an S3 bucket
  7. Created a new EC2 from S3 backup
  8. Created a Launch Template + Auto Scaling Group
  9. Simulated CPU load to trigger scaling
  10. Verified SSH access via PuTTY and executed Linux CLI operations

πŸ“„ Project Report

πŸ‘‰ Download the Full Report (PDF)

This contains:

  • βœ… Screenshots for each AWS step
  • 🌐 Previously live public URLs
  • 🧾 Deployment architecture and flow
  • πŸ”§ Errors faced and how I resolved them

πŸ“š What I Learned

  • ☁️ How AWS services interconnect to host production web apps
  • πŸ” Secure server access via SSH keys and PuTTY
  • πŸ’Ύ Real-time site backup/restore using S3
  • πŸ“ˆ Auto Scaling Groups with CPU monitoring
  • πŸ› οΈ Hands-on practice with ELB, RDS, and EC2

🧠 Final Thoughts

This was one of the most valuable DevOps-style projects I’ve completed. It pushed me to explore AWS’s ecosystem hands-on and design a resilient, scalable WordPress deployment from scratch.

If you’re interested in mastering AWS infrastructure for hosting real-world web apps, this project is an excellent starting point. You can explore the report, fork the GitHub repo, and even try deploying your own setup using the same methods.

Build infrastructure that doesn’t just work β€” but adapts, scales, and recovers automatically.