Skip to main content

GCP Private Service Connect (PSC)

Overview

If you are on Google Cloud, and have a VPC in one of the regions listed below, you can use Google Cloud Private Service Connect (PSC) to send logs, metrics, and traces to Oodle without traversing the public internet.

Current supported GCP regions:

  • asia-south1
  • us-west2

Send an email to [email protected] if you need support for a different GCP region.

Prerequisite

To configure PSC, you will need the Service Attachment URI for your region:

RegionService Attachment URI
asia-south1projects/oodle-psc/regions/asia-south1/serviceAttachments/receiver
us-west2projects/oodle-psc/regions/us-west2/serviceAttachments/receiver

Setup

Connect PSC Endpoint

  1. Open the Connect endpoint page.

  2. Fill in the form:

    GCP console: Connect endpoint form for PSC
    FieldValue
    TargetPublished service
    Target serviceService Attachment URI for your region (see table above)
    Endpoint nameA descriptive name, e.g. oodle-asia-south1
    Network / SubnetworkYour consumer VPC and subnet
    IP addressReserve or select a private internal IP from the subnet
    Enable global accessEnable if you need cross-region connectivity
  3. Click Add endpoint.

  4. Verify the status shows Accepted, and note down the IP address. We will use this IP address later to setup private DNS.

    GCP console: Endpoint status is Accepted

Setup Private DNS

  1. Open the "Create a DNS zone" page.

  2. Fill in the form:

    GCP console: Create DNS zone form
    FieldValue
    Zone typePrivate
    DNS namecollector.oodle.ai
    OptionsPrivate
    NetworksYour VPC
  3. Click Create.

  4. On the next screen, click Add standard.

    GCP console: button to add standard record
  5. Create an A record for *.collector.oodle.ai pointing to the PSC endpoint IP address.

    GCP console: A record for *.collector.oodle.ai

Conclusion

With this setup, all the GCP resources that are exposed to the private DNS will send logs/metrics/traces to Google via the PSC and not over the public internet.


Support

If you need assistance or have any questions, please reach out to us through: