Reputation: 5
For topics that are cross-region and cross-project, who gets billed for egress pricing?
If the subscriber pays, what happens when multiple subscribers are in the same region? Is the cost paid by each? Split between them?
Upvotes: 0
Views: 350
Reputation: 359
For topics that are cross-region and cross-project, who gets billed for egress pricing?
https://cloud.google.com/pubsub/pricing#cross-project-billing
"If you are using Cloud Pub/Sub across projects, Cloud Pub/Sub fees are billed to the project that contains the requested resource (e.g., subscription). For example, a service account in project A might be given subscriber access to a subscription in Project B (that is under billing account B). Billing account B will be billed for the data that is pulled from the subscription by service account A. Alternatively, if the subscription resides in project A (even if it is attached to a topic in project B), account A will be billed for data that is pulled from the subscription."
This is true irrespective of in-region or cross-region access.
If the subscriber pays, what happens when multiple subscribers are in the same region? Is the cost paid by each? Split between them?
As stated above, the project with subscription will be billed for usage.
Upvotes: 2