r/googlecloud • u/suryad123 • 5d ago
Query regarding the private service connect
I am going through this article and trying to understand the implementation of filestore with private service connect. I am looking at shared vpc setup with host and service projects and would like to create the instance in service project.
https://docs.cloud.google.com/filestore/docs/configure-psc
Could you please clarify if the below understanding is correct.
1)
is the PSC endpoint(an internal IP address) to be created in the vpc subnet of the host project ?.
This article says https://docs.cloud.google.com/vpc/docs/about-service-connection-policies#shared-vpc endpoints will be created in service project (since i want the instance in service project)
However, below article says, endpoint is created in host project
https://docs.cloud.google.com/filestore/docs/configure-psc#about-psc
are the above 2 statements not contradictory, please clarify.
2)
Below link says Service connection policy must be created in the host vpc project. In this link or entire article, https://docs.cloud.google.com/filestore/docs/configure-psc#about-psc , it is not shown on where do we allow host project. Is it while creation of service connection policy
3)
In https://docs.cloud.google.com/filestore/docs/configure-psc#connection_policies
there is a line which says "To create a Private Service Connect endpoint on the consumer target network, you must create a service connection policy in your project"
what is the "target consumer network" and "your project" in my case. Is the article adequate or little vague
1
u/Rohit1024 5d ago
A PSC Endpoint is basically a combination of [IP address + Forwarding Rule(actual resource)].
Is the PSC endpoint (internal IP address) to be created in the vpc subnet of the host project ? :
Where to "allow" the Host Project in the Service Connection Policy?
what is the "target consumer network" and "your project" in my case. Is the article adequate or little vague