What exactly mean “No Outbound Networking” in free tier on Cloud Functions for Firebase?

后端 未结 3 563
独厮守ぢ
独厮守ぢ 2020-12-11 05:10

In Google Firebase pricing (https://firebase.google.com/pricing/) table states:

The Spark plan only allows outbound network requests to Google-owned

相关标签:
3条回答
  • 2020-12-11 05:31

    no, they do not talk about JavaScript Functions, they talk about serverless computing functions

    https://firebase.google.com/features/functions/

    theses functions can make only make http calls to Google Services and e.g. not to Yahoo or Amazon services

    0 讨论(0)
  • 2020-12-11 05:43

    At lowest possible costs (USD 11.53) it is better to have Blaze plan and use REST calls to Firebase functions freely:

    0 讨论(0)
  • 2020-12-11 05:48

    firebaser here

    Good catch, that piece of documentation probably should be clarified.

    Inbound requests are allowed, as long as you're within your allowed quota. So your app can call a Cloud Function.

    Outbound requests for projects on the free plan are only allowed to Google-owned services. So your Cloud Function code can only call google owned web APIs, unless it's on a paid plan.

    Update: the above applies up to Node.js runtimes up to v8. From Node.js 10 and upwards your Firebase project needs to be on a paid plan to be able to use Cloud Functions. For full details on this, see the Firebase FAQ on Cloud Functions pricing.

    0 讨论(0)
提交回复
热议问题