Single Pub Sub Topic for Multiple Projects

Single Pub Sub Topic for Multiple Projects?

To create a sink that publishes to a Cloud Pub/Sub topic in a different project (you would need to grant Project A's Service Account access to Project B)

    1. Log in to your GCP environment and go to the project for which you want to create this sink --> Exports --> Fill out Sink Name, Service (Pub Sub), Destination (Pub Sub in a different project).
    2. API used is - pubsub.googleapis.com/projects/<project-id>/topics/<topic_name> ( <project-id> is the host project containing the centrally shared topic)

What if I only need specific log types exported (or logs at a folder/project level)?

See Configuring Export Sink Filters.



Need an experienced AWS/GCP/Azure Professional to help out with your Public Cloud Strategy? Set up a time with Anuj Varma.

anuj

I am passionate about getting cloud solutions right the first time. I help customers transition to the public cloud with the appropriate security controls and guardrails. GCP, AWS and Azure Security Specialist. <a href="https://calendly.com/anujvarma/google-cloud-architect-initial-consultation">Initial Consultation</a>

One response to “Single Pub Sub Topic for Multiple Projects”

Leave a reply

Your email address will not be published. Required fields are marked *