[google-appengine] Google App engine Python 2.7

2020-06-04 Thread Nimrod Kaplan
Hi,

Can someone update what is going to happen with existing python 2.7 apps on 
google app engine in July / August ? Will they continue to work ? 

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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/daa9c018-1fbe-4bb2-ad6c-236d5065c3ff%40googlegroups.com.


[google-appengine] App Engine Deployer role is missing permissions to carry out the --stop-previous-version

2020-06-04 Thread Alan Kayahan
Hello,

I have created an account dedicated to deploying a node application on our 
AppEngine. The account is assigned the "App Engine Deployer" role, and used 
by GitHub actions to deploy on git push. 
It deploys just fine, however the previous versions remain active and incur 
charges unnecessarily. To prevent this, I added the --stop-previous-version 
argument 
to gcloud deploy command. However I get the following warning.

Stopping version [/default/20200603t153013].
WARNING: Error stopping version [/default/20200603t153013]: 
PERMISSION_DENIED: The caller does not have permission
WARNING: Version [/default/20200603t153013] is still running and you 
must stop or delete it yourself in order to turn it off. (If you do not, 
you may be charged.)

The problem is resolved if I create a custom role, copying all the 
permissions from the default "App Engine Deployer", plus adding the 
"appengine.instances.delete" permission. So my questions are,
1) .delete is over-granting when the requirement is .stop which does not 
exist as a permission. Is there any plan on introducing finer grained 
permissions?
2) Any plans on updating the built-in "App Engine Deployer" role to support 
the --stop-previous-version argument? I read way too many incidents of 
being overcharged due to multiple versions running simultaneously (which is 
another discussion of its own on why this is the default instead of being 
an option), and the current state of the corresponding role is not exactly 
helping.

Best,
Alan 

-- 
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/3a4e6037-635a-40db-9afe-7552648c0ca0%40googlegroups.com.


[google-appengine] Disable TLS 1.0 and 1.1 for GAE Python/Django

2020-06-04 Thread CHUAN QIN
Hi,

I am hosting a Django web app in GAE  (python 2.7). Understand I need to 
bump to Python 3 asap. 

However currently I have a request from client to disable TLS 1.0 and 1.1 
on this web app. Is this achievable from code level, or should I ask help 
from GCP support? 

Any help is much appreciated.


Thank 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/a4525afe-6e2a-484a-ac83-45d2b2db7472%40googlegroups.com.


Re: [google-appengine] Frequent restart of instances - App Engine Standard PHP 7.3

2020-06-04 Thread 'Katayoon (Cloud Platform Support)' via Google App Engine
Hi,

As previously recommended, you may create a private report 
 
in the Issue tracker and provide us with your project id, the service name 
and the version number, so that we would be able to look into it and assist 
you to resolve the issue efficiently. 


-- 
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/4c43788e-ca9b-43fc-9a2a-ac44cc55ef6c%40googlegroups.com.


[google-appengine] Re: Disable TLS 1.0 and 1.1 for GAE Python/Django

2020-06-04 Thread 'Olu' via Google App Engine
At the moment, there is really no way to limit communication to TLS 1.2 on 
your application. To get this done at the moment, I recommend that you 
contact the GCP Support engineers[1] so that the team could help with 
disabling these other versions of TLS.

There is a Feature request[2] that was submitted to our product engineers 
for an implementation that allows a way to select which TLS 
versions(1.0/1.1/1.2) should be permitted on your App Engine application. 
The evaluation of this request is ongoing and there is no ETA  at this 
time. You can bookmark the link for regular updates on this feature. 

[1]https://cloud.google.com/support-hub
[2]https://issuetracker.google.com/80295154

-- 
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/876b813b-2cdc-4bbb-a48d-07ddf35fa548%40googlegroups.com.


Re: [google-appengine] Google App engine Python 2.7

2020-06-04 Thread 'Dustin Ingram' via Google App Engine
Yes. See
https://cloud.google.com/appengine/docs/standard/long-term-support#python_27
.

On Thu, Jun 4, 2020 at 7:09 AM Nimrod Kaplan  wrote:

> Hi,
>
> Can someone update what is going to happen with existing python 2.7 apps
> on google app engine in July / August ? Will they continue to work ?
>
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/daa9c018-1fbe-4bb2-ad6c-236d5065c3ff%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CAEODo7u%2BRxDhiqqpwLjqR_Lk99U8jH-1q0PmDB0o1ekbTx0K6A%40mail.gmail.com.


[google-appengine] Re: Disable TLS 1.0 and 1.1 for GAE Python/Django

2020-06-04 Thread 'Hamid Raza' via Google App Engine
It is better to contact GCP support. They will take care of it for your 
project.
And I think that's the recommended way (as I read about it 3-4 months ago).

On Thursday, June 4, 2020 at 5:09:16 PM UTC+5, CHUAN QIN wrote:
>
> Hi,
>
> I am hosting a Django web app in GAE  (python 2.7). Understand I need to 
> bump to Python 3 asap. 
>
> However currently I have a request from client to disable TLS 1.0 and 1.1 
> on this web app. Is this achievable from code level, or should I ask help 
> from GCP support? 
>
> Any help is much appreciated.
>
>
> Thank 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/6cf95ce9-09c2-480b-b1ef-8aae49ff7688%40googlegroups.com.


[google-appengine] Re: Bigger app sizes with Cloud SDK than with AppCfg

2020-06-04 Thread 'Aref Amiri (Cloud Platform Support)' via Google App Engine
AppCfg is deprecated now 
 
and 
it is recommended to use gcloud command 
line
 
which uses Cloud Build to build the app into a container and deploy the 
container to the runtime.

-- 
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/bfd4abef-f343-430f-9ec2-c4599eb593e7%40googlegroups.com.


[google-appengine] Re: Bigger app sizes with Cloud SDK than with AppCfg

2020-06-04 Thread DFB
My builds are done using aappengine-maven-plugin, which internally uses 
gcloud.



On Thursday, June 4, 2020 at 11:44:47 PM UTC+8, Aref Amiri (Cloud Platform 
Support) wrote:
>
> AppCfg is deprecated now 
> 
>  and 
> it is recommended to use gcloud command 
> line
>  
> which uses Cloud Build to build the app into a container and deploy the 
> container to the runtime.
>

-- 
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/1ff18216-74a9-4ea3-8bed-809385e26ae3%40googlegroups.com.


[google-appengine] Re: App Engine Deployer role is missing permissions to carry out the --stop-previous-version

2020-06-04 Thread 'David (Cloud Platform Support)' via Google App Engine


Hello,

You are able to create a feature request 
 
for each of your inquiries:

1-To introduce a finer grained permissions that only includes .stop

2-For the App Engine Deployer role to support the --stop-previous-version 
argument

Then you would just need to follow those feature requests for any updates.

-- 
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/92f824c7-b8d0-40d1-8759-fa463fcd2c78o%40googlegroups.com.


[google-appengine] Re: Disable TLS 1.0 and 1.1 for GAE Python/Django

2020-06-04 Thread CHUAN QIN
Sure, will do. Tks!

On Thursday, 4 June 2020 14:12:35 UTC+1, Olu wrote:
>
> At the moment, there is really no way to limit communication to TLS 1.2 on 
> your application. To get this done at the moment, I recommend that you 
> contact the GCP Support engineers[1] so that the team could help with 
> disabling these other versions of TLS.
>
> There is a Feature request[2] that was submitted to our product engineers 
> for an implementation that allows a way to select which TLS 
> versions(1.0/1.1/1.2) should be permitted on your App Engine application. 
> The evaluation of this request is ongoing and there is no ETA  at this 
> time. You can bookmark the link for regular updates on this feature. 
>
> [1]https://cloud.google.com/support-hub
> [2]https://issuetracker.google.com/80295154
>
>

-- 
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/fbf15d80-ba82-4ead-8c23-171da2bf102f%40googlegroups.com.