If you want to connect to your Redis instance from a resource in another project using Shared VPC, your Redis instance must be deployed in the Shared VPC host project; additionally, the resource and your Redis instance must either be on the same Shared VPC network or the networks must be peered. Connecting to a Redis instance that is deployed on a shared VPC network in a service project is not supported.