Deploy Quasar + Laravel + MySQL on AWS EC2 (Default VPC)
AWS EC2 Laravel Quasar / Vue.js MySQL A complete, step-by-step guide to deploying a full-stack application — Quasar (Vue.js) frontend, Laravel API backend, and MySQL database — on a single EC2 instance using the default VPC. ARCHITECTURE OVERVIEW Quasar SPA :80 / → Nginx reverse proxy → Laravel API :8000 /api → MySQL 8 :3306 All running on a single EC2 instance (Ubuntu 22.04) inside the default VPC TABLE OF CONTENTS Prerequisites Launch EC2 Instance Install Dependencies Set Up MySQL Deploy Laravel Backend Deploy Quasar Frontend Configure Nginx SSL with Let's Encrypt Troubleshooting STEP 01 Prerequisites Before starting, make sure you have: An AWS account with access to the EC2 dashboard A domain name pointed to your server (optional, but needed for SSL) Your Quasar + Laravel project pushed to a Git repository A local SSH key pair ℹ️ This guide assumes a single-server deployment. For production at scale, consider separat...