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:
- Set up PSC for Firestore: Create a PSC endpoint for Firestore, ensuring it’s in the same network as your VM.
- Configure VPC Peering: Enable Private Google Access for your VPC network.
- Adjust Firewall Rules: Allow traffic from your VM to Firestore through the private connection.
- 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.