[google-appengine] Re: App Engine Standard - Instance charges

2017-03-13 Thread Lawrence Mok
Hi Nick I have exactly the same issues, dealing with the junior billing 
staff has been very frustrating and they are unable to acknowledge the 
problem at all.

I hope your team should take this issue seriously as my billing is going 
sky rocket (something like 10X times more than the normal level).

Please also see the other guy and my screen shots in the other thread:
https://groups.google.com/forum/#!topic/google-appengine/X6sWwvUGbzQ


On Tuesday, March 14, 2017 at 4:43:59 AM UTC+8, Nick (Cloud Platform 
Support) wrote:
>
> Hey George,
>
> I recommend opening a ticket with Billing 
>  to 
> resolve this, as you'll surely get a specific response, while this forum is 
> intended less for specific-issue one-on-one technical support and is 
> instead meant to be a forum where users discuss the platform, services, 
> design patterns, etc.
>
> Cheers,
>
> Nick
> Cloud Platform Community Support
>
> On Monday, March 13, 2017 at 3:49:49 PM UTC-4, George Bittmann wrote:
>>
>> Thanks for the suggestion Karolína. All of these projects have had 
>> min_idle_instances at default and have been that way since they were 
>> created most are at least 6 months with the current configuration and 
>> incurring no charges.
>>
>> Billing indicates the charges are front end hours, but if you look at 
>> appengine > quotas > usage history every day shows 0 charges for the month.
>>
>> I'm thinking that for some period of time, a couple days perhaps, our 
>> projects were charged as if the free 28 frontend hours did not exist. The 
>> amount of hours billed does seem generally related to the traffic of the 
>> site, but as I said these sites are extremely low traffic and would on a 
>> very busy day would not reach 20 frontend hours.
>>
>>
>>
>> On Monday, March 13, 2017 at 3:29:29 PM UTC-4, Karolína Netolická wrote:
>>>
>>> Hi George, one thing I can think of is that if you are using 
>>> min_idle_instances setting, this could be causing apps with low traffic to 
>>> incur a bill. For free apps we recommend setting min_idle_instances to zero.
>>>
>>> On Monday, March 13, 2017 at 9:32:38 AM UTC-7, George Bittmann wrote:

 Did anything change recently with how the standard environment is 
 billed? 

 I'm seeing charges on a lot of projects that are hosting extremely low 
 traffic websites that should never incur instance charges at all let alone 
 getting up over a dollar or two half way into the month.

 Has anyone else seen this or know what might be going on?




-- 
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/e3162e0f-b5ce-4f21-9500-8b153722%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: a problem with the charge

2017-03-13 Thread 温啟良









It does not exceed the quota of 28 hours a day,
But I have seen the cost of generating on the billing page.

Not only in this project, the other is the same situation.


George (Cloud Platform Support)於 2017年3月14日星期二 UTC+8上午2時33分40秒寫道:
>
> It would be easier for us if you provide screen captures with English 
> text. 
>
> Which project is the one experiencing the issue? You seem to have more 
> than one project and different billing accounts. You can send us 
> confidential information in a private email. 
>
> I have verified your app engine quotas page for one of the projects, but I 
> am unable to access your billing data, for security reasons. To properly 
> interpret this data, you may consider reading the “View your Cost and 
> Payment History” help page 
> . General 
> information on quotas may be viewed on the “Quotas” documentation 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 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/186fa419-3d1a-4393-95c6-6dac6a8e63df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] App Engine perform very bad when using GCS as temporary storage. Isn't it?

2017-03-13 Thread Shaharia Azam
*My Usecase*

Recently I just deployed a very small PHP application that was built with 
the following resource. I was using App Engine Standard Environment for 
PHP55


   - PHP Slim Framework
   - Twig as Template Engine
   - MySQL


   - I enabled Twig cache for optimizing it's compilation. And the cache 
   directory was in GCS (gs://mybucket/cache).
   - My application's session storage was Cloud SQL (2nd generation).
   - Application was using Monolog as Logger and log directory was also in 
   GCS (gs://mybucket/log) 
   - All of my static assets were serving from a GCS CDN endpoint 
   (gs://cdn.mydomain.com)

Resource Region:

   - Cloud SQL [asia-east1-a]
   - App Engine Region [ASIA-NORTHEAST1]
   - Twig Cache bucket and Temporary file bucket [ASIA-NORTHEAST1]
   - static files bucket (CDN) - multi-region [primary region: asia-east1-a]

When my application serve, it first look for twig cache file, if there is 
any template caching, it delivers from cache. Also For every route, I have 
only 1 monolog log is being created in temp directory. What I demonstrated 
is that, when most of my temporary storage are on GCS (whether it's on same 
App engine region or nearest region).. my app latency is much much higher 
than normal. I understand this because, when I just disabled my tmp file 
and twig cache, then my application serve like a charm. :)

So obviously, I came to a conclusion that when your App Engine will deal 
with GCS as it's writable file location, you have to fight with it for 
optimizing your app deliverability.

But AFAIK, almost all application sometimes needs temporary writable file 
system (though, app engine's file system is only readable). In this case, 
how App Engine will optimize apps for those application. Am I correct or 
missing something that my eyes skipped?

-- 
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/7137fcb9-2276-42a3-a550-0c1fdb51670e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Not able to upload SSL certificate

2017-03-13 Thread Thomas Baldauf
Hi!

Finally I managed to set it up with a wildcard certificate. The problem was 
that I had to revalidate the ownership of my custom domains.

Thank you,
Thomas



Am Donnerstag, 9. März 2017 19:07:31 UTC+1 schrieb George (Cloud Platform 
Support):
>
> We have managed to check further, and it seems that your certificate, the 
> one that you keep trying to upload, is faulty somehow. It definitely pays 
> to double-check this certificate or to have it re-issued; in any case, to 
> get a valid one in the end. If the certificate itself is valid, your upload 
> should work as expected. 
>

-- 
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/ea066361-eb30-4675-a4a3-eb5082198def%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Not able to upload SSL certificate

2017-03-13 Thread Thomas Baldauf
Hi George,

I really tried everything, including the purchase of a new wildcard 
certificate - but still no luck! Please help!

Kind regards,
Thomas


Am Donnerstag, 9. März 2017 19:07:31 UTC+1 schrieb George (Cloud Platform 
Support):
>
> We have managed to check further, and it seems that your certificate, the 
> one that you keep trying to upload, is faulty somehow. It definitely pays 
> to double-check this certificate or to have it re-issued; in any case, to 
> get a valid one in the end. If the certificate itself is valid, your upload 
> should work as expected. 
>

-- 
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/019f677f-42b6-46ad-bfbc-40b096677476%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: State of Java 8 on App Engine (not the flexible env)

2017-03-13 Thread Béla Uzonyi
Guys, check this out: 
https://cloudplatform.googleblog.com/2017/03/your-favorite-languages-now-on-Google-App-Engine.html

"If you’re an App Engine developer who loves the unique features 
 of the 
standard environment, we’ve got more coming for you too. Over the next few 
months, we’ll be rolling out support for Java 8, updated libraries and 
improved connectivity with other GCP services. Developers that sign up for 
the alpha release of Java 8 on the App Engine standard environment can get 
started today 
.
 
You can expect multiple announcements on both the standard and flexible 
environments in App Engine in the coming months."

Cannot believe, cannot wait.

-- 
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/fee2eccb-fc3a-4da9-ba2a-cbf47bf00500%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: App Engine Standard - Instance charges

2017-03-13 Thread 'Nick (Cloud Platform Support)' via Google App Engine
Hey George,

I recommend opening a ticket with Billing 
 to 
resolve this, as you'll surely get a specific response, while this forum is 
intended less for specific-issue one-on-one technical support and is 
instead meant to be a forum where users discuss the platform, services, 
design patterns, etc.

Cheers,

Nick
Cloud Platform Community Support

On Monday, March 13, 2017 at 3:49:49 PM UTC-4, George Bittmann wrote:
>
> Thanks for the suggestion Karolína. All of these projects have had 
> min_idle_instances at default and have been that way since they were 
> created most are at least 6 months with the current configuration and 
> incurring no charges.
>
> Billing indicates the charges are front end hours, but if you look at 
> appengine > quotas > usage history every day shows 0 charges for the month.
>
> I'm thinking that for some period of time, a couple days perhaps, our 
> projects were charged as if the free 28 frontend hours did not exist. The 
> amount of hours billed does seem generally related to the traffic of the 
> site, but as I said these sites are extremely low traffic and would on a 
> very busy day would not reach 20 frontend hours.
>
>
>
> On Monday, March 13, 2017 at 3:29:29 PM UTC-4, Karolína Netolická wrote:
>>
>> Hi George, one thing I can think of is that if you are using 
>> min_idle_instances setting, this could be causing apps with low traffic to 
>> incur a bill. For free apps we recommend setting min_idle_instances to zero.
>>
>> On Monday, March 13, 2017 at 9:32:38 AM UTC-7, George Bittmann wrote:
>>>
>>> Did anything change recently with how the standard environment is 
>>> billed? 
>>>
>>> I'm seeing charges on a lot of projects that are hosting extremely low 
>>> traffic websites that should never incur instance charges at all let alone 
>>> getting up over a dollar or two half way into the month.
>>>
>>> Has anyone else seen this or know what might be going on?
>>>
>>>
>>>

-- 
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/ff437b04-78b6-474f-9eff-5d51949f2bc6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: App Engine Flexible: Where to store env-dependent configuration and secrets?

2017-03-13 Thread 'George (Cloud Platform Support)' via Google App Engine
Storing your environment data or secrets in Datastore, in a bucket using 
GCS may be rather considered as the usual thing to do in this environment. 
More about the encryption capabilities of the platform can be read in the 
"Encryption at Rest" document 
. 

App Engine allows you to make use of appropriate services, that provide you 
with tools allowing to store safely configuration and secrets. Cloud KMS is 
a REST API that can use a key to encrypt or decrypt data, such as secrets, 
for storage. You may read details on the "CLOUD KEY MANAGEMENT SERVICE" 
documentation page . 

You may be interested in the  "App Identity API 
"
 
as well. 

Environment variables can be made available to the app by specifying them 
at deployment time in the app.yaml file, as describe in the "Configuring 
your App with app.yaml" documentation page 
,
 
both for flex and standard environments. 

-- 
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/876c7ac7-4d93-4c2c-8bf3-8c83505e3cf9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: App Engine Standard - Instance charges

2017-03-13 Thread George Bittmann
Thanks for the suggestion Karolína. All of these projects have had 
min_idle_instances at default and have been that way since they were 
created most are at least 6 months with the current configuration and 
incurring no charges.

Billing indicates the charges are front end hours, but if you look at 
appengine > quotas > usage history every day shows 0 charges for the month.

I'm thinking that for some period of time, a couple days perhaps, our 
projects were charged as if the free 28 frontend hours did not exist. The 
amount of hours billed does seem generally related to the traffic of the 
site, but as I said these sites are extremely low traffic and would on a 
very busy day would not reach 20 frontend hours.



On Monday, March 13, 2017 at 3:29:29 PM UTC-4, Karolína Netolická wrote:
>
> Hi George, one thing I can think of is that if you are using 
> min_idle_instances setting, this could be causing apps with low traffic to 
> incur a bill. For free apps we recommend setting min_idle_instances to zero.
>
> On Monday, March 13, 2017 at 9:32:38 AM UTC-7, George Bittmann wrote:
>>
>> Did anything change recently with how the standard environment is billed? 
>>
>> I'm seeing charges on a lot of projects that are hosting extremely low 
>> traffic websites that should never incur instance charges at all let alone 
>> getting up over a dollar or two half way into the month.
>>
>> Has anyone else seen this or know what might be going on?
>>
>>
>>

-- 
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/d1e514c1-5b6a-4cde-8470-692fb62e91df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Reading polygon coordinates

2017-03-13 Thread 'Jordan (Cloud Platform Support)' via Google App Engine
Google Groups is meant for general product discussions and not for 
technical coding questions. 

Since this is a Google Maps API coding issue (and not an App Engine product 
issue), it is recommended you post your question to the Maps Stack Overflow 
 tag. Be sure to follow 
the rules  to asking good 
questions and include the actual output you are seeing, along with what you 
expect to see so that they can properly reproduce and help you.

-- 
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/a953f763-e870-4771-80d7-0f95b1726754%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: App Engine Standard - Instance charges

2017-03-13 Thread 'Karolína Netolická' via Google App Engine
Hi George, one thing I can think of is that if you are using 
min_idle_instances setting, this could be causing apps with low traffic to 
incur a bill. For free apps we recommend setting min_idle_instances to zero.

On Monday, March 13, 2017 at 9:32:38 AM UTC-7, George Bittmann wrote:
>
> Did anything change recently with how the standard environment is billed? 
>
> I'm seeing charges on a lot of projects that are hosting extremely low 
> traffic websites that should never incur instance charges at all let alone 
> getting up over a dollar or two half way into the month.
>
> Has anyone else seen this or know what might be going on?
>
>
>

-- 
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/c64faa23-9926-492b-b333-349aa3fb13ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: a problem with the charge

2017-03-13 Thread 'George (Cloud Platform Support)' via Google App Engine


It would be easier for us if you provide screen captures with English text. 

Which project is the one experiencing the issue? You seem to have more than 
one project and different billing accounts. You can send us confidential 
information in a private email. 

I have verified your app engine quotas page for one of the projects, but I 
am unable to access your billing data, for security reasons. To properly 
interpret this data, you may consider reading the “View your Cost and 
Payment History” help page 
. General 
information on quotas may be viewed on the “Quotas” documentation 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 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/30db7019-f6ca-4ced-b61b-e92eba498a66%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] App Engine Flexible: Where to store env-dependent configuration and secrets?

2017-03-13 Thread 'Les Vogel' via Google App Engine
Hi Bernhard,

AppEngine Flex can use the Metadata service - take a look at
https://medium.com/google-cloud/google-compute-engine-metadata-service-de9d71ea44e0#.2vmglwf54
for some suggestions.

Cloud KMS  is also a
good place for Secrets.

Regards,

Les

On Sun, Mar 12, 2017 at 12:07 PM, Bernhard Mäder  wrote:

> Title says it, where do you guys store your secrets and other app
> configuration? The stuff that will change depending on the environment
> (prod, stage, dev etc.)...
>
> With kubernetes, there are the Secret and ConfigMap objects, which are
> perfect for exactly that. Is there something comparable in AppEngine?
>
> If not, I think I could use IAM key management, store them in a bucket, or
> even use deployment manager. But this all looks way too far fetched, for
> something that feels like it should be close to AE's core. What am I
> missing?
>
> Thanks,
> Bernhard
>
> --
> 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/f8f10c84-7fa4-4d8a-be92-
> 32539ce48fcd%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 


*  •  **Les Vogel*
*  •  *Cloud Developer Relations
*  •  *l...@google.com
*  •  *+1-4 <%2B1-650-338-7103>08-676-7023

-- 
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/CAGB1p5h8sPs6aaYDMDzv4ghHsT%3DwYKzJ9yGEiOj0bS4ka0nM2w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Custom domain redirecting to appspot URL

2017-03-13 Thread 'Lorne Kligerman' via Google App Engine
Hi Oren,

The appspot-preview.com domain was used while flex was in beta as we
migrated traffic over to our production environments.  Now that flex is GA
you don't have to worry about any more redirections in the future.  You can
head over to env: flex with confidence!

Cheers,
Lorne.

On Mon, Mar 13, 2017 at 12:34 AM, Oren Zomer  wrote:

> Hi,
> It seems there are no more redirections from the appspot.com subdomains
> to appspot-preview.com subdomains.
> This was a big issue in our iOS App, which sent an Authorization header in
> the first request to the appspot.com subdomain but not in the second
> request to the appspot-preview.com subdomain.
> Our production app sends its requests to our custom godaddy domain listed
> here: https://console.cloud.google.com/appengine/settings/domains (which
> also has an SSL certificate - we use https in all of the requests).
>
> Is it guaranteed that the the redirection will not happen again in the
> future?
> Can we change our yaml file from vm: true to env: flex , without
> disrupting the communication between our iOS App and our servers?
>
> Regards,
> Oren
>
> On Tuesday, January 31, 2017 at 12:49:03 PM UTC+2, himanshu kapoor wrote:
>>
>> Hi Guys,
>>
>> I have mapped custom domain in my application but it redirects to my
>> appspot URL.
>>
>> check below URL:
>> https://500bawal.com
>>
>> Note: Previously this domain was hosted on some other google project and
>> was working fine from which there i removed it (including verification) and
>> hosted on different google project.
>>
>> Can anyone help me in figuring out this.
>>
>> Thanks
>>
> --
> 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/to
> pic/google-appengine/4_2oVbRhMKY/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/ms
> gid/google-appengine/6901f45c-7c9b-4b90-9b3f-c7015da8aaa5%
> 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/CA%2Bzk0pJE19SErfEMgxp0dqaR-hDQAXoxDE%3DOQwgk97zuQfLT3w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] App Engine Standard - Instance charges

2017-03-13 Thread George Bittmann
Did anything change recently with how the standard environment is billed? 

I'm seeing charges on a lot of projects that are hosting extremely low 
traffic websites that should never incur instance charges at all let alone 
getting up over a dollar or two half way into the month.

Has anyone else seen this or know what might be going on?


-- 
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/897aca53-b7ef-48a6-a085-5d18e6337940%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: appengine TimeZone changed

2017-03-13 Thread 'Adam (Cloud Platform Support)' via Google App Engine
Try adding -Duser.timezone=UTC to your list of Maven command line arguments 
when starting the development server. If the timezone is different this 
looks like it could be a recurrence of an issue that was reported 4 years 
ago on Stack Overflow , but 
should have been fixed since then. It may also help to know what version of 
the Cloud SDK and App Engine SDK you're using.

On Friday, March 10, 2017 at 11:58:32 PM UTC-5, Yashavanta S B wrote:
>
> The issue is still there, even without setting the default time zone to 
> GMT+00:00 in the ServletContextLIstener. Servlet is showing different 
> timezone in development server.
>
> On Wednesday, March 8, 2017 at 12:59:54 AM UTC+5:30, Adam (Cloud Platform 
> Support) wrote:
>>
>> The development server time zone also defaults to UTC, so the solution is 
>> to not try to change it to anything and instead write your code to work the 
>> same way in production and development (that is, to deal with times that 
>> are in UTC).
>>
>> On Tuesday, March 7, 2017 at 12:30:20 AM UTC-5, Yashavanta S B wrote:
>>>
>>> Thank you for the information. But my question is - why it is showing 
>>> the different time zone in servlets and filters, even when we are setting 
>>> the default time zone to GMT+00:00. The issue is with the local development 
>>> server. But in the production server it is fine.
>>>
>>> On Monday, March 6, 2017 at 1:01:11 PM UTC+5:30, Anastasios Hatzis wrote:

 There are really good reasons why an app should not change timezones on 
 the server and why to store all datetimes in UTC. This is especially true 
 in all distributed systems. The app must be designed in a way that it can 
 convert from/to UTC while exchanging data with the outside world or only 
 where it really needs to calculate with local timezones. I don't 
 understand, why you would want to test a different date behavior in 
 development server. Even if it would be possible in dev server, you can be 
 sure that the app will break once it is deployed.

 On Monday, 6 March 2017 06:20:22 UTC+1, Yashavanta S B wrote:
>
> Thanks for the reply.
>
> What about in development server? Can we change the app-engine time 
> zone in development server? Because we want to test date behavior for 
> different time zones and we are facing the difficulties in testing the 
> different time zone dates.
>
> On Sunday, March 5, 2017 at 3:44:33 AM UTC+5:30, Adam (Cloud Platform 
> Support) wrote:
>>
>> The timezone in App Engine is always set to UTC and cannot be 
>> changed. You'll need to convert between UTC and the timezone you wish to 
>> use. You can refer to one of the numerous existing threads 
>>  on the 
>> subject for more background.
>>
>> On Friday, March 3, 2017 at 11:48:41 PM UTC-5, Yashavanta S B wrote:
>>>
>>> Hey,
>>>
>>> In ServletContextListener initialization method we are setting the 
>>> JVM Time Zone as
>>>
>>> public void contextInitialized(ServletContextEvent event) {
>>> TimeZone.setDefault(TimeZone.getTimeZone("GMT+00:00"));
>>> }
>>>
>>> But when i check the Time Zone information in servlets and filters 
>>> the Time Zone got changed.
>>>
>>> log.info("TimeZone : " + TimeZone.getDefault());
>>>
>>> What might be the reason? 
>>>
>>> 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/2e509b12-714d-443e-901f-e4ba5d205b4f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] App Engine Flexible: Where to store env-dependent configuration and secrets?

2017-03-13 Thread Bernhard Mäder
Title says it, where do you guys store your secrets and other app 
configuration? The stuff that will change depending on the environment 
(prod, stage, dev etc.)...

With kubernetes, there are the Secret and ConfigMap objects, which are 
perfect for exactly that. Is there something comparable in AppEngine?

If not, I think I could use IAM key management, store them in a bucket, or 
even use deployment manager. But this all looks way too far fetched, for 
something that feels like it should be close to AE's core. What am I 
missing?

Thanks,
Bernhard

-- 
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/f8f10c84-7fa4-4d8a-be92-32539ce48fcd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] a problem with the charge

2017-03-13 Thread 温啟良
The two messages seem inconsistent, which one is correct?
Is the price adjusted?



-- 
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/565d3dd9-d2b7-4f45-a847-0b280bae8208%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Reading polygon coordinates

2017-03-13 Thread Dee Mutiibwa
Hi GEE,

Am creating an app which uses rectangle, polygon, circle etc to draw of 
interest on Google Map.

  var drawingManager = new google.maps.drawing.DrawingManager({
drawingMode: google.maps.drawing.OverlayType.POLYGON,
drawingControl: true,
drawingControlOptions: {
position: google.maps.ControlPosition.TOP_CENTER,
drawingModes: ['rectangle', 'circle', 'polygon', 'polyline', 
'marker']

I created a created a function to unpack the coordinates of the Polygon as

   var getCoordinates = function(rect) {
var points = rect.getPath().getArray();
return points.map(function(point){
  return [point.lng(), point.lat()];
});


I get the JSON of the coordinates as 
 $.getJSON(
'/getmapdata',
{
  polygon: getCoordinates(polygon),
  pickerStartDate: getStartDate(),
 pickerEndDate: getEndDate(),  
},


At the backend I read the coordinates as:

   if self.request.get('polygon'):
  coords = [float(i) for i in self.request.get('polygon')]
  geometry = ee.FeatureCollection([ee.Feature(
  ee.Geometry.Polygon(coords=coords),
  {'system:index': '0'}
  )])
else:

However the backend script seems not to be reading the coordinates right 
and is not able creating the geometry. What am I doing wrong at the back 
end? 

thank you for help

-- 
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/fa1ad923-dbbc-488e-9394-d1b2cbe22093%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Application default Credential

2017-03-13 Thread 'George (Cloud Platform Support)' via Google App Engine
Before accessing the credentials object, one needs to create application 
default credentials, as described in the "Google Application Default 
Credentials" documentation page 
.
 
A step-by-step procedure is given there  at sub-chapter "How the 
Application Default Credentials work". One needs to set up default 
credentials using the developers' console. 

-- 
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/5f52b40b-1e23-48c1-8277-dd8f77faedf0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Memcache Costs

2017-03-13 Thread 'George (Cloud Platform Support)' via Google App Engine
You are right about the minimum of 1GB. The reproduction described in my 
previous post indicates that one can only choose extra amounts of 1GB of 
cache memory, as step-by-step increase. Pricing is based on the amount of 
cache reserved for you, not necessarily the one used momentarily. 

-- 
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/c5b1418b-5e68-4454-8135-85220f5eb160%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Google App Engine went GA

2017-03-13 Thread Marco Galassi
Yep, correct. My fault

On Friday, March 10, 2017 at 6:23:56 PM UTC+1, Zachary Fewtrell wrote:
>
> Hi Marco,
>  More specifically App Engine flexible environments 
>  went GA.  This is the 
> new language support and the Docker container support.  App Engine standard 
> environment has been GA for some time.
>
> Regards,
>  Zach
>
> On Friday, March 10, 2017 at 1:25:29 AM UTC-8, Marco Galassi wrote:
>>
>> Google App Engine went GA.
>> This was announced on Google Next '17
>>
>>
>> http://www.infoworld.com/article/3179151/application-development/google-app-engine-adds-c-nodejs-and-ruby-options.html
>>
>

-- 
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/46bc928f-00fe-4050-9113-8ce260e32951%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.