Situation

Want To Access Internal Resouece From Cloud Run

How To

Conponent

  • Google Compute Engine

  • Google Artifact Registry

  • Google Serverless Access VPC

  • Cloud DNS

  • Cloud Run Job

Step 1 : Create GCE And Install Package

apt install nginx -y

Step 2 : Create Serverless VPC

Step 3 : Create Cloud DNS And Attach VPC

Step 4 : Build Image And Push To GCP Artifact Registry

Step 5 : Create Cloud Run And Attach VPC

Step 6 : Verify From Cloud Run Log

Ref 1 : Cloud Run VPC Connector

Ref 2 : Push Your Docker Image To GCP Artifact Registry