Project Duration: May 2025 – Jun 2025
A full-stack PHP + MySQL web application with scalable AWS cloud deployment.
Secondhand Market is a lightweight web application that allows users to post, browse, comment on, and manage second-hand items. It includes user authentication, item management, image uploads, and a clean modular PHP backend.
This project is deployed on AWS using a production-ready architecture that includes Elastic Beanstalk, EC2 Auto Scaling, Application Load Balancer, RDS MySQL (Multi-AZ), custom AMI, and a custom VPC with multi-AZ public subnets. The design ensures scalability, high availability, and stable performance.
- User registration, login and logout
- Session-based authentication
- Form validation and sanitization
- Post items with image upload
- Edit and delete listings
- View item details
- Item comment system
- Browse all items
- MySQL relational database
- Secure PHP query handling
- File upload processing
- Organized and modular code structure
- The cloud deployment is based on the following architecture:
- Manages application environment, deployment and health monitoring
- Handles provisioning and integrates with EC2, ALB and Auto Scaling
- Amazon Linux AMI preinstalled with Apache, PHP, and application files
- Used by the Auto Scaling Group for fast instance creation
- Minimum 2 and maximum 8 EC2 instances
- Scaling triggered by NetworkOut utilization
- Distributes traffic between EC2 instances
- Performs health checks and removes unhealthy instances
- Managed database with automatic failover
- Provides high availability and backup support
- Two public subnets across two availability zones
- Internet Gateway and routing configuration
- Separate security groups for EC2 and RDS
- Elastic Beanstalk environment event notifications
- Alerts for server health and deployment status
- HTML5
- CSS
- PHP 8+
- Apache
- MySQL
- AWS Elastic Beanstalk
- AWS EC2
- AWS RDS (MySQL)
- AWS Auto Scaling
- AWS Application Load Balancer
- AWS AMI
- AWS VPC