SysPadExamples › Mobile app on Firebase + AWS

Mobile app on Firebase + AWS

Firebase Firestore + Auth for the mobile client, native BigQuery analytics export, and a thin AWS backend (API Gateway → Lambda → EventBridge) for the business logic Firebase alone can’t do.

A hybrid Google-Cloud/AWS stack: most traffic never leaves Firebase, a minority crosses into AWS via a webhook, and analytics events branch off to BigQuery independently.

Mobile App Users Firebase Firebase BigQuery BigQuery Webhook API API Gateway Webhook Handler Lambda Event Bus EventBridge Push Notifications SNS Order State DynamoDB

How it works

Firebase
The client talks to Firestore directly, so most traffic never leaves Google and never touches a backend of ours. Billing is per document, not per request, which is why documents-per-operation matters more than RPS here.
BigQuery
Firebase's own one-click export. Analytics queries run here, off the transactional path, and are billed by bytes scanned rather than by how often anyone asks.
Webhook API
The single seam between the two clouds. Only a tenth of traffic crosses it, which is what keeps a hybrid like this affordable and debuggable.
Event Bus
Decouples the webhook from whatever happens next. One publish, several consumers, and adding a fourth consumer is a rule change rather than a deploy.

Other reference architectures

Open this architecture in SysPad · All examples