Settings and activity
10 results found
-
1 vote
An error occurred while saving the comment -
1 vote
An error occurred while saving the comment Thomas Bouldin commentedFirebase App Hosting has free tiers (currently no App Hosting SKU is billed until GA and it will include free tiers at GA. Run's free tiers can be seen at https://cloud.google.com/run/pricing). US Executive order 13984 (https://www.federalregister.gov/documents/2021/01/25/2021-01714/taking-additional-steps-to-address-the-national-emergency-with-respect-to-significant-malicious) however requires the use of a credit card to comply with know-your-customer (KYC) laws for any dynamic compute (e.g. Cloud Run)
-
5 votes
An error occurred while saving the comment Thomas Bouldin commentedWe don't have Terraform adapters yet, you can get your hands dirty with the REST API and deploy from OCI images already. CreateBuild has an option for container (https://firebase.google.com/docs/reference/apphosting/rest/v1beta/projects.locations.backends.builds#Build). From there you can attach your build to a Rollout (https://firebase.google.com/docs/reference/apphosting/rest/v1beta/projects.locations.backends.rollouts/create)
-
5 votes
An error occurred while saving the comment Thomas Bouldin commentedYou can see the pricing page online (e.g. Cloud Run Functions 2nd gen uses Cloud Run pricing at https://cloud.google.com/run/pricing).
In tier 1 regions you get 180K vCPU seconds, 360K GiB seconds, and 2M requests for free each month. In tier 2 regions you get 128,571 vCPU seconds, 257,142 GiB seconds, and 2M requests free per year (it's the same dollar amount of free tier but scaled down because tier 2 regions are more expensive)
-
4 votes
An error occurred while saving the comment Thomas Bouldin commentedSome of the "and more" includes
1. Using structured output so you leverage the full granularity of the logger/cloud logging rather than just getting info and error messages
2. Using structured output so things like error messages are guaranteed to be in a single log line rather than split across one log per line.An error occurred while saving the comment Thomas Bouldin commentedIf you use the logger available at `firebase-functions/logger`, it will automatically inject the trace ID for the same effect (and more!). If you don't want to use a separate logger (e.g. you want to upgrade logs from imported modules), you can import `firebase-functions/logger/compat` and it will patch `console.*` with all the upgrades.
-
2 votes
An error occurred while saving the comment Thomas Bouldin commentedWe had designed the Python SDK with the assumption that a unit testing library was less necessary because the Functions SDK (and Admin SDK) was less "magical". What specific features do are you looking for in a test SDK?
-
2 votes
An error occurred while saving the comment Thomas Bouldin commentedThis is set via the "invoker" option. https://firebase.google.com/docs/reference/functions/2nd-gen/node/firebase-functions.globaloptions.md#globaloptionsinvoker
-
10 votes
An error occurred while saving the comment Thomas Bouldin commentedWe _really_ want to support Flutter Web. As Firebase App Hosting does not yet have the static file replication that the original Hosting does, so we chose not to prioritize it until we could give you as performant a solution as the original Hosting does. In the meantime you can use the web frameworks experience to get Flutter support on the original hosting product and use DNS migration to switch to Firebase App Hosting once it's available.
-
5 votes
An error occurred while saving the comment Thomas Bouldin commentedFirebase App Hosting is designed as a regional service. It always creates all managed resources (e.g. your GitHub key, your Developer Connect repository, your Cloud Build Jobs, and your Cloud Run instance) in a single region, though we obviously cannot force you to not call services in other regions from within Cloud Run.
If you want to ensure locality of your secrets, be sure to pass the optional --location flag to `firebase apphosting:secrets:set` to change the secret from globally replicated to regionally restricted.
That being said, consult your legal council whether they believe a CDN counts as data being stored or processed in a different jurisdiction. We do not currently have a way to turn the CDN off.
Finally, it is worth noting that we didn't finish setting up a European region at launch. It's in progress, though, and our first region should be live as a fast-follow.
-
6 votes
An error occurred while saving the comment Thomas Bouldin commentedAs of the latest CLI version, the service account you use for your function is the service account that is used in the connecting services (e.g. Google Eventarc and Google Cloud Tasks). Hopefully that unblocks you!
Este no es un comportamiento esperado. Comuníquese con el servicio de atención al cliente en https://firebase.google.com/support/troubleshooter/contact