Re: [google-appengine] Re: Cloud NDB Datastore library Beta

2019-09-27 Thread 'Andrew Gorcester' via Google App Engine
After consulting with product management, I can clarify that Cloud NDB will
be treated the same as other Cloud Client libraries on github and so is not
covered explicitly by our Cloud Support contract, though I'm not personally
familiar with our support contract language so I can't go into any greater
detail.

On Thu, Sep 26, 2019 at 8:05 PM 'Mario Jimenez Leon' via Google App Engine <
google-appengine@googlegroups.com> wrote:

> This is great news!
>
>
>
> The library is gonna be supported by GCP support until the beta phase
> ends. You can track the changes in the changelog of the library in github:
> https://github.com/googleapis/python-ndb/blob/master/CHANGELOG.md
>
>
>
> Currently, we don't have an Estimated Time of Arrival for the new version.
>
>
> On Thursday, September 26, 2019 at 1:01:48 AM UTC-5, Soeren Balko wrote:
>>
>> Great news and good to see Google (finally!) reacting to the Python 2 EOL
>> dilemma and its repercussions on AppEngine!
>>
>> A couple of question though:
>>
>> (1) "beta" is not very reassuring in a sense that we have millions of
>> users in our AppEngine/DataStore backend. When will the library come out of
>> beta?
>> (2) Does the library come under Google Cloud support contracts?
>>
>> Thank you,
>> Soeren
>>
>>
>> On Friday, September 20, 2019 at 7:33:38 AM UTC+10, Andrew Gorcester
>> wrote:
>>>
>>> Hello Pythonistas,
>>>
>>> I'm pleased to announce the Beta release of Cloud NDB, an updated
>>> version of the App Engine NDB client library for Datastore to support the
>>> GAE Python 3 runtime and other Python platforms. Our goal with Cloud NDB
>>> and related efforts is to ensure App Engine Python 2.7 applications are
>>> fully portable and can smoothly migrate to Python 3.
>>>
>>> The library can be installed with `pip install google-cloud-ndb` and the
>>> source code can be found at https://github.com/googleapis/python-ndb.
>>> Please refer to our newly published migration guide at
>>> https://cloud.google.com/appengine/docs/standard/python3/migrating-to-cloud-ndb,
>>> and our API documentation at
>>> https://googleapis.dev/python/python-ndb/latest/index.html.
>>>
>>> We're grateful to have received generous user support in testing,
>>> comments, bug reports and even code contributions in our Alpha phase, and
>>> we hope the community will continue to send feedback as we work towards GA.
>>> Please see our GitHub repository linked above to follow development and
>>> communicate with our team, or email me directly at gorc...@google.com.
>>>
>>> While Cloud NDB can be used freely by any Cloud Datastore (and Firestore
>>> in Datastore mode) customers, it is intended to facilitate migration to
>>> Python 3 for App Engine NDB users; our recommendation for new apps is still
>>> to use the Cloud Client Datastore or Firestore libraries which are part of
>>> the Google Cloud SDK.
>>>
>>> Thanks for your continued support of our platform. I am looking forward
>>> to hearing from the community on this and upcoming efforts.
>>>
>>> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/83877d90-87e6-46ea-8b9a-39b3e68e1c16%40googlegroups.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CANtYgFKOs7Qa8g0Eac3Y9qoFO2m-f8k1SPMwPS-i%3DkWnz5ACfQ%40mail.gmail.com.


[google-appengine] Re: Whitelisting Google App Engine in google VM instance

2019-09-27 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello Sujesh, 

If you want your VM instances to use internal IP addresses instead of 
external IP addresses, you can use Private services access 
 
in a 
Virtual Private Cloud (VPC) network. You can read more about VPCs on the 
"Virtual Private Cloud (VPC) network overview" page 
. 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/a45347ff-6439-4556-8981-5cf4a6db5106%40googlegroups.com.


[google-appengine] Re: Trying to mount Google Filestore share in GAE flexible runtime container

2019-09-27 Thread Rui Albuquerque
Hello looks like GAE doesn't allow to configure cap-add  any help ?

Le lundi 18 février 2019 19:32:55 UTC+1, Aref Amiri (Cloud Platform 
Support) a écrit :
>
> Hi Tony,
>
> This can be done in Custom Runtimes 
> ,
>  
> as it allows you to customize your Dockerfile and the freedom to add the 
> commands as you desire. You just have to make sure that the components you 
> specify are compatible and configured properly to deliver the performance.
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/1c0dfa64-b955-4fed-853e-051796e5ea9d%40googlegroups.com.


Re: [google-appengine] Re: dev_appserver now compatible with Cloud Datastore Emulator.

2019-09-27 Thread Alessandro Bollini



> On 27 Sep 2019, at 00:25, 'Jose Antonio Soni Solchaga' via Google App Engine 
>  wrote:
> 
> Hello Alessandro,
> 
> The error message you are experiencing is because of wrong authentication.
> 
> Here you can see a Stack Overflow question where this was answered.

Agreed, but a little debugging shows that Google Client Library is trying to 
connect to the actual cloud endpoint of the project: supplying the credentials 
through `gcloud auth application-default login` or `gcloud iam service-accounts 
keys create` results in the test code connecting to the production datastore…

According to 
https://cloud.google.com/docs/authentication/production#finding_credentials_automatically,
 if no credentials are provided the hosting environment should automatically 
provide connection hints for the local resources: I’d expect Java 8 Local 
Development Server to automatically connect  Google Client Library to the local 
Datastore Emulator, replicating the application behaviour when deployed in 
cloud, but that’s apparently not the case.

I’m currently working around the issue by testing locally using both the Local 
Development Server and the standalone Datastore Emulator as:

gcloud beta emulators datastore start \
   —project=project-id \
   --host-port=localhost:8081 \
   --data-dir=target/war

DATASTORE_EMULATOR_HOST=localhost:8081 java_dev_appserver.sh \
   --port=8080 \
  target/war

However, the process is quite cumbersome and difficult to automate: what I’m 
looking for is a way to automatically connect Google Client Library to the 
Datastore Emulator managed by the Java 8 Local Development Server when 
launching the app with something like 
https://github.com/GoogleCloudPlatform/app-maven-plugin, e.g. `mvn 
appengine:run`.

-
alessandro bollini ph.d. - tech lead - linkedin.com/in/alessandrobollini




-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/5335AD5B-8B52-47DB-A228-33B899B7137E%40metreeca.com.


[google-appengine] Whitelisting Google App Engine in google VM instance

2019-09-27 Thread sujesh thekkepatt

I have a nodejs app running on google app engine flexible instance.  Also, 
have another service running on VM instance. Both are in same projects. I 
want the VM instance service exposed only to the APP engine service. How do 
i whitelist/ create the necessary firewall rule ? I have tried whitelisting 
for specific service account but not works. ANy help would be 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/d18945c1-1203-4041-999d-b2001ea57110%40googlegroups.com.