Architecture Overview
Full Pipeline
Developer (localhost)
│
│ git push origin staging
▼
GitHub Repository
│
▼
GitHub Actions Pipeline
├─► SonarQube (13.232.46.24)
│ PHP code quality scan
│ FAIL → Stop + notify
│ PASS ↓
│
└─► Staging EC2 (13.234.20.114)
CloudPanel + Nginx
Theme files deploy (SCP)
│
│ QA approve
▼
Production Server
(Lightsail per client)
Servers
| Server |
IP |
Spec |
Cost |
| SonarQube |
13.232.46.24 |
t3.micro |
~$8.50/mo |
| Staging |
13.234.20.114 |
t3.small |
~$17/mo |
| Production |
Per client |
Lightsail $5 |
$5/mo each |
DNS (Cloudflare)
sonarqube.enfection.com → 13.232.46.24 (DNS only)
development.enfection.com → 13.234.20.114 (DNS only)
*.development.enfection.com → 13.234.20.114 (DNS only)