I am trying to connect my Cloud Function to App Engine allowing only 
internal traffic. These are the steps I have followed:

   1. Create a Serverless VPC Connector on the same region my two services 
   are deployed with its own /28 subnet.
   2. Set the Cloud Function to route ALL the traffic through the 
   Serverless VPC Connector.
   3. Set the App Engine to accept only internal ingress traffic.

I have also created a dummy HTTP Server on a Compute Engine instance 
without external IP. I sent a request to that server internal IP from my 
Cloud Function and it got a 200 OK response, so the Function is using the 
connector to route its traffic.

However, if I send a request to my App Engine appspot URL from the 
Function, it exits after 60 seconds with a timeout, meaning it is not able 
to reach the service.

Do you know if I am missing something?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/edaf5a9b-7bac-4ba2-b93b-4cdc04b5525en%40googlegroups.com.
  • [google-appengine... 'Luis Cristóbal López García' via Google App Engine
    • [google-appe... 'Elliott (Cloud Platform Support)' via Google App Engine
      • [google-... 'Luis Cristóbal López García' via Google App Engine

Reply via email to