Skip to content
freetier.wiki

Firebase Cloud Functions

Run backend code in response to events triggered by Firebase features and HTTPS requests, without managing servers. · Google Cloud · Compute

Overview

Firebase Cloud Functions lets you run backend code in response to Firebase events or HTTP requests, with a generous free tier and seamless integration with other Firebase services.

Good fit

Use when you need to run backend code in response to Firebase events or HTTP requests without managing infrastructure.

  • event-driven apps
  • mobile backends
  • prototyping
  • Firebase-integrated projects

Not a fit

Avoid if you require long-running processes, custom runtimes, or need strict control over server resources and networking.

  • need for custom runtimes
  • long-running tasks
  • strict latency requirements
Quickstart · 4 steps
  1. Install Firebase CLI and initialize your project with 'firebase init functions'.
  2. Write your function code in 'functions/index.js' or 'functions/src/index.ts'.
  3. Deploy your functions using 'firebase deploy --only functions'.
  4. Test your functions via Firebase console or HTTP requests.

Other free compute options

Cloudflare · Compute
100,000 requests/day · 10ms CPU time/request · Up to 100 Workers per account
Billing risk: None
No card
Vercel · Compute
1,000,000 Edge Requests/month included · 100 GB Fast Data Transfer/month included · 1 team seat on the Hobby plan
Billing risk: None
No card
1,000,000 Function Invocations/month included · 4 hours Fluid Active CPU/month included · 360 GB-hrs Fluid Provisioned Memory/month included
Billing risk: None
No card
Trigger.dev · Compute
$5 compute credits per month · 20 concurrent runs · Unlimited tasks
Billing risk: None
No card