Hosting WordPress on EC2

๐Ÿ–ฅ๏ธ Hosting WordPress on AWS EC2

This project documents how I hosted a WordPress blog on an AWS EC2 instance using the free tier. I manually set up Apache, PHP, MariaDB, and WordPress on an Amazon Linux 2023 instance. โœ… Tools Used AWS EC2 (Amazon Linux 2023) PuTTY (SSH client) WordPress Apache, PHP, MariaDB ๐Ÿ”ง 1. Launch EC2 Instance Chose Amazon Linux 2023 Instance type: t2.micro Set key pair (used later for SSH) Placed EC2 in a public subnet with auto-assigned public IP Security group rules: -Allow SSH (port 22) from your IP -Allow HTTP (port 80) from anywhere ๐Ÿ”‘ 2. SSH into EC2 Instance Using PuTTY: ...

June 19, 2025 ยท 2 min ยท Brian Njenga Mwaura