VENTURESAurabase acquires & invests in your apps, startups, mobile apps, SaaS and software.Read more →

Engineering · 10 min read

Migrate from Firebase to Aurabase (2026–2027 Guide)

Affane Daylami · Founder ·

Back to blog

Leaving Google Firebase removes unpredictable Blaze read/write billing spikes, proprietary Firestore query limits, and US CLOUD Act exposure. Aurabase lets you migrate either to PostgreSQL 18 or directly to our MongoDB-compatible NoSQL engine on European servers.

Quick answer: Migrating from Google Firebase to Aurabase in 2026–2027 follows four predictable steps: export Firestore collections (into PostgreSQL 18 tables/JSONB or --engine mongodb), export Firebase Auth users, mirror Cloud Storage buckets into Aurabase sovereign EU S3, and port Cloud Functions to Deno/TypeScript or WASM Edge Functions.

#

Service Mapping

Firebase to Aurabase component mapping

Firebase ServiceAurabase Equivalent (100% EU SAS)Key Upgrade
Cloud FirestoreDedicated PostgreSQL 18 or MongoDB-compatible NoSQLReal SQL joins, aggregations, zero per-read Blaze spikes
Firebase AuthAurabase Auth 2.1 (15 OAuth, OIDC, Passkeys, TOTP MFA)EU data residency, direct JWT auth.uid() RLS
Firebase StorageAurabase Sovereign S3 Storage (Scaleway / SeaweedFS)Standard S3 API, signed URLs, image transforms
Firestore ListenersAurabase Realtime CDC (NATS JetStream WebSockets/SSE)Works identically on SQL tables and NoSQL collections
Cloud FunctionsAurabase Edge Functions (Deno/TS or Wasmtime WASM)Sub-millisecond WASM cold starts + built-in Cron
Firebase MessagingAurabase Notifications (Push, Email, SMS, Rules)Unified delivery logs in EU ClickHouse
#

Step-by-Step CLI

Exporting Auth, Storage, and Firestore cleanly

# 1. Export Firebase Auth users
firebase auth:export firebase-users.json --format=json

# 2. Create your sovereign EU Aurabase project (SQL or MongoDB-compatible NoSQL)
aura projects create my-eu-app --region eu-west-fr

# 3. Import users and sync storage buckets via S3-compatible CLI
aura auth import-users --file firebase-users.json
rclone sync gs://my-firebase-bucket aurabase-s3:app-uploads

Convert Firestore Security Rules directly into database-enforced PostgreSQL RLS:

-- Replaces: allow read, write: if request.auth.uid == resource.data.ownerId;
ALTER TABLE notes ENABLE ROW LEVEL SECURITY;
ALTER TABLE notes FORCE ROW LEVEL SECURITY;

CREATE POLICY owner_only ON notes
  FOR ALL
  USING (owner_id = auth.uid())
  WITH CHECK (owner_id = auth.uid());
#

Resources

Finish your Firebase exit smoothly

READY TO DEPLOY?

Your backend in five minutes.

No credit card required · 500 MB free · 50,000 MAU