Self-Hosted Supabase on AWS
Deploy a fully self-hosted Supabase stack on your own AWS infrastructure — PostgreSQL, GoTrue auth, Realtime, Storage, and Edge Functions — all inside your VPC with full data sovereignty.
SupabaseAWSSelf-HostedPostgreSQLTerraformInfrastructureVPC
Features
- Full Supabase stack — PostgreSQL, GoTrue, Realtime, Storage, Edge Functions
- Deployed inside your own AWS VPC with private subnets
- Automatic SSL/TLS certificate management
- Infrastructure as code with OpenTofu (Terraform)
- Data sovereignty — choose any AWS region
- Automated migration from hosted Supabase via Staticbot
Use Cases
- • Enterprise apps requiring data sovereignty and VPC deployment
- • Migrating Lovable / AI-generated apps from hosted Supabase to self-hosted
- • Regulated industries (healthcare, finance, government) needing full infrastructure ownership
- • Teams that want Supabase developer experience with enterprise-grade deployment
- • See Lovable Apps for Enterprise for the full migration path
- • Use the downloadable migration package + Claude Code to apply a migration locally when this stack lives inside your private VPC
Requirements
- AWS account
- Domain name for the Supabase API endpoint (optional)
