[google-appengine] Are idle instances billed?

2019-09-23 Thread Alejo gomez

I have the doubt if the idles instances in app engine are billed in a 
different way, or as such they are not billed.

My doubt comes from the following. Observing in stackdriver the behavior of 
my instances, I see the following:

[image: idles.JPG]





You can see that all day I've had an idle instance. But when I enter the 
app engine dashboard I see this:


[image: billing.JPG]


Then why only bill me 4.18 hours of instance, if all day I've had an active 
idle instance? 


thanks for the 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/0faec208-163a-4045-8e5b-7bb65f10a137%40googlegroups.com.


[google-appengine] .NET Core 3.0 Timeline

2019-09-23 Thread Dominic Laudate
Hello,

We use App Engine for one of our API servers and are curious what the 
timeline for supporting .NET Core 3.0 is. We're fairly new to the platform 
and don't know how often new versions are added. Any info would be greatly 
appreciated.

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/72e61d88-070a-430c-be70-39a63ea0d3ca%40googlegroups.com.


[google-appengine] Re: Region of Static IP

2019-09-23 Thread 'Jason' via Google App Engine


Hi,

There are two type of external IP addresses that you can reserve:

1. A regional IP address

2. A global IP address

The regional IP addresses can be used for VM instances, but global IP 
addresses are used for Load Balancers.

The static external IP address that you want to assign to the VM instance 
needs to be in the same region. You cannot assign a static IP address to a 
VM instance that is not in the same region.

You can read more about how static external IP addresses behave at the 
bottom of this message [1].

[1] 
https://cloud.google.com/compute/docs/ip-addresses/reserve-static-external-ip-address#reserve_new_static

-- 
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/4ced3c41-b0c4-4395-a5cc-58b2bd430b2e%40googlegroups.com.


[google-appengine] Re: Region of Static IP

2019-09-23 Thread 'Alexandre Duval-Cid' via Google App Engine
Hi,

There are two type of external IP addresses that you can reserve:

1. A regional IP address
2. A global IP address

The regional IP addresses can be used for VM instances, but global IP 
addresses are used for Load Balancers.

The static external IP address that you want to assign to the VM instance 
needs to be in the same region. You cannot assign a static IP address to a 
VM instance that is not in the same region.

You can read more about how static external IP addresses behave at the 
bottom of this message [1].

[1] 
https://cloud.google.com/compute/docs/ip-addresses/reserve-static-external-ip-address#reserve_new_static
 


-- 
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/49b20fdf-9b03-4fe1-ab92-b91c2ac8d11a%40googlegroups.com.


[google-appengine] Error 500 on 60MB csv file download

2019-09-23 Thread Some Name
Hello,
I have an API endpoint in Google Apps Engine (F4 instance, Python3, Flask).
The endpoint streams CSV data using this code

return Response(converter.generate(), mimetype="text/csv", headers={
"Content-Disposition": "attachment; filename=data_export.csv",
})

converter.generate() yields bytes() objects.
This works on my local machine but when deployed on GAE it throws an 500 
error with no info in the logs about what caused the error.
Previously it had show in the logs that the instance has ran out of memory 
but I have increased it from F1 to F4 and made it a data stream instead of 
generating it at once.
Now the memory issue is fixed but it still throws the 500 error.
Enter code here...


-- 
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/1c2f6ae7-40a8-4460-addb-0db1819b92e2%40googlegroups.com.


[google-appengine] Re: Error 500 on 60MB csv file download

2019-09-23 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello,

Please note that Google Groups are reserved for general Google Cloud 
Platform-end product discussions and not for reporting issues, which is why 
I suggest moving the troubleshooting to Issue Tracker[1], where issues can 
be turned private in case we need to gather any project specific details.

[1] https://cloud.google.com/support/docs/issue-trackers

-- 
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/216c9c9c-8f22-4939-9c66-c7e2d15f927d%40googlegroups.com.


Re: [google-appengine] Re: running instances serving old versions of an application in google app engine

2019-09-23 Thread 'Elliott (Cloud Platform Support)' via Google App Engine
Hello Pardeep,

If instances receive requests, they will run. In this scenario, you would 
manually need to clean those instances.

-- 
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/7d2d0a9b-26ce-4e29-9931-7dfba23a2d07%40googlegroups.com.


[google-appengine] Re: How to export more than 50 Kinds from Google Cloud Datastore into the same Cloud Storage Bucket?

2019-09-23 Thread 'Hamid Raza' via Google App Engine
Hi George,

Thanks for your reply.
Yes, I do export a chunk of 40 entities in a single operation. And 
according to my understanding, the limit of 20 export and import requests 
is actually the limit on the number of times the export and import API can 
be called in a minute, right? And, I am triggering the export of subsequent 
chunk only after the previous one has completed. So, I think it will be 
very unlikely that I will hit this 20 export and import requests per minute 
limit.

On Monday, September 23, 2019 at 9:38:00 PM UTC+5, George (Cloud Platform 
Support) wrote:
>
> Hello Hamid, 
>
> You mention splitting your export into chunks of 40 entities. Do you 
> export this chunk in a single operation? If so, you may check the value of 
> requests per minute, as there is a limit of maximum of 20 export and import 
> requests per minute for a project. You may find related information on the 
> "Exporting and Importing Entities" documentation page 
> . 
>
> To avoid the path error, you may consider using the NAMESPACE_PATH 
> parameter, when setting an environment variable for your Cloud Storage 
> bucket ID: BUCKET="YOUR_BUCKET_NAME[/NAMESPACE_PATH]" . In the extreme, you 
> may lodge a request for quota increase, to be able to export more than 50 
> concurrent exports and imports. You should rather open an issue in the Public 
> Issue Tracker , as here you cannot 
> transmit private information needed, and other confidential information, 
> and progress is difficult to track. 
>

-- 
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/11ef341a-a64f-4883-9b83-1f3ebf1b234d%40googlegroups.com.


[google-appengine] Re: Problem with Google Calendar Api error This app isn't verified

2019-09-23 Thread 'George (Cloud Platform Support)' via Google App Engine
Hi Leandro, 

This discussion group is oriented more towards general opinions, trends, 
and issues of general nature touching the app engine. For Wordpress site 
setup, as well as setting up Calendar API access, you may be better served 
in dedicated forums such as stackoverflow, where experienced programmers 
are within reach and ready to 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/bba6b344-6c0b-426f-a07f-53f7bc2c1391%40googlegroups.com.


[google-appengine] Porting a Django+Apache app in GAP - Where to set Redirect 301 that now are in httpd.conf Apache file?

2019-09-23 Thread Giancarlo Facoetti


Hello all, I'm porting a webapp (Django+Mysql+Apache) in Google App Engine. 
Everything is going well, but I don't know how to manage the old redirects 
301.

The original version uses the httpd.conf file of Apache with directives 
likes this:

Redirect 301 /old-url/ www.mysite.com/new-url/

How can I set this kind of redirects in GAE? thank you very much

-- 
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/bea388b6-5ff6-4b79-b2c5-9aa6c84fbce6%40googlegroups.com.


[google-appengine] Re: Managed Google vs Raw Google

2019-09-23 Thread 'George (Cloud Platform Support)' via Google App Engine
Your question is is replied simply by listing advantages of 
Infrastructure-as-a service, as Compute Engine falls under this category, 
IaaS:  

- High-Performance, Scalable VMs
- Industry Leading Price & Performance
- Low Cost, Automatic Discounts
- Fast & Efficient Networking
- Flexibility for Every Workload

You can find related information on the Compute Engine page 
.  

The most appropriate solution takes into account how you plan to use your 
app, and what workloads are expected. Depending on a few parameters, such 
as number of users expected, scalability requirements, or intention to 
concentrate on programming, rather than system administration, you might 
consider deploying your app in App Engine 
. 

-- 
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/649bcc79-205f-4fe0-977a-5824d064f91f%40googlegroups.com.


[google-appengine] Error 500 on 60MB csv file download

2019-09-23 Thread Some Name
Hello,
I have an API endpoint in Google Apps Engine (F4 instance, Python3, Flask).
The endpoint streams CSV data using this code

return Response(converter.generate(), mimetype="text/csv", headers={
"Content-Disposition": "attachment; filename=data_export.csv",
})

converter.generate() yields bytes() objects.
This works on my local machine but when deployed on GAE it throws an 500 
error with no info in the logs about what caused the error.
Previously it had show in the logs that the instance has ran out of memory 
but I have increased it from F1 to F4 and made it a data stream instead of 
generating it at once.
Now the memory issue is fixed but it still throws the 500 error.
Enter code here...


-- 
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/2ed0c183-aeb1-4e2a-8cbe-7d3529c7da23%40googlegroups.com.


[google-appengine] Region of Static IP

2019-09-23 Thread Terry Lin
I can't choose my VM when I want to change my external static IP option, is 
that both Static IP and my VM need to be in the same region?  Is it 
possible to assign a static IP from a VM in a different region? Many 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/282aad27-dc47-44bd-be59-46d2e2f7ee1c%40googlegroups.com.


[google-appengine] Managed Google vs Raw Google

2019-09-23 Thread test user
Greetings,
I was wondering if a user decides to go for hosting with 
google,https://www.cloudways.com/en/managed-google-compute-engine.php, for 
the desired application such as wordpress, php, magento, is it better than 
purchasing a raw server and doing all the stuff by your own self? 

-- 
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/67fc0777-0aac-4e82-bcee-0103a2a8479a%40googlegroups.com.


[google-appengine] Region of Static IP

2019-09-23 Thread Terry Lin
I can't choose my VM when I want to change my external static IP option, is 
that both Static IP and my VM need to be in the same region?  Is it 
possible to assign a static IP from a VM in a different region? Many 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/2ef71cdf-d147-4bdb-a99b-ddde18dc497e%40googlegroups.com.


[google-appengine] Why TTFB on Google Cloud Run/App depends significantly on domain?

2019-09-23 Thread Andy S


I have several top level domains pointing (DNS A record) to one service on 
Google Cloud Run/App (I've deployed the same service to both cloud products 
(Run/App) in order to test performance).


If I visit service though top level domains I have quite long TTFB, but if 
I visit service by "internal" Google Cloud domain like: 
myapp-123456.appspot.com (Google Cloud App) myapp-123456.a.run.app (Google 
Cloud Run) I have quite small TTFB, *why?*


TTFB on Google Cloud App domain is about 40ms and for top level domain 
pointing to the same instance of service about 80ms.

TTFB on Google Cloud Run domain is about 50ms and for top level domain 
pointing to the same instance of service about 320ms.


TTFB on Google Cloud App is about 50% of time for top level domain. TTFB on 
Google Cloud Run is about 16% of time for top level domain. *Why?*


TTFB 300ms for every request is absurd! In 300ms I could have DOM content 
loaded on private server.


Technical details: 

My top level domains are registered by different registrars. Difference is 
the same for AnyCast DNS (OVH) and standard DNS. Difference exist also for 
http and https pages. I've tested it manually and by scripts 
(chrome-har-capturer) houndrends times with headless google and on firefox. 
I was using median time value for, not average. There is no point of 
publishing here my domains because I'm testing different settings 
constantly.


Sample screens:

Google Cloud Run, Google Domain 

Google Cloud Run, Top Level Domain 

Virtual Private Server, Top Level Domain 


-- 
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/e5465cc7-aee2-433c-9e56-70e594c3a897%40googlegroups.com.


[google-appengine] How to export more than 50 Kinds from Google Cloud Datastore into the same Cloud Storage Bucket?

2019-09-23 Thread 'Hamid Raza' via Google App Engine

I am attempting to use the new datastore export to export more than 50 
different entity kinds. For this purpose I specifically followed this cron 
job based procedure. But, currently it is not possible to export more than 
50 different entity kinds in a single backup request. 
Also, ideally I would want to have all the backups end up in the same Cloud 
Storage bucket (split by kind).

In order to do so I have split the export into multiple chunks (e.g. 40 
entity kinds in each chunk). But, now if I try and export multiple 
different entities into the same bucket, I get the error Path already 
exists: /BUCKET_NAME/2019-09-21.overall_export_metadata

It is mentioned here in the docs that "the same Cloud Storage bucket can be 
used in multiple projects.export operations without conflict." But, I am 
having above path error. Can someone please guide me how can I do different 
exports in the same storage bucket?

-- 
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/81853364-0a74-4b97-88be-703265a69549%40googlegroups.com.


[google-appengine] How to export more than 50 Kinds from Google Cloud Datastore into the same Cloud Storage Bucket?

2019-09-23 Thread 'Hamid Raza' via Google App Engine

I am attempting to use the new datastore export to export more than 50 
different entity kinds. For this purpose I specifically followed this cron 
job based procedure. But, currently it is not possible to export more than 
50 different entity kinds in a single backup request. 
Also, ideally I would want to have all the backups end up in the same Cloud 
Storage bucket (split by kind).

In order to do so I have split the export into multiple chunks (e.g. 40 
entity kinds in each chunk). But, now if I try and export multiple 
different entities into the same bucket, I get the error Path already 
exists: /BUCKET_NAME/2019-09-21.overall_export_metadata

It is mentioned here in the docs that "the same Cloud Storage bucket can be 
used in multiple projects.export operations without conflict." But, I am 
having above path error. Can someone please guide me how can I do different 
exports in the same storage bucket?

-- 
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/750ec6a2-df3a-4a13-a9a1-5cf9ffb11e5b%40googlegroups.com.


[google-appengine] Porting a Django+Apache app in GAP - Where to set Redirect 301 that now are in httpd.conf Apache file?

2019-09-23 Thread Giancarlo Facoetti


Hello all, I'm porting a webapp (Django+Mysql+Apache) in Google App Engine. 
Everything is going well, but I don't know how to manage the old redirects 
301.

The original version uses the httpd.conf file of Apache with directives 
likes this:

Redirect 301 /old-url/ www.mysite.com/new-url/

How can I set this kind of redirects in GAE? thank you very much

-- 
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/01b70744-da51-442e-ba03-e0d0cd2a1e0d%40googlegroups.com.


[google-appengine] Re: mounting buckets or accessing gcp storage from AI platform notebook instance

2019-09-23 Thread 'Ali T (Cloud Platform Support)' via Google App Engine
Hi,

One way to do this is through gcsfuse 
. Once you create an AI 
Platform notebook, click on the notebook’s name, ssh into the VM and follow 
the gcsfuse installation instructions for Ubuntu and Debian 

.

Once gcsfuse installed, run the commands below to mount your bucket to the 
Jupyter notebook:

$ cd /home/jupyter/
$ sudo -s su jupyter
$ mkdir MOUNT_DIRECTORY
$ /usr/bin/gcsfuse GCS_BUCKET MOUNT_DIRECTORY

Afterwards, in your Jupyter notebook interface, you will find a 
MOUNT_DIRECTORY folder which will be synced to your GCS bucket. 

-- 
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/2492987c-ea29-405d-a50a-f26e80ec14bb%40googlegroups.com.