Re: [google-appengine] Re: Use GAE with GCE connected with Internal IP

2018-04-24 Thread 'Kamran (Google Cloud Support)' via Google App Engine

It is not currently possible to access the internal IP addresses of Compute 
Engine VMs from App Engine Standard as they are on completely different 
networks (though this is in the works 

).




On Monday, April 23, 2018 at 4:52:40 PM UTC-4, Diego Barreiro Pérez wrote:
>
> And why is not possible through the GAE Standard Environment? Because my 
> app is designed for Standard and I guess migrating to Flexible will require 
> a big rewrite on the code
>
> On Mon, Apr 23, 2018, 22:38 'Kamran (Google Cloud Support)' via Google App 
> Engine  wrote:
>
>>
>> Hello Diego,
>>
>> Communication through internal IP addresses between *Google Compute 
>> Engine* and *App Engine Flexible Environment* (but not App Engine 
>> standard environment) is possible. Because VM instances in the flexible 
>> environment are Google Compute Engine virtual machines.
>>
>> In order to implement the local connectivity between GCE VMs and GAE 
>> Flex, if both are running on the same project deploy your GAE app on the 
>> same network as of the GCE VM instance. For this purpose, you can configure 
>> the network settings of your application on app.yaml file 
>> 
>> . 
>>
>> If the GAE Flex application and GCE VM instance are running on different 
>> projects, then you can take advantage of VPC Network Peering 
>>  to allows private 
>> connectivity across two VPC networks regardless of whether or not they 
>> belong to the same project or the same organization.
>>
>> I hope this helps.
>>
>>
>> On Sunday, April 22, 2018 at 5:10:20 PM UTC-4, Diego Barreiro Pérez wrote:
>>>
>>> I've been searching on Google about this, but didn't found anything 
>>> "clear"
>>> *Is possible to make a request from a Google App Engine project to a 
>>> Google Compute Engine instance via its Internal IP?*
>>>
>>> The idea is to make the network faster. AppEngine would make a request 
>>> to the Internal IP of the GCE Instance so it will use Google Intranet
>>> Of course, GAE and GCE will be running on the same DataCenter: GAE on 
>>> europe-west and GCE on europe-west1
>>>
>>> Any CONCISE answer will be really appreciated
>>>
>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "Google App Engine" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/google-appengine/rm7tRGfdEWQ/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to 
>> google-appengine+unsubscr...@googlegroups.com.
>> To post to this group, send email to google-appengine@googlegroups.com.
>> Visit this group at https://groups.google.com/group/google-appengine.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/google-appengine/c9768838-95bd-4ce7-b196-5253d0073afb%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/9090c9d6-bcdc-488b-9f28-1376982cf623%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Use GAE with GCE connected with Internal IP

2018-04-23 Thread Diego Barreiro Pérez
And why is not possible through the GAE Standard Environment? Because my
app is designed for Standard and I guess migrating to Flexible will require
a big rewrite on the code

On Mon, Apr 23, 2018, 22:38 'Kamran (Google Cloud Support)' via Google App
Engine  wrote:

>
> Hello Diego,
>
> Communication through internal IP addresses between *Google Compute
> Engine* and *App Engine Flexible Environment* (but not App Engine
> standard environment) is possible. Because VM instances in the flexible
> environment are Google Compute Engine virtual machines.
>
> In order to implement the local connectivity between GCE VMs and GAE Flex,
> if both are running on the same project deploy your GAE app on the same
> network as of the GCE VM instance. For this purpose, you can configure
> the network settings of your application on app.yaml file
> 
> .
>
> If the GAE Flex application and GCE VM instance are running on different
> projects, then you can take advantage of VPC Network Peering
>  to allows private
> connectivity across two VPC networks regardless of whether or not they
> belong to the same project or the same organization.
>
> I hope this helps.
>
>
> On Sunday, April 22, 2018 at 5:10:20 PM UTC-4, Diego Barreiro Pérez wrote:
>>
>> I've been searching on Google about this, but didn't found anything
>> "clear"
>> *Is possible to make a request from a Google App Engine project to a
>> Google Compute Engine instance via its Internal IP?*
>>
>> The idea is to make the network faster. AppEngine would make a request to
>> the Internal IP of the GCE Instance so it will use Google Intranet
>> Of course, GAE and GCE will be running on the same DataCenter: GAE on
>> europe-west and GCE on europe-west1
>>
>> Any CONCISE answer will be really appreciated
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Google App Engine" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/google-appengine/rm7tRGfdEWQ/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-appengine.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/c9768838-95bd-4ce7-b196-5253d0073afb%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CALKDkhH7WY4s0KS-0p0C6F_GucV-u%2BWAk7JHfy7NgOo5fEo7gQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Use GAE with GCE connected with Internal IP

2018-04-23 Thread 'Kamran (Google Cloud Support)' via Google App Engine

Hello Diego,

Communication through internal IP addresses between *Google Compute Engine* 
and *App Engine Flexible Environment* (but not App Engine standard 
environment) is possible. Because VM instances in the flexible environment 
are Google Compute Engine virtual machines.

In order to implement the local connectivity between GCE VMs and GAE Flex, 
if both are running on the same project deploy your GAE app on the same 
network as of the GCE VM instance. For this purpose, you can configure the 
network settings of your application on app.yaml file 

. 

If the GAE Flex application and GCE VM instance are running on different 
projects, then you can take advantage of VPC Network Peering 
 to allows private 
connectivity across two VPC networks regardless of whether or not they 
belong to the same project or the same organization.

I hope this helps.


On Sunday, April 22, 2018 at 5:10:20 PM UTC-4, Diego Barreiro Pérez wrote:
>
> I've been searching on Google about this, but didn't found anything "clear"
> *Is possible to make a request from a Google App Engine project to a 
> Google Compute Engine instance via its Internal IP?*
>
> The idea is to make the network faster. AppEngine would make a request to 
> the Internal IP of the GCE Instance so it will use Google Intranet
> Of course, GAE and GCE will be running on the same DataCenter: GAE on 
> europe-west and GCE on europe-west1
>
> Any CONCISE answer will be really appreciated
>

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/c9768838-95bd-4ce7-b196-5253d0073afb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.