[google-appengine] Re: Google App Engine Flexible get access to a folder dynamically created by a package?

2018-04-09 Thread 'Kenworth (Google Cloud Platform)' via Google App Engine
Developers can use Stackdriver Debugger 
 to view their app's 
source code including the local variables/call stack using debug snapshot. 
Please note, however, that GAE Flex on Node.js is on Beta 
 release at this time.

-- 
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/79680fb3-c8d0-425b-af0a-02b02fe9e7b4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Understand Pricing model

2018-04-09 Thread 'Digil(Google Cloud Platform Support)' via Google App Engine
Hello Sharad,

The GAE Flexible environment 
 
instance resources are charged on a per-second basis with a one-minute 
minimum usage cost. Which means, if you have a resource(Ex:1GB RAM) 
attached to a GAE flexible environment, its usage is calculated as follows:-

Using 1 GB of RAM in your GAE Flexi Environment cost = $0.0071/hour (as per 
the doc. 
)

For a day $0.0071*24 
= $0.1704

For a month $0.1704*30 = $5.112

You can also use the ‘Pricing Calculator 
’, to get an 
estimate of your usage as well.

After calculating your usage cost and still, you have any discrepancy, I 
would strongly suggest you to contact the billing team 
 for 
further clarification. 

On an additional note, it is also highly advisable to check the help center 
article on ‘Choosing an App Engine Environment 
’, 
before deploying any application.

-- 
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/4f7a97f7-f81a-4b0b-8515-fa57fe2effc6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: VPN Google APP Engine

2018-04-09 Thread 'Katayoon (Cloud Platform Support)' via Google App Engine
Yes you can. App Engine Flexible Environment is based on Google Compute 
Engine and consequently can connect to your remote network through Cloud 
VPNs. If the GAE Flex application is deployed on the same VPC network, the 
same Cloud VPN tunnel can be used for the application. As described in this 
article 
,
 
you can specify network settings in your app.yaml configuration file of 
your GAE Flexible application.


On Monday, April 9, 2018 at 3:05:34 PM UTC-4, THOR EL PODEROSO TECHNICAL 
ESP wrote:
>
>
> I have a VPN with my company through Google Compute Engine. Is it possible 
> to use that VPN with Google APP Engine? How can my app connect with the 
> company servers?
>
>
> Thanks!
>

-- 
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/59b638b5-9a95-44ea-b595-532d1b234ccc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: NDB urlsafe keys and REST api requests

2018-04-09 Thread Jason Yoon
Sure, here is the context for my question.

I have a frontend angular client that is deployed in a separate front-end 
service and calls another back-end service which returns appropriate JSON 
data back to the angular client. As part of this process, the backend 
(built off python) uses the App Engine Python NDB Standard library to 
access the datastore and process the data before returning it back to the 
client.

Currently, I construct my REST endpoints such that it is 
/// etc. etc. where  represents the 
12-digit unique ID of the entity so that the respective backend endpoint 
can identify the appropriate resource and return it back to the client.

The issue I am facing now is that many of the datastore models have 
ancestor relationships associated with them and it turns out that if an 
entity is a part of a different ancestor hierarchy, it can generate the 
same 12-digit ID as another entity with a different hierarchy. Though the 
chance of this is low, I've encountered it with some stress tests in the 
development environment, which then causes collisions as the datastore is 
just returning the first entity with that ID even though it may not be the 
one required by the call.

Therefore, to resolve this, I decided to pass urlsafe keys between client 
and backend services as keys are always unique, regardless of ancestor 
relationships because ancestors are built into the keys that are generated. 
This leads to the question above.


On Monday, April 9, 2018 at 1:46:08 PM UTC-4, Kenworth (Google Cloud 
Platform) wrote:
>
> To help you find the answers you are looking for, can you please explain 
> further what are you trying to achieve? Including the following:
>
> 1- Do you want to expose Datastore REST api to clients?
> 2- Do you want to design your own API?
>
>

-- 
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/6c84d9c0-92f2-49e9-a32f-0c1363c389e3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] VPN Google APP Engine

2018-04-09 Thread THOR EL PODEROSO TECHNICAL ESP


I have a VPN with my company through Google Compute Engine. Is it possible 
to use that VPN with Google APP Engine? How can my app connect with the 
company servers?


Thanks!

-- 
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/7817d7ac-bc54-427e-b92f-bd9e0b68f860%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: NDB urlsafe keys and REST api requests

2018-04-09 Thread 'Kenworth (Google Cloud Platform)' via Google App Engine
To help you find the answers you are looking for, can you please explain 
further what are you trying to achieve? Including the following:

1- Do you want to expose Datastore REST api to clients?
2- Do you want to design your own API?

-- 
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/dd4208eb-8ad7-46f2-bc1d-03b1c5ba9479%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Cloud Storage suddenly providing a cached file despite "no-cache" metadata

2018-04-09 Thread 'Kenworth (Google Cloud Platform)' via Google App Engine
Setting the Cache-Control header to 'private' should have prevented caching 
of the object. Since this is not the case, I highly encourage you to submit 
a defect report  as 
described in this article 
 so that proper 
attention and weight will be given to it. We monitor that issue tracker 
closely.

I look forward to this issue report.

-- 
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/f604cde9-6c66-4733-9218-c562af240719%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Understand Pricing model

2018-04-09 Thread Sharad Soni
Hi,
I have gone through all the resources available on understanding how the 
pricing works, However, I was unable to understand it properly.
I have attached the transaction details of my billing.

My Configuration:
Flex Environment, NO DATABASE

Actually, I was just trying to put a static PHP (CodeIgniter) website.

I have deployed the app multiple times, to get it done correctly.
But my site is never visited i.e. .appspot.com

Still, I am charged around more than 1000 INR.

Can anyone please explain as for how Flex Engine Instance Core and RAM 
works because it shows the usage of 288.068 Hours and GB Hours Respectively 
and I have not used it.

Thanks,
Sharad Soni


-- 
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/292d1e31-a32b-44d6-8b99-ea1630d6142e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Google App Engine Flexible get access to a folder dynamically created by a package?

2018-04-09 Thread Sudhanshu Gaur
I am doing Profiling on my NodeJs app, I am using Google App Engine Flexible 
and 
for it, I am using npm 0x , but the thing 
is as this package is making the flamegraph inside my NodeJs root directory 
folder, now how can I retrieve this folder(I mean get access to this 
folder). I have SSH to my App Engine Flexible instance but there were two 
folders vm-runtime-app, vmagent but there my NodeJs Source code root 
directory is not there.

-- 
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/378892cc-79c3-4525-8622-b6865bb2c467%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.