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

Access to GAE service with internal only ingress setting

I have two GAE services:

  • default -- GAE Standard 2nd gen Python
  • worker -- GAE Standard 2nd gen Nodejs

I want the worker service to have an ingress setting of "Allow internal traffic only" to provide additional security.

When I set internal only, this code from the default service stops working:

url = 'https://worker-dot-MYPROJECT.uc.r.appspot.com'
rsp = requests.post(url, data)

How do I do a post from the default service to the worker service with an internal only ingress setting?

 
0 1 289
1 REPLY 1

Hi @Jeff5,

Welcome to Google Cloud Community!

Configuring your ingress setting to "allow internal traffic only" and communication between services is possible however communication between services in different projects is not.

You may check the following documentation on each environment for additional information:

Hope this helps.