[google-appengine] Re: High untraced time on lightweight endpoint

2019-06-07 Thread Jeremy D
For posterity: 
https://stackoverflow.com/questions/56503733/high-latency-on-webapp2-endpoint-under-appengine

On Tuesday, May 14, 2019 at 4:06:04 AM UTC-5, Jeremy D wrote:
>
>
> Seem to have random high untraced time on various endpoints, but most 
> noticeably one that should always be responding well under 1 second, as all 
> it does it kick off a Task based on request data. Most of the responses are 
> around 100ms, some are even below that. Occasionally though, this endpoint 
> runs into 5 to 10 seconds of latency. 
>
> [image: Screen Shot 2019-05-14 at 4.04.52 AM.png]
> It's not a request that triggered spawning a new instance, and many of 
> them aren't either so I'm not sure why the untraced time is so high. Any 
> thoughts?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/f78cd75b-8500-42eb-acc5-527b06856abc%40googlegroups.com.


[google-appengine] Re: Your project loyalpilot-201711 has been shut down

2019-06-07 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Hi Chris,

Thank you for reporting this.

I understand that you are experiencing an issue with the link provided in 
the email.  

However as this group is intended for general discussion regarding Google 
Cloud App Engine tools where you're likely to find information like service 
status updates and release notes and high-level discussions on the platform 
not for specific technical issue’s troubleshooting I you would recommend to 
open a new issue following this link 
 
where the engineering team will be able to assist you.

Thank you for understanding.


On Friday, June 7, 2019 at 10:07:35 AM UTC-4, Chris Palmer wrote:
>
> Hi Nicolas,
>
> The problem I have is - I get an email which instructs me to go to the 
> following page to restore the app (since it's been deleted). 
>
> BUT the page doesn't load, it just spins on that wheel, so I can't 
> actually restore anything.
>
> That's all the email suggests:
>
> Dear Developer,
>
> Your Google Cloud project  was shut down on 2019-05-28T20:20:23+00:00.
>
> Shut-down projects and the data stored in them may be recovered for a 
> limited time before the projects are permanently deleted. If you’d like to 
> recover your project, you must cancel the project’s permanent deletion 
> before 2019-06-27T20:20:23+00:00.
>
> To recover your shut-down project:
>
>1. Visit the Resources pending deletion 
>
> 
> page.
>2. Select the project you want to recover, and click *Restore*.
>3. In the confirmation dialog, click *Restore*.
>
>
> If you take no action by *2019-06-27T20:20:23+00:00*, you will be unable 
> to recover your project.
>
> If you have any questions, please visit Google Cloud Platform Resource 
> Manager Documentation  or 
> contact Google Cloud Platform Support 
> .
>
> Cordially,
> The Google Cloud Platform Team
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/68a1042b-b7be-4edc-8163-222d0b8bc0a1%40googlegroups.com.


[google-appengine] Re: Your project loyalpilot-201711 has been shut down

2019-06-07 Thread Chris Palmer
Hi Nicolas,

The problem I have is - I get an email which instructs me to go to the 
following page to restore the app (since it's been deleted). 

BUT the page doesn't load, it just spins on that wheel, so I can't actually 
restore anything.

That's all the email suggests:

Dear Developer,

Your Google Cloud project loyalpilot-201711 was shut down on 
2019-05-28T20:20:23+00:00.

Shut-down projects and the data stored in them may be recovered for a 
limited time before the projects are permanently deleted. If you’d like to 
recover your project, you must cancel the project’s permanent deletion 
before 2019-06-27T20:20:23+00:00.

To recover your shut-down project:

   1. Visit the Resources pending deletion 
   

page.
   2. Select the project you want to recover, and click *Restore*.
   3. In the confirmation dialog, click *Restore*.


If you take no action by *2019-06-27T20:20:23+00:00*, you will be unable to 
recover your project.

If you have any questions, please visit Google Cloud Platform Resource 
Manager Documentation  or 
contact Google Cloud Platform Support 
.

Cordially,
The Google Cloud Platform Team

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/4c82b524-6d1f-422d-b1fb-9953adb8ef61%40googlegroups.com.


[google-appengine] Re: Can I deploy and App Engine App inside App Engine without needing another VM

2019-06-07 Thread 'Sam (Google Cloud Support)' via Google App Engine
Oh, I think I understand your request now. First of all, you cannot run 
commands from within App Engine VMs as these are Google-managed instances. 
You simply don't have access to download the Cloud SDK inside the VMs for 
running glcoud or gsutil commands from within them, not even from App 
Engine Flex which offers some level of access to the VM instance.

But if you looking for a way to script/automate App Engine app deployments? 
I can recommend two options for that:

1) Google Cloud Functions:
This is an event-driven serverless-compute platform that will allow you to 
deploy lightweight scripts to abstract out your app deployments for your 
prepackaged deployment files [1]. You won't be spinning up a VM instance 
for this so you can save a lot of cost this way, also as GCF has a 
free-tier for compute resource usage [2]. 

I'm not sure if you misspoke about using Datastore (which is a NoSQL 
database - not a viable option) but you can definitely use Google Cloud 
Storage (object storage) as a repository for your app files for which you 
can deploy a function that runs gsutil cp to upload packaged files to your 
GCS repo, and a function that listens to changes to this GCS repo and then 
runs gcloud app deploy to deploy the new app version with the --no-promote 
and --version flags configured the way that suits. Take a look at this 
tutorial for more on GCS and GCF integration [3].

2) Google Cloud Repository integrating with Google Cloud Build and App 
Engine. This uses the Google's cloud-native source code repo [4] (which can 
connect with other hosted repos) to supply new commits to Cloud Build which 
automates new builds of your app in a customizable (scripted) fashion [5] 
and then deploys new builds to App Engine.

Below is a walkthrough on how to automatically deploy an application stored 
in Cloud Source Repositories to App Engine when there is a new commit [6].

Consider these two options for a method to abstract away the computing 
resources. There are other Continuous Delivery options you could consider 
if you want to get even fancier (or not) [7].

[1] Google Cloud Functions: https://cloud.google.com/functions/
[2] Cloud Functions pricing: 
https://cloud.google.com/functions/pricing#cloud_functions_pricing
[3] Cloud Storage trigger function: 
https://cloud.google.com/functions/docs/tutorials/storage
[4] Cloud Source Repositories: https://cloud.google.com/source-repositories/
[5] Cloud Build: https://cloud.google.com/cloud-build/
[6] Automating App 
Deployments: 
https://cloud.google.com/source-repositories/docs/quickstart-triggering-builds-with-source-repositories
[7] Other CD options: 
https://cloud.google.com/solutions/continuous-delivery/

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/46dd0977-29d9-4cf4-b426-64512d5147cf%40googlegroups.com.