Application Development

Deploy a Firebase Studio App Elsewhere: 3 Paths

J
James Eriksson
··11 min read
Firebase Studio shuts down March 22, 2027. Export your app and move to Google AI Studio, Vercel, Netlify, Supabase, or Appwrite. Compare costs and tradeoffs.
TL;DR
  • Firebase Studio is sunsetting March 22, 2027; new workspaces were disabled June 22, 2026
  • Three paths forward: stay on Firebase using new Google tools (fastest), move frontend to Netlify/Vercel/Cloudflare (middle ground), or migrate off Firebase entirely to Supabase/Appwrite (most control)
  • Full migration takes 2-4 weeks and requires exporting code, transforming database schema, and redeploying backend logic
  • EU data residency favors migration to Supabase or managed hosts with EU servers; Firebase defaults to US regions
  • Vercel and Netlify cost ~$20/mo for static hosting; self-hosted via Hetzner costs ~$3-10/mo but requires DevOps skills; Ship offers flat-rate managed hosting starting $49/mo

Firebase Studio is sunset on March 22, 2027. New workspace creation was disabled June 22, 2026. If you have a working app built with Firebase Studio, you have three paths forward: stay on Firebase (but leave the Studio interface), move only your frontend to a new host, or migrate entirely away from Google infrastructure. This guide walks you through each, with honest tradeoffs.

Why Firebase Studio Apps Need a New Home (Before March 22, 2027)

Google announced the Firebase Studio sunset in early 2026. The studio interface--the visual builder and deployment console--is going away. Your app still works today, but the clock is running. New workspaces stopped accepting signups on June 22, 2026, which means if you have an existing app, you are on borrowed time to plan a migration.

What stays on Firebase: Firestore databases, Firebase Authentication, Cloud Functions, Storage. What goes: the UI that generated and deployed your app code. You need to take ownership of the code, export it, and either host it elsewhere or rebuild pieces.

The urgency is real but not panic-inducing. You have eight months from today (August 2026). Most migrations take 2-6 weeks depending on complexity.

Deployment Option 1: Stay on Firebase, Leave the Studio UI

Google's official recommendation is to move to Google AI Studio or Google Antigravity--still Google products, but newer interfaces for building apps. Firebase App Hosting (launched 2024) also accepts deployments via GitHub sync, letting you deploy without Firebase Studio.

The appeal: your backend services (Firestore, Auth, Cloud Functions) stay put. Zero data migration. You keep the same bill structure, same compliance profile, same API keys. The friction is purely on the frontend: you export your app code from Firebase Studio (as a ZIP or GitHub push), then redeploy it via Firebase CLI or GitHub Actions.

This path works if: you are happy with Firebase's feature set and pricing, you do not need EU data residency, and you are comfortable using Google's dev tools. It is the path of least resistance.

The catch: you remain locked into Google infrastructure. Your data centers are Google's. If Google raises prices (as they have before, in 2022), you have few options. If you need data to stay in the EU for GDPR reasons, Firebase defaults to US regions--you can select European, but only for certain services, and it costs more.

Deployment Option 2: Frontend-Only Move (Static Hosting)

If you are happy with your Firebase backend (Firestore, Auth) but want to decouple the frontend, this is the fastest path. You export your app code, configure environment variables to point to your Firebase project, and deploy to any static host: Netlify, Vercel, Cloudflare Pages, Railway, or DigitalOcean Static.

Steps are straightforward:

  1. Export your app code from Firebase Studio (Code View > Download ZIP or push to GitHub).
  2. Install dependencies locally (npm install or equivalent).
  3. Set Firebase config as environment variables in your new host's dashboard.
  4. Deploy (most hosts auto-deploy on git push).
  5. Update your domain DNS to point to the new host.

Timing: 30 minutes to 2 hours depending on your hosting provider.

This path works if: your app is mostly frontend (React, Vue, Next.js) with Firebase as the backend, you do not need custom server-side logic, and you want to try a new host without rearchitecting. Netlify and Vercel both offer free tiers and cost ~$20/month for a business site.

The catch: you are still locked into Firebase for data. If Firestore becomes expensive or you decide you need PostgreSQL, you face a bigger migration later. This buys you time, not independence.

Deployment Option 3: Full Migration (Leave Firebase Entirely)

If you want to own your stack, move off Google, or need EU data residency, you migrate both code and backend. This is the most work but gives you the most control.

Backend alternatives:

  • Supabase: PostgreSQL + Auth built on open-source Postgres. 100,000 GitHub stars. Free tier, ~$25/month for small production. EU data centers available.
  • Appwrite: Open-source backend-as-a-service. 57,100 GitHub stars. Self-hosted or managed cloud. Replaces Firestore + Auth + Storage.
  • AWS Amplify: AWS's managed backend stack. Enterprise option. Integrates with Firebase Migration Assistant.
  • PocketBase: Self-hosted SQLite-based backend. Minimal, cheap, requires more ops work.

Each requires you to:

  1. Export your Firestore data (Google provides export tools).
  2. Transform the schema to your new backend's format (1-3 days of work).
  3. Rewrite any Cloud Functions as serverless functions on your new host (AWS Lambda, Vercel Functions, Railway jobs).
  4. Migrate Firebase Auth users to your new auth system (most tools have bulk import).
  5. Redeploy your frontend to point to the new backend.

Timing: 2-4 weeks depending on app complexity.

This path works if: you anticipate long-term growth and want to avoid vendor lock-in, you need EU servers or compliance certifications, or your bill is growing and you want predictable pricing. For managed hosting for vibe-coded apps, Ship integrates with Supabase or Appwrite backends and offers flat-rate pricing instead of usage-based billing.

The catch: you need engineering time. Migrating a database and rewriting backend logic is not a one-afternoon task. If you have 3+ people on your team, this is worth it. If you are solo or bootstrapped, Option 1 or 2 buys you breathing room.

The EU Data Residency Angle

If your users are in Europe or you process EU personal data, GDPR requires you to store data in the EU or ensure an adequate data-processing agreement with your provider. Firebase defaults to US-based data centers. Google offers EU regions (Belgium, Finland), but they are not the default, and pricing increases.

This is where infrastructure choice matters. If you migrate to Supabase, Appwrite, or Ship's EU-based hosting, your data lives in an EU data center by default. No extra cost, no compliance gymnastics. For a growing business handling customer data, this removes a compliance risk.

Fire base is not non-compliant--it just requires more deliberate setup. If you have already done that and are happy, stay. If you are building in the EU or for EU customers and want simpler compliance, migration is worth considering.

Step-by-Step: Exporting Code from Firebase Studio

This is the first concrete step for any path:

  1. Open your Firebase Studio project. Log in at firebase.studio.
  2. Switch to Code View (if your app was built visually, the Code tab shows the generated code).
  3. Download or push to GitHub. Most Firebase Studio projects offer a "Download" button (exports a ZIP) or "Connect to GitHub" (auto-pushes code). GitHub is better if you plan to redeploy automatically.
  4. Check for secrets. Firebase config (API key, project ID, auth domain) may be baked into the code or stored in a .env file. Before committing to GitHub, ensure sensitive keys are stored as environment variables, not in the repo.
  5. Test locally. Extract the ZIP, run npm install, npm start or equivalent. Verify the app loads and connects to your Firebase project.
  6. Check for custom functions. If you wrote any Cloud Functions, they are separate from your frontend code. Export them from the Firebase Console (Functions section > download source).

Choosing Your New Host: Comparison of Real Options

HostTypePricingProsCons
VercelManaged (Next.js-first)Free tier; $20/mo BusinessFast, automatic scaling, edge functionsStill SaaS lock-in, can be expensive at scale
NetlifyManaged (static-first)Free tier; ~$19/moEasy deploy, Netlify Functions, global CDNLimited backend options, pricey for high traffic
Cloudflare PagesManaged (static)Free tier; $20/mo BusinessGlobal edge, cheap, integrated DNSMinimal backend support without Workers
RailwayManaged (Docker)Pay-as-you-go (~$5-50/mo)Simple deployment, supports any stackNot completely serverless, pricing less transparent
Opsily/ShipManaged (full-stack)Flat-rate $49-149/moEU data centers, Supabase + Appwrite included, predictable costsRequires moving backend too; not free tier
Hetzner + Coolify/DokploySelf-hosted~$3-10/mo server + your timeCheapest, full control, EU serversRequires DevOps skills, on-call maintenance

Honest truth: if you optimize purely for cost and have DevOps skills, Hetzner ($3/mo) plus a free deployment tool (Coolify, Dokploy) beats everything. You own the infrastructure and pay nearly nothing.

If you optimize for speed-to-market and predictability, Ship's flat rate ($49-149/mo) beats Vercel/Netlify--no surprise bills, EU data by default, and your app scales without additional fees.

If you are moving only your frontend and keeping Firebase, Vercel or Netlify are the obvious choice. They integrate with Firebase APIs and cost almost nothing at small scale.

Choose based on your constraint: cheapest, fastest, most control, or best compliance.

Common Blockers & Solutions

Firebase config is baked into the code, not in.env. Solution: Extract Firebase config (API key, project ID, auth domain, database URL) from Firebase Console. Add to your hosting provider's environment variables section. Update your app code to read from process.env instead of hardcoded strings. Most frameworks (Next.js, Vue, React) have documented env var patterns.

OAuth domains need whitelisting. If your app uses Google login or third-party OAuth, those providers whitelist your domain. When you change domains (from Firebase Hosting to Vercel, for example), update the OAuth redirect URIs. Firebase Console > Authentication > Sign-in Providers > Google > Authorized Domains. Add your new domain.

Firestore real-time subscriptions are now broken. If your app uses Firestore's onSnapshot() for live data, it still works--but the new host must have network access to Firestore. Verify your firewall rules are not too strict. For full migrations to Supabase/Appwrite, rewrite subscriptions to use your new backend's real-time API.

Cloud Functions are not deployed automatically. Firebase Studio does not deploy your custom functions. You need to export them (Firebase Console > Functions > download source) and redeploy manually via Firebase CLI or your new platform's serverless deployment (AWS Lambda, Vercel Functions, Supabase Edge Functions).

Your domain is tied to Firebase. If you own a custom domain and it is pointed to Firebase Hosting, you update DNS to your new host. Firebase Hosting continues to work for 90 days after you change DNS, so there is a grace period. If you use a *.firebaseapp.com domain, you must switch to your custom domain before the sunset.

FAQ

Why is Google shutting down Firebase Studio?

Firebase Studio was an experimental tool for building full-stack apps without code. Google decided to focus on AI-assisted development instead (Google AI Studio, Antigravity). Firebase Studio did not see adoption at scale, so the company redirected those resources.

What are the limitations of Firebase hosting?

Firebase Hosting is static-only by default--it serves HTML, CSS, JavaScript, images. Dynamic backends (databases, authentication, server-side logic) require separate Firebase services (Firestore, Auth, Cloud Functions). Pricing is usage-based: $0.50 per GB stored, $1.00 per GB served monthly. For high-traffic sites, bills can spike without warning.

Is it possible to transfer a Firebase project to another account?

No, not directly. You can export data and redeploy, but you cannot transfer a Firebase project between Google accounts. Create a new project in the target account, export your data, and import it. Alternatively, add the new account as an editor to your existing project.

Can Firebase handle 10 million users?

Yes, if structured correctly. Firebase (Firestore + Auth) scales automatically. However, costs scale with users. At 10 million active users, Firebase bills can reach thousands per month depending on read/write patterns. If your app does not optimize queries, costs accelerate fast.

What are some free alternatives to Firebase?

Supabase (free tier up to 500MB), Appwrite (self-hosted, free), PocketBase (self-hosted, free). AWS Amplify has a free tier. For truly free, you need self-hosted or a generous free tier; managed providers (Supabase, Appwrite Cloud) are free up to a limit, then paid.

Which is better, Supabase or Firebase?

Supabase is open-source PostgreSQL with Auth built in. Firebase is closed-source Google infrastructure. Supabase is cheaper long-term, easier to self-host, and offers better data portability. Firebase is faster to spin up and integrates tightly with Google Cloud. For lock-in risk, Supabase wins. For pure speed, Firebase wins.

Which is better, Appwrite or Firebase?

Appwrite is open-source and self-hosted first, Firebase is proprietary and cloud-only. Appwrite gives you full control; Firebase gives you managed operations. For compliance, data sovereignty, and cost predictability, Appwrite is better. For simplicity and Google ecosystem integration, Firebase is better.

What are the limitations of Firebase hosting?

Static content only, usage-based pricing, vendor lock-in (data in Google infrastructure), no EU data residency by default, limited backend support without tying to other Firebase services.

The Bottom Line

Firebase Studio is sunsetting March 22, 2027. You have eight months to move your app. Your three paths are: stay on Firebase (easiest, same vendor lock-in), move your frontend to Vercel/Netlify/Cloudflare (faster, partial independence), or migrate off Firebase entirely (most work, most control).

If you need EU data residency, predictable pricing, or want to avoid Google lock-in, migration is worth the effort. If you are happy with Firebase's features and bill, staying is fine--just export your code and use the new Google tools (AI Studio, App Hosting).

For full-stack teams needing a managed alternative with flat-rate pricing and EU data centers, Ship offers all-in hosting for modern apps with backends like Supabase and Appwrite already integrated.

Host your migrated app flat-rate
Ship manages your infrastructure with EU data centers, Supabase or Appwrite backends, and predictable pricing—no surprise bills.
Get Started Free

Ready to self-host your own apps?

One server. Multiple apps. No per-app fees.

Get started →