...
You must have setup a shared VPC
The shared VPC must be accessible in the service project in which you want to the Dataproc cluster associated with the pipelines to run.
You must have grant Compute Network User role to the Dataproc’s service account of your service project on the shared network.
You must have grant Compute Network User role to the Service Account associated with your instance of CDAP/CDF on the shared network.
...
Configuring for Shared VPC
Create a new profile following the Creating Profiles documentation.
While creating the profile set the Network name to your shared VPC network and the Network Host Project ID to the host project of your shared VPC network.
...