[google-appengine] Re: How GAE services in separate projects communicate through their respective firewall ?

2020-06-02 Thread 'Katayoon (Cloud Platform Support)' via Google App Engine

Note that, IAP provides a proxy 
 in which the service 
can be accessed by authenticated users who have the correct Cloud Identity 
and Access Management (Cloud IAM) role, not per IP. As Olu previously 
noted, App Engine does not currently provide a way to map static IP 
addresses to an application 
.However you may take a 
look at Serverless VPC Access 
 which 
makes it possible for your serverless environment to access other resources 
with an internal IP address. 

Otherwise, you may consider using Compute Engine instances so that you can 
reserve a static external IP address 
 and enforce your firewall 
rules  as per your usecase or 
create a Compute Engine instance and a proxy as discussed on this Stack 
Overflow thread 

.



-- 
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/402858c5-5656-4248-9038-7f5bd74f9a31%40googlegroups.com.


[google-appengine] Re: How GAE services in separate projects communicate through their respective firewall ?

2020-05-31 Thread Zorg
Thank you for your reply Olu.

My goal is to build an app that required some services to be exposed to any 
public IP and others multiple back-end services closed to any external 
access. All thoses services are accessed through an home-made api gateway.

I started looking at identity aware proxy but should I ?

Which strategies would you recommend instead ?


Le vendredi 29 mai 2020 15:54:36 UTC+2, Olu a écrit :
>
> As you may already know, GCP Projects represent a trust boundary within an 
> organization. Hence, inter-project communication between App Engine 
> services would require Public IP communication or using Shared VPC[1]. 
> There should be no internal communication between App Engine Services over 
> different projects. Hence, whitelisting App Engine internal IP addresses 
> might not be useful in this situation.
>
> About using Public App Engine IP addresses, as illustrated in this 
> document [1] App Engine hosts services on a dynamic public IP address of a 
> Google load balancer. Due to that, the IP address can be changed any time 
> and any Static IP can not be provided.  For outbound services, a large pool 
> of IP addresses are used which you can obtain as outlined in this 
> document[2]. 
>
> [1]https://cloud.google.com/vpc/docs/shared-vpc
> [2]https://cloud.google.com/appengine/kb/#private-ip 
> [3]https://cloud.google.com/appengine/kb/#static-ip 
>
>

-- 
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/c444d6aa-cb93-4da5-8cf9-7f05541ed1c5%40googlegroups.com.


[google-appengine] Re: How GAE services in separate projects communicate through their respective firewall ?

2020-05-29 Thread Zorg
For precision all our services run nodejs

Le vendredi 29 mai 2020 13:47:14 UTC+2, Zorg a écrit :
>
> We have 2 app engine app (flex and standard) running on separate projects 
> and we want project A to request project B with https to xxx.appspot.com 
> URL.
>
> Our firewall on both projects Denies all IPs(*) and whitelisted App Engine 
> internal addresss (10.1.0.41, 0.1.0.40, 10.0.0.1 and 0.1.0.30) as explained 
> in the doc 
> 
> .
>
> Yet we receive a "403 error forbidden access" (which disappears when 
> disabling the firewall).
>
>
> Is there anything else I can do ?
>
> Thank you in advance.
>

-- 
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/498c7343-4503-48d5-8229-b133f55eb0c7%40googlegroups.com.


[google-appengine] Re: How GAE services in separate projects communicate through their respective firewall ?

2020-05-29 Thread 'Olu' via Google App Engine
As you may already know, GCP Projects represent a trust boundary within an 
organization. Hence, inter-project communication between App Engine 
services would require Public IP communication or using Shared VPC[1]. 
There should be no internal communication between App Engine Services over 
different projects. Hence, whitelisting App Engine internal IP addresses 
might not be useful in this situation.

About using Public App Engine IP addresses, as illustrated in this document 
[1] App Engine hosts services on a dynamic public IP address of a Google 
load balancer. Due to that, the IP address can be changed any time and any 
Static IP can not be provided.  For outbound services, a large pool of IP 
addresses are used which you can obtain as outlined in this document[2]. 

[1]https://cloud.google.com/vpc/docs/shared-vpc
[2]https://cloud.google.com/appengine/kb/#private-ip 
[3]https://cloud.google.com/appengine/kb/#static-ip 

-- 
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/867675e7-bccc-4ceb-9bf4-27135b3afd9a%40googlegroups.com.