[google-appengine] Re: Google Edge Cache not works for my custom domain by HTTPS in Google App Engine application

2017-08-29 Thread Andrii Chyzh
Hi!

I already got an answer from premium support team: 
 - Node.js app uses new flexible env, Python app uses standard env. 
 - HTTPS caching with custom domain works only in old standard env.

Thank you for you time!

среда, 30 августа 2017 г., 1:21:13 UTC+3 пользователь Kenworth (Google 
Cloud Platform) написал:
>
> Thank you for reporting the issue 
> . I recommend all 
> replies and posts be directed towards that forum until a resolution is 
> reached. 
>

-- 
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/ac34ccb2-be49-463c-b24d-8bca4ec3fd0d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: [Google Cloud Insiders] Is there a way to generate an alert when the GAE actual reaches more than 75% of the daily budget?

2017-08-29 Thread PK
Tonight I got minutes of downtime because one of my apps hit the GAE standard 
budget limit. StackDrvier alerts immediately fired and notified us that the 
customers see “Over Quota” messages. I immediately increased the limit and 
after 2-3 minutes of agony and sweat, we were back in business.

Had I received alerts when I reached 75%(or something like that) of the budget 
everything would have been taken care of without the black eye of downtime. I 
really hope there is a way to do this...

If you elect to reply, please stay to the point when you reply. I am looking 
for a solution on a very acute problem not generalities and theory of 
operations. Is there an alert? If yes where is it, how do I set it? If not can 
the StackDrive Product Managers comment on whether this deserves to be added to 
the roadmap? 

Thanks!!

> On Aug 29, 2017, at 11:30 PM, Castex, Antoine  
> wrote:
> 
> You have budget for global project consumption
> 
> Not only for GAE
> 
> GAE offer possibility to have a Limit (not the same as Budget) 
> 
> 
> 
> Cordialement / Best Regards
> 
> 
> CASTEX Antoine
> Cloud Developer
> Technology & Operations - Digital Factory
> Group Information Systems & Technology (IS&T)
> VEOLIA 30 rue Madeleine Vionnet / 93300 Aubervilliers / France
> Bureau : 0 - Ouest - 147F
> Direct: +33 1 85 57 70 91
> Mobile: +33 6 10 93 63 49
> www.veolia.com 
>  
>    
>   
>   
>  
>  
> On Wed, Aug 30, 2017 at 7:18 AM, PK  > wrote:
> Thanks
> 
> --
> You received this message because you are subscribed to the Google Groups 
> "Google Cloud Insiders" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to google-cloud-insiders+unsubscr...@googlegroups.com 
> .
> To post to this group, send email to google-cloud-insid...@googlegroups.com 
> .
> Visit this group at https://groups.google.com/group/google-cloud-insiders 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/google-cloud-insiders/BF094D5C-0A93-410A-9DC8-13E1687778A3%40gae123.com
>  
> .
> For more options, visit https://groups.google.com/d/optout 
> .
> 
> 
> 
> 
> This e-mail transmission (message and any attached files) may contain 
> information that is proprietary, privileged and/or confidential to Veolia 
> Environnement and/or its affiliates and is intended exclusively for the 
> person(s) to whom it is addressed. If you are not the intended recipient, 
> please notify the sender by return e-mail and delete all copies of this 
> e-mail, including all attachments. Unless expressly authorized, any use, 
> disclosure, publication, retransmission or dissemination of this e-mail 
> and/or of its attachments is strictly prohibited. 
> 
> Ce message electronique et ses fichiers attaches sont strictement 
> confidentiels et peuvent contenir des elements dont Veolia Environnement 
> et/ou l'une de ses entites affiliees sont proprietaires. Ils sont donc 
> destines a l'usage de leurs seuls destinataires. Si vous avez recu ce message 
> par erreur, merci de le retourner a son emetteur et de le detruire ainsi que 
> toutes les pieces attachees. L'utilisation, la divulgation, la publication, 
> la distribution, ou la reproduction non expressement autorisees de ce message 
> et de ses pieces attachees sont interdites.
> 

-- 
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/946F682D-3231-4D6C-B151-A5F6B5C2663D%40gae123.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Upgrade instance with a GPU from gcloud command

2017-08-29 Thread Insharp Lotus

I have a instance that I can upgrade and downgrade machine type from gcloud 
command. For example I can do

gcloud compute instances set-machine-type instance-name --machine-type f1-
micro

to downgrade a existing instance and

gcloud compute instances set-machine-type ubuntu --machine-type n1-standard-
1

to upgrade the machine type. But I need to also attach an GPU when when I 
upgrade. I can do that on web interface but I need to do this on command 
line. How can I do that?

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/e8e37a1e-8ab5-44a0-a55a-1311a13cbb91%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Is there a way to generate an alert when the GAE actual reaches more than 75% of the daily budget?

2017-08-29 Thread PK
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/BF094D5C-0A93-410A-9DC8-13E1687778A3%40gae123.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] App engine hosted website - Google search shows the domain is no longer parked by GoDaddy

2017-08-29 Thread Sumanta Bhowmik
Hi

My application is hosted by GAE and I recently transferred my domain from 
GoDaddy to Google Domain. I have set the A,  and CNAME records in 
google domain and the site is accessible. But when I search on 'Google' it 
shows that "domain is no longer parked by GoDaddy". What would be causing 
this and how can I fix this?

Regards
Sumanta


-- 
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/66f400e3-3abd-4dd4-9926-b0c4cd891356%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Authentication for App Engine by domain

2017-08-29 Thread 'Kenworth (Google Cloud Platform)' via Google App Engine
1- It is possible that you were still logged in to @mydomain.com while you 
were using @gmail.com when you were trying to access @mydomain GAE site. 

2- The incognito mode test that you made was a good idea. Clearing browser 
sessions and/or cookies works, too. And to make sure that your test 
environment is not tainted, I recommend testing the access of @gmail.com in 
a completely separate computer.

3. To use custom domains with HTTPS, you must first activate and configure 
SSL for App Engine with your domain. 

 I 
also found this similar thread on StackOverflow 

.

If the above does not mitigate your issue, I highly encourage you to submit 
a defect report  as described in this 
article  so that proper 
attention will be given to it. You can also refer on this thread, if 
required. 

 

-- 
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/d331db02-45b1-4166-89fe-736705aeb32f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Authentication for App Engine by domain

2017-08-29 Thread Brian Naughton
Hi all,
I have a simple internal website running on App Engine that is only 
supposed to be available to people in my organization. 

To do this, under App Engine settings I set "Google Authentication" to 
"Google Apps Domain" and set that to mydomain.com. 
Then on the main App Engine settings page it shows "Referrers" as "Google 
Apps domain: mydomain.com".

This seemed to work well. If you go to that page from any browser, then it 
asks for your login to @mydomain.com and refuses logins from other (google) 
domains like @gmail.com.

When I am using Chrome, I use two personas: a @mydomain.com email/persona 
and my personal @gmail.com email/persona.
However, if I am logged in as my regular gmail account, I can access the 
@mydomain App Engine site! 
I cannot access from an incognito window, nor from Safari (which is only 
logged into my @gmail), nor from Firefox.

The App Engine site is accessed via an appspot.com address and set to 
secure:always in app.yaml, so it is https, but it is not served from 
https://mydomain.com.

This seems like strange behavior. Does anyone know why this would happen? 
It is making me concerned about the accessibility of the site to people 
outside the organization.

Thanks,
Brian

-- 
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/e477f1d6-05de-4b1c-bc68-8dc0248f1875%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Google Edge Cache not works for my custom domain by HTTPS in Google App Engine application

2017-08-29 Thread 'Kenworth (Google Cloud Platform)' via Google App Engine
Thank you for reporting the issue 
. I recommend all replies 
and posts be directed towards that forum until a resolution is reached. 

-- 
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/7531686a-c19a-4fe8-adab-39b46a87c0bc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Building cron.xml - line breaks in URL

2017-08-29 Thread 'Shivam(Google Cloud Support)' via Google App Engine
This doesn’t seem to be possible as upon encoding it is inserting an ASCII 
character ‘LF’ at every instance of a line break. You can use this online 
tool  to see how url is encoded.


On Tuesday, August 29, 2017 at 12:19:07 PM UTC-4, Craig Detter wrote:
>
> I'd like to be able to break up my backup definition to multiple lines, 
> this is how it reads:
>
>
> 
> My Daily Backup
> 
> /_ah/datastore_admin/backup.create?name=DailyBkup&kind=Customer&kind=CustomerCommercial&kind=Products&kind=Vendor&kind=Services&filesystem=gs&gs_bucket_name=my-backup
> every 24 hours
> ah-builtin-python-bundle
> 
>
>
>
> I'd like to be able to format it like below. 
>
> However it keeps failing on upload. I've tried various options including \ 
> and breaking the line in different places.
>
> Is there any way to accomplish this?
>
>
> 
> My Daily Backup
> /_ah/datastore_admin/backup.create?name=DailyBkup
>
> &kind=Customer
>
> &kind=CustomerCommercial
>
> &kind=Products
>
> &kind=Vendor
>
> &kind=Services
>
> &filesystem=gs
>
> &gs_bucket_name=my-backup
> every 24 hours
> ah-builtin-python-bundle
> 
>
>
>

-- 
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/65a466a4-1b19-4ca4-a3d1-395f467cda4d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: How do I make app engine flexible to connect to container engine via internal IP?

2017-08-29 Thread 'Jordan (Cloud Platform Support)' via Google App Engine
Google Groups is meant for general product discussions and not for 
technical support. If you require technical support for accessing the 
internal IP of your GKE cluster from App Engine Flexible, the correct place 
is your post 

 
on Stack Overflow . If 
you are instead requesting for this feature, it is recommended to file a 
feature 
request . 

-- 
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/1e6b5a2c-88bd-446e-9498-3d25c4e32883%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Production SDK stuck at 1.9.48?

2017-08-29 Thread pdknsk
As I read the release notes, it occurred to me that this is definitely only 
a display bug.

https://cloud.google.com/appengine/docs/standard/python/release-notes

When 1.9.55 was released last month I swapped json for ujson and 
re-deployed, so the instance cannot be running either of the reported 
versions. (For some reason I missed the connection back then.) I 
double-checked in Stackdriver Debug that it's actually ujson.

-- 
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/d1d9b84c-3f74-48e7-8a4f-ed03610e3503%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Unable to deploy application on google appengine

2017-08-29 Thread PK
+1 for Attila's last comment. Development is complex, why would you make it 
even more complex by developing for Google App Engine on XP? I also suggest 
you explore other options...

Best,
PK

On Monday, August 28, 2017 at 8:41:27 PM UTC-7, Attila-Mihaly Balazs wrote:
>
> Hello,
>
> Try updating your Python. According to this (
> https://stackoverflow.com/a/22783425/1265) httplib2 comes withs its own 
> certificate store which might be outdated.
>
> Attila
>
> PS. While you're at it, please consider updating your OS. Windows XP is 
> very old, unsupported and it causes everyone pain (including people who 
> can't upgrade their webservers to newer TLS versions because "we gotta' 
> support XP").
>

-- 
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/6bfd4554-285b-4077-8e05-682e0ed0dd27%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Production SDK stuck at 1.9.48?

2017-08-29 Thread pdknsk
I incorrectly stated that it's the newest version. It's 1.9.54 which was 
released three months ago. Still, progress.

-- 
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/fb82292a-a0c0-484b-8e7d-baf09f835c7f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: ~20ms latency between two servlets, same project, is that about right?

2017-08-29 Thread Eric Hubbard
Thanks for the great info!

I'm running standard and java8.  My latency times were much lower 24 hours
later.  I went from a chaotic..20-50ms...   down to a very stable ~12ms 24
hours later.  Maybe some  environmental things were going at at the time.
These numbers were reported by my code, and also seen by the log traces.




-Eric
http://www.google.com/profiles/eric.hubbard

On Tue, Aug 29, 2017 at 11:03 AM, 'Jordan (Cloud Platform Support)' via
Google App Engine  wrote:

> It really depends on if you are making calls within App Engine Standard
>  or App Engine Flexible
>  as they both
> send/accept requests using different infrastructures.
>
> - The App Engine Standard URLFetch infrastructure typically adds less than
> 1 ms latency overhead to HTTP requests. For URLFetch requests to other App
> Engine Standard services, I am seeing worst case ~8ms of latency in the
> 95th percentile (meaning 95 percent of URLFetch requests are under 8ms).
> Note that we do not guarantee any specific SLA on latency.
>
> - The App Engine Flexible environment uses Compute Engine
>  virtual machines that are behind
> their own gateway. I am seeing ~20ms serving latency for Flex apps in the
> US at the 99th percentile (meaning 99 percent of requests are under 20ms).
>
> There are many factors in App Engine that can be slowing down your ping,
> such as instance startup time (based on your code and runtime), scaling
> settings
> ,
> and instance class
> .
> Also your actual coding language adds to the ping time while it
> accepts/processes/and returns the request. Therefore, to get a more
> accurate ping for only the service-to-service communication time, you
> should do it by looking at the actual time your App Engine service accepted
> the request in the Logs Viewer
> .
>
> --
> 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/2vx4_sdC8v0/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/b0335619-c20c-4938-9994-
> 76549c75f009%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/CABOXiu2Sx0P4qzyVLcRYtVvuWbF%2B%2BTs8xVCo3vPsoLKfQ_pQYg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: ~20ms latency between two servlets, same project, is that about right?

2017-08-29 Thread 'Jordan (Cloud Platform Support)' via Google App Engine
It really depends on if you are making calls within App Engine Standard 
 or App Engine Flexible 
 as they both 
send/accept requests using different infrastructures. 

- The App Engine Standard URLFetch infrastructure typically adds less than 
1 ms latency overhead to HTTP requests. For URLFetch requests to other App 
Engine Standard services, I am seeing worst case ~8ms of latency in the 
95th percentile (meaning 95 percent of URLFetch requests are under 8ms). 
Note that we do not guarantee any specific SLA on latency.

- The App Engine Flexible environment uses Compute Engine 
 virtual machines that are behind their 
own gateway. I am seeing ~20ms serving latency for Flex apps in the US at 
the 99th percentile (meaning 99 percent of requests are under 20ms).

There are many factors in App Engine that can be slowing down your ping, 
such as instance startup time (based on your code and runtime), scaling 
settings 
,
 
and instance class 
. Also 
your actual coding language adds to the ping time while it 
accepts/processes/and returns the request. Therefore, to get a more 
accurate ping for only the service-to-service communication time, you 
should do it by looking at the actual time your App Engine service accepted 
the request in the Logs Viewer 
. 

-- 
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/b0335619-c20c-4938-9994-76549c75f009%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Building cron.xml - line breaks in URL

2017-08-29 Thread Craig Detter
I'd like to be able to break up my backup definition to multiple lines, 
this is how it reads:



My Daily Backup

/_ah/datastore_admin/backup.create?name=DailyBkup&kind=Customer&kind=CustomerCommercial&kind=Products&kind=Vendor&kind=Services&filesystem=gs&gs_bucket_name=my-backup
every 24 hours
ah-builtin-python-bundle




I'd like to be able to format it like below. 

However it keeps failing on upload. I've tried various options including \ and 
breaking the line in different places.

Is there any way to accomplish this?



My Daily Backup
/_ah/datastore_admin/backup.create?name=DailyBkup

&kind=Customer

&kind=CustomerCommercial

&kind=Products

&kind=Vendor

&kind=Services

&filesystem=gs

&gs_bucket_name=my-backup
every 24 hours
ah-builtin-python-bundle



-- 
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/f597b014-f5b3-4e1a-9763-5a51779995b9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Cannot open ssh windows and load monitoring

2017-08-29 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello Rama, 

What steps have you undertaken exactly, before meeting with this issue? 

What type of instances do you want to access? 

To connect to a Google Compute Engine virtual machine instance from within 
the Google Cloud Platform Console, you may follow the instructions provided 
on the "SSH from the Browser" 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/34103ef7-e663-4fae-b67c-8a261f189bde%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Sydney Data Center and migration of app engine application

2017-08-29 Thread 'Yannick (Cloud Platform Support)' via Google App Engine
That is a great explanation Anastasios! As they point out migrating your 
app to a new region is a manual process where you have to move each service 
individually. If you have a support asset 
 then you can contact support 
for advice related to your specific circumstances, but they will not 
perform the migration for you.

This being said if you have any questions regarding how to migrate certain 
parts of your project this is a great place to ask them!

On Tuesday, August 29, 2017 at 7:53:08 AM UTC-4, Anastasios Hatzis wrote:
>
> We moved our app from US to EU last year, that is GAE Python Standard with 
> Cloud Storage and Cloud Datastore.
>
>- Yes, you will need a new project (with new app name, datastore, 
>storage), the region/zone selection might be hidden under "advanced 
> setup", 
>if I remember correctly
>- Your assumption about CNAME is correct, and the switch happened 
>within seconds. However, for both, A and CNAME records I suggest to 
>temporarily decrease the DNS TTL values before you actually migrate, so 
>clients will resolve the names faster to your new app
>
> I suggest to make a list of all services needed in your project. Then 
> check if the new region/zone has different limits or quotas (I'm not sure 
> if this is still an issue today). You might also want to check if the 
> pricing in the new region/zone is different.
>
> Since we were able to take the app offline for a few hours, backup & 
> restore with the Datastore Admin tool was sufficient. Keep in mind though 
> that indexing might take significantly more time than the actual import of 
> the data. If your app has huge data size, you can try to perform two back & 
> restores... maybe the (second) indexing is faster when most of the data is 
> already existing. If you cannot turn off the app altogether, maybe it is 
> possible to disable writes to the old datastore until the migration is 
> completed.
>
> For Cloud Storage, the Console includes a Transfer tool between buckets 
> (or other services). We didn't use it, so I can't tell how much time is 
> needed. However, it offers features to perform the transfer multiple times.
>
> One issue we almost missed: if your app uses Task Queues, you need to 
> decide how to handle them. For example, if you have non-idempotent tasks, 
> you probably don't want the same task to run multiple times (in the old and 
> the new app). In our case, we paused all such queues before running the 
> datastore backup (including the hidden kinds that also include the tasks).
>
> We also performed a side-by-side comparison of both projects in Google 
> Cloud Console, especially with regards to API settings and service accounts.
>
> And a final remark (#CaptainObvious): we used the very same code-base 
> between the old app and the new app for the entirety of the migration.
>
> Wish you the best with your migrations!
> Ani
>
>
>
> Mit freundlichen Grüßen / Kind regards
>
> i. A.
> Anastasios Hatzis
>
> Fon: +49 8374 930813
> Fax: +49 8374 930810
> Mobil: +49 1520 8592878
>
> 2017-08-29 12:45 GMT+02:00 Stefano Ciccarelli <
> stefano.ciccare...@mmbsoftware.it>:
>
>> Hi,
>>
>> we are EU based and early App Engine users, we have the same kind of 
>> problem because we'd like to move to EU.
>>
>> I'm watching for answers.
>>
>> Bye!
>>
>>
>> Il giorno mar 29 ago 2017 alle ore 10:34 Mark Hetherington <
>> m...@keodesign.com.au> ha scritto:
>>
>>> Hi,
>>>
>>> With the commissioning of the Sydney data centre, there are no doubt 
>>> many Australia based customers wanting to migrate to the new data centre. I 
>>> imagine the same was true when other locations opened up worldwide.
>>>
>>> We have existing app engine, cloud sql, cloud storage and data store 
>>> assets we would like to migrate. Has anyone undertaken this process? Our 
>>> understanding is that we can create a new application in the new zone, and 
>>> do a backup and restore. However there are a few hurdles. Some of the 
>>> issues we see are:
>>>
>>>- The application name currently in use won't be available for use 
>>>in the new zone, thus requiring a rename of the application
>>>- The process of cutting over between zones may require us to update 
>>>a number of DNS A records managed by third parties. 
>>>- The CNAME to ghs.googlehosted.com must cut over to the new 
>>>application at some point, but I'm not sure how this is managed. 
>>> Presumably 
>>>when verifying the domain into the new application google starts serving 
>>> a 
>>>new result when ghs.googlehosted.com is queried?
>>>
>>> Are there any migration tools available? Does google offer any 
>>> assistance in this regard? According to a news article at 
>>> https://www.crn.com.au/news/google-cloud-finally-comes-to-sydney-today-465735,
>>>  
>>> "
>>> Google Cloud platform managing director APJ Rick Harshman told CRN that 
>>> customers wanting to migrate to local availability

[google-appengine] Re: Python Standard logging can deadlock at import time (with work-around)

2017-08-29 Thread Evan Jones
That is exactly why I posted here: I'm hoping on the small chance someone 
runs into this issue, they will find my post and it might help them resolve 
the problem in less time than it took us! Cheers!

Evan



On Monday, August 28, 2017 at 11:21:26 PM UTC-4, Attila-Mihaly Balazs wrote:
>
> Thank you Evan for publicly posting this (and an especially big thank you 
> for publishing the detailed investigation *and* work-around).
>
> Contrary to the official Google party-line, posting to the issue-tracker 
> is near-useless for us mere-non-googlers:
>
> - the new issue tracker is all AJAX-y and not crawled by Google
> - its search is sub-par
> - people are too quick in marking things "private" on it, so frequently 
> one would see a link (even from this group) and then not be able to read 
> the contents
>
> Comparatively, this group (with its admittedly crummy interface) is 
> crawled by Google and people like myself can use it to stay up-to-date with 
> potential issues they might see in AppEngine production.
>
> Thank you again!
> Attila
>

-- 
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/31cee965-b603-45e7-afcb-c25d802587f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Sydney Data Center and migration of app engine application

2017-08-29 Thread Anastasios Hatzis
We moved our app from US to EU last year, that is GAE Python Standard with
Cloud Storage and Cloud Datastore.

   - Yes, you will need a new project (with new app name, datastore,
   storage), the region/zone selection might be hidden under "advanced setup",
   if I remember correctly
   - Your assumption about CNAME is correct, and the switch happened within
   seconds. However, for both, A and CNAME records I suggest to temporarily
   decrease the DNS TTL values before you actually migrate, so clients will
   resolve the names faster to your new app

I suggest to make a list of all services needed in your project. Then check
if the new region/zone has different limits or quotas (I'm not sure if this
is still an issue today). You might also want to check if the pricing in
the new region/zone is different.

Since we were able to take the app offline for a few hours, backup &
restore with the Datastore Admin tool was sufficient. Keep in mind though
that indexing might take significantly more time than the actual import of
the data. If your app has huge data size, you can try to perform two back &
restores... maybe the (second) indexing is faster when most of the data is
already existing. If you cannot turn off the app altogether, maybe it is
possible to disable writes to the old datastore until the migration is
completed.

For Cloud Storage, the Console includes a Transfer tool between buckets (or
other services). We didn't use it, so I can't tell how much time is needed.
However, it offers features to perform the transfer multiple times.

One issue we almost missed: if your app uses Task Queues, you need to
decide how to handle them. For example, if you have non-idempotent tasks,
you probably don't want the same task to run multiple times (in the old and
the new app). In our case, we paused all such queues before running the
datastore backup (including the hidden kinds that also include the tasks).

We also performed a side-by-side comparison of both projects in Google
Cloud Console, especially with regards to API settings and service accounts.

And a final remark (#CaptainObvious): we used the very same code-base
between the old app and the new app for the entirety of the migration.

Wish you the best with your migrations!
Ani



Mit freundlichen Grüßen / Kind regards

i. A.
Anastasios Hatzis

Fon: +49 8374 930813
Fax: +49 8374 930810
Mobil: +49 1520 8592878

2017-08-29 12:45 GMT+02:00 Stefano Ciccarelli <
stefano.ciccare...@mmbsoftware.it>:

> Hi,
>
> we are EU based and early App Engine users, we have the same kind of
> problem because we'd like to move to EU.
>
> I'm watching for answers.
>
> Bye!
>
>
> Il giorno mar 29 ago 2017 alle ore 10:34 Mark Hetherington <
> m...@keodesign.com.au> ha scritto:
>
>> Hi,
>>
>> With the commissioning of the Sydney data centre, there are no doubt many
>> Australia based customers wanting to migrate to the new data centre. I
>> imagine the same was true when other locations opened up worldwide.
>>
>> We have existing app engine, cloud sql, cloud storage and data store
>> assets we would like to migrate. Has anyone undertaken this process? Our
>> understanding is that we can create a new application in the new zone, and
>> do a backup and restore. However there are a few hurdles. Some of the
>> issues we see are:
>>
>>- The application name currently in use won't be available for use in
>>the new zone, thus requiring a rename of the application
>>- The process of cutting over between zones may require us to update
>>a number of DNS A records managed by third parties.
>>- The CNAME to ghs.googlehosted.com must cut over to the new
>>application at some point, but I'm not sure how this is managed. 
>> Presumably
>>when verifying the domain into the new application google starts serving a
>>new result when ghs.googlehosted.com is queried?
>>
>> Are there any migration tools available? Does google offer any assistance
>> in this regard? According to a news article at https://www.crn.com.au/
>> news/google-cloud-finally-comes-to-sydney-today-465735, "
>> Google Cloud platform managing director APJ Rick Harshman told CRN that
>> customers wanting to migrate to local availability zones can contact one of
>> its partners, or Google's customer engineering team to help with the
>> migration.", but I'm not sure how to get in touch with the "customer
>> engineering team".
>>
>> Cheers,
>> Mark
>>
>>
>> --
>> 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/92e5a3ca-c3a8-4507-8f2f-
>> d6961aad239b%40googlegroups.com
>> 

Re: [google-appengine] Sydney Data Center and migration of app engine application

2017-08-29 Thread Stefano Ciccarelli
Hi,

we are EU based and early App Engine users, we have the same kind of
problem because we'd like to move to EU.

I'm watching for answers.

Bye!


Il giorno mar 29 ago 2017 alle ore 10:34 Mark Hetherington <
m...@keodesign.com.au> ha scritto:

> Hi,
>
> With the commissioning of the Sydney data centre, there are no doubt many
> Australia based customers wanting to migrate to the new data centre. I
> imagine the same was true when other locations opened up worldwide.
>
> We have existing app engine, cloud sql, cloud storage and data store
> assets we would like to migrate. Has anyone undertaken this process? Our
> understanding is that we can create a new application in the new zone, and
> do a backup and restore. However there are a few hurdles. Some of the
> issues we see are:
>
>- The application name currently in use won't be available for use in
>the new zone, thus requiring a rename of the application
>- The process of cutting over between zones may require us to update a
>number of DNS A records managed by third parties.
>- The CNAME to ghs.googlehosted.com must cut over to the new
>application at some point, but I'm not sure how this is managed. Presumably
>when verifying the domain into the new application google starts serving a
>new result when ghs.googlehosted.com is queried?
>
> Are there any migration tools available? Does google offer any assistance
> in this regard? According to a news article at
> https://www.crn.com.au/news/google-cloud-finally-comes-to-sydney-today-465735,
> "
> Google Cloud platform managing director APJ Rick Harshman told CRN that
> customers wanting to migrate to local availability zones can contact one of
> its partners, or Google's customer engineering team to help with the
> migration.", but I'm not sure how to get in touch with the "customer
> engineering team".
>
> Cheers,
> Mark
>
>
> --
> 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/92e5a3ca-c3a8-4507-8f2f-d6961aad239b%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

*Stefano Ciccarelli*
GAE Application Division
/ Director
stefano.ciccare...@mmbsoftware.it

*M.M.B. s.r.l.*
via Granarolo, 177/7 - 48018 Faenza (RA) - Italy
tel. +39.0546.637711 - fax +39.0546.46077
www.mmbsoftware.it - i...@mmbsoftware.it

Le informazioni contenute in questa comunicazione sono riservate e
destinate esclusivamente alla/e persona/e o all'ente sopra indicati. E'
vietato ai soggetti diversi dai destinatari qualsiasi uso, copia,
diffusione di quanto in esso contenuto sia ai sensi dell'art. 616 c.p., sia
ai sensi del DL n. 196/03. Se questa comunicazione Vi e' pervenuta per
errore, Vi preghiamo di rispondere a questa e-mail e successivamente
cancellarla dal Vostro sistema.

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


[google-appengine] Re: App Engine to Compute Engine communication via internal IP

2017-08-29 Thread Yang Yao
Hi, Adam. I have tried using flexible instance to connect to a container 
engine which I created an internal load balancer. But this unfortunately 
does not work. (External load balancer does work.) Is there anyone could 
suggest? A detailed description of my troubleshooting process is posted here 

 on 
stackoverflow.

On Saturday, 25 June 2016 05:08:46 UTC+8, Adam (Cloud Platform Support) 
wrote:
>
> You should be able to do this if you use a Flexible Environment instance, 
> and specify the same network name 
> 
>  
> in the app.yaml that your Compute Engine instance running MySQL is on. It 
> won't work for Standard Environment instances as they are on separate, 
> physical networks.
>
> I say "should" as I haven't played around with this, and there's an 
> additional layer of network routing from the Docker container the app lives 
> in which also has its own local subnet.
>
> On Friday, June 24, 2016 at 10:43:29 AM UTC-4, Stephen Dunkley wrote:
>>
>> I have a Java Web application deployed on a Compute Engine instance 
>> connecting to MySql running on another Compute Engine instance in the same 
>> project. I am able to connect to MySql using the internal IP address 
>> (jdbc:mysql://10.240.0.4:3306/).
>>
>> If I deploy the same web application to an App Engine instance within the 
>> same project, I can only connect to the MySql instance via the extermal IP 
>> address (jdbc:mysql://104.196.148.141:3306/>
>> If I try to use the internal IP address, I get a Communication Link 
>> Failure, Permission Denied due to policy.
>>
>> My question is how do I open up communication between an App Engine 
>> instance and a Compute Engine instance via an internal IP address? The 
>> performance is about 5 x faster when using the internal IP address.
>>
>> Any help would be much 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/967b1e70-6e46-4422-8ba5-8d091417cacb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] How do I make app engine flexible to connect to container engine via internal IP?

2017-08-29 Thread Yang Yao


I am trying to configure App Engine Flexible to talk to Container Engine.

It appears that App Engine Flexible is just a container engine that is 
deployed with some automatic features. And by default, it uses network 
"default"

For container engine, it is also deployed with in network "default".

And I followed the instruction from 
https://cloud.google.com/container-engine/docs/internal-load-balancing to 
configure an internal load balancing ip for the kubernete cluster.




I then checked my appengine instance IP through SSH. The IPs are obviously 
in the same subnet but I am still unable to access it. However, using 
external IP is totally fine.




According to: https://cloud.google.com/compute/docs/vpc/

A VPC network is a virtual version of the traditional physical networks 
that exist within and between physical data centers. A VPC network provides 
connectivity for your Compute Engine virtual machine (VM) instances, 
Container Engine containers, App Engine Flex services, and other 
network-related resources.

So I assume this should work? Any suggestion is greatly appreciated. Thanks 
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 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/bc3058f7-1cc3-4955-8dec-4d0c6313a427%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Cannot open ssh windows and load monitoring

2017-08-29 Thread Rama - Rahan Yama Gusta
any boody here cannot access to ssh and load any instances monitoring 
dashboard?

please help, my web cannot be access because of that problem

Thank you before

-- 
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/ea96582c-1e8c-499a-a66c-31c01dead922%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Sydney Data Center and migration of app engine application

2017-08-29 Thread Mark Hetherington
Hi,

With the commissioning of the Sydney data centre, there are no doubt many 
Australia based customers wanting to migrate to the new data centre. I 
imagine the same was true when other locations opened up worldwide.

We have existing app engine, cloud sql, cloud storage and data store assets 
we would like to migrate. Has anyone undertaken this process? Our 
understanding is that we can create a new application in the new zone, and 
do a backup and restore. However there are a few hurdles. Some of the 
issues we see are:

   - The application name currently in use won't be available for use in 
   the new zone, thus requiring a rename of the application
   - The process of cutting over between zones may require us to update a 
   number of DNS A records managed by third parties. 
   - The CNAME to ghs.googlehosted.com must cut over to the new application 
   at some point, but I'm not sure how this is managed. Presumably when 
   verifying the domain into the new application google starts serving a new 
   result when ghs.googlehosted.com is queried?

Are there any migration tools available? Does google offer any assistance 
in this regard? According to a news article 
at 
https://www.crn.com.au/news/google-cloud-finally-comes-to-sydney-today-465735, 
"
Google Cloud platform managing director APJ Rick Harshman told CRN that 
customers wanting to migrate to local availability zones can contact one of 
its partners, or Google's customer engineering team to help with the 
migration.", but I'm not sure how to get in touch with the "customer 
engineering team".

Cheers,
Mark


-- 
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/92e5a3ca-c3a8-4507-8f2f-d6961aad239b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.