LaporPah - AWS Infrastructure Architecture
About This Architecture
LaporPah is a multi-AZ AWS infrastructure for a public reporting application, combining EC2-hosted Node.js backends with RDS PostgreSQL replication across ap-southeast-1a and ap-southeast-1b. GitHub Actions automates Docker image builds and pushes to Docker Hub, triggering EC2 deployments via CI/CD pipelines that pull the latest container images. The VPC spans two availability zones with public subnets hosting NAT Gateways and EC2 instances, while private subnets isolate RDS Primary and Standby databases with security groups enforcing port 5432 access only from EC2. S3 stores citizen-submitted photos in the lapor-pah-photos bucket, and CloudWatch monitors application health and infrastructure metrics. This architecture demonstrates high availability, automated deployment, and secure database isolation for mission-critical civic engagement systems.
People also ask
How do I design a highly available AWS infrastructure for a citizen reporting application with automated CI/CD deployments?
LaporPah demonstrates a production-grade multi-AZ AWS setup: EC2 t2.micro instances in public subnets run Node.js backends deployed via GitHub Actions CI/CD, RDS PostgreSQL Primary and Standby databases replicate across AZs for failover resilience, and security groups enforce least-privilege access (port 5432 from EC2 only). S3 stores citizen photos and CloudWatch monitors the entire stack.
- Domain:
- Cloud Aws
- Audience:
- AWS solutions architects designing scalable citizen reporting platforms
Generated by Diagrams.so — AI architecture diagram generator with native Draw.io output. Fork this diagram, remix it, or download as .drawio, PNG, or SVG.