Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Cloud Run Direct Egress with Shared VPC

I am trying to deploy an app in cloud run, cloud run is in the service project. The service account has access to the subnet of the host project. I am getting the below error:

Revision 'hello-00004-5g7' is not ready and cannot serve traffic. Access to the subnetwork mc-snet-dev-spoke-0 is not allowed

Followed every step in the documentation https://cloud.google.com/run/docs/configuring/shared-vpc-direct-vpc

0 1 337
1 REPLY 1

Hi @Bernard7,

Try deploying again this time and see if it works. If still not, check the Cloud Run logs to identify what is causing the error such as missing packages or library or where it occurs.

Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.