connect firestore through private service connect

i was unable to connect to firestore with private service connect

Hi @mhvharsha ,

As mentioned in your other post, you can connect Firestore to a private service through Private Service Connect (PSC). Here are the key steps:

  1. Set up PSC for Firestore: Create a PSC endpoint for Firestore, ensuring it’s in the same network as your VM.
  2. Configure VPC Peering: Enable Private Google Access for your VPC network.
  3. Adjust Firewall Rules: Allow traffic from your VM to Firestore through the private connection.
  4. Configure Python Service: In your Dockerized Python service, use the Firestore SDK to connect to the internal Firestore IP or endpoint.

For more detailed instructions, please refer to the original post.