[google-appengine] Re: Microservices and instance costs

2018-08-20 Thread Ani Hatzis
st, Ani On Monday, August 20, 2018 at 5:29:03 PM UTC+2, Richard Cheesmar wrote: > > Hi, Ani, > > Thanks for reply, but does that mean I am therefore paying the base cost > for each instance of each service on top of instance hours. > > > On Monday, August 20, 2018 a

[google-appengine] Re: Microservices and instance costs

2018-08-20 Thread Ani Hatzis
Hi Richard, instances are not shared across services, each service has its own instances (you can define different scaling and instances classes per service). In your billing, you will not see the instance hours broken down to services, but for all services of the project together. This also

Re: [google-appengine] Custom Domain much slower than $PROJECT_ID.appspot.com

2018-08-09 Thread Ani Hatzis
Hi James, I believe you are affected by a known issue . Last status was that they are working on it, but no ETA. On Thu, Aug 9, 2018 at 3:41 PM James Kozianski wrote: > Hi, > > I've set up a custom domain for my service and I find that when

Re: [google-appengine] Can't deploy changes in console: error response 13: An internal error occurred

2018-07-23 Thread Ani Hatzis
Ask her to try again now (since your post is already two hours old). However, if the problem persists, ask her to run the command with gcloud app deploy . --verbosity=debug to get more information about the potential reason. There have been reports with this error code and message in this group

Re: [google-appengine] Re: Old versions still running (flexible environment)

2018-07-19 Thread Ani Hatzis
+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/6678e51f-cb09-4cac-b4cc

[google-appengine] Re: Using GAE to upload images to Google Cloud Storage?

2018-07-12 Thread Ani Hatzis
Non-user applications can create signed URLs, see Creating Signed URLs with a Program . You can do that in App Engine, if you want to enforce some kind of business logic, or let the external app create the signed

[google-appengine] Re: Can app engine host a Node JS worker?

2018-07-11 Thread Ani Hatzis
Maybe Cloud Functions will be added to Choosing a Computing Option once it gets out of beta? In general I would say, that Cloud Functions (almost no control, focus on code) is on the opposite side of Compute Engine (full control, lots

Re: [google-appengine] Can App Engine Flexible be autoscaled based on Cloud Pub/Sub queue?

2018-07-03 Thread Ani Hatzis
I haven't tried this myself, but you can run a flexible app in Kubernetes Engine , and for Kubernetes Engine there is a new custom-metric based autoscaling

Re: [google-appengine] Re: Does App Engine Flexible for Python support concurrent requests?

2018-07-03 Thread Ani Hatzis
On Tue, Jul 3, 2018 at 12:37 AM Parth Mishra wrote: > > 1. Isn't the deadline exceeded error only for standard App engine or does > it apply to both? I was testing this today and I could make requests with > latency return times of much greater than 60s > Correct, request timeout limit is 60

Re: [google-appengine] Re: Hey after two days I get a message the I cannot deploy my appengine becuase I already got too many version.

2018-06-30 Thread Ani Hatzis
There is no particular write-protection for a given version. I can think of two solutions in your case: You could use two user accounts, where only one of them has the permission to upload new versions, and normally you would use the other (restricted) account for your day-to-day work between

Re: [google-appengine] Re: Hey after two days I get a message the I cannot deploy my appengine becuase I already got too many version.

2018-06-29 Thread Ani Hatzis
Hello, when you deploy a new App Engine app version and do not specify a specific version, App Engine will create a new version automatically. You can see them in the Web UI under *App Engine > Versions* or in the shell: gcloud app versions list Many users utilize versions using traffic split

[google-appengine] Re: App Engine Standard: "heroku run" equivalent

2018-06-22 Thread Ani Hatzis
In context of running the migration from your local machine, do you also make use of App Engine's versioning system? See this Stackoverflow answer . On Thursday, June 21, 2018 at 12:37:35 AM UTC+2, rgmenon wrote: > > I have a Django application

Re: [google-appengine] Problem: Can not get TinyWebDB connected to Google Cloud Platform

2018-06-13 Thread Ani Hatzis
d Platform via TinyWebDB. > Could not wait to get back here and tell you ...many thanks. After a > coffee and a break I will document this process THAT WORKS so I have it for > future reference! Thank you again. > > On Wednesday, June 13, 2018 at 11:05:43 AM UTC-4, Ani Hatzis

[google-appengine] Re: Cloud endpoints are running slow in App Engine Standard Environment

2018-06-13 Thread Ani Hatzis
Since your app is not in production yet, you could test the latency by changing your scaling from auto scaling to basic or manual scaling in app.yaml (see Known Issues ) and compare the

Re: [google-appengine] Problem: Can not get TinyWebDB connected to Google Cloud Platform

2018-06-13 Thread Ani Hatzis
gt; To view this discussion on the web visit > https://groups.google.com/d/msgid/google-appengine/d2052ec8-7d10-4b15-9001-b37686cfdae7%40googlegroups.com > <https://groups.google.com/d/msgid/google-appengine/d2052ec8-7d10-4b15-9001-b37686cfdae7%40googlegroups.com?utm_medium=email_source=footer&g

[google-appengine] Re: Cloud endpoints are running slow in App Engine Standard Environment

2018-06-11 Thread Ani Hatzis
Hi, in your app's request_log (under Stackdriver Logging), do the requests reflect the high latency in the field protoPayload.latency? Or is the latency issue isolated to Endpoints itself (those are logged to request_latency_in_ms

Re: [google-appengine] Exporting data from google cloud catastrophe to google sheets via api

2018-05-25 Thread Ani Hatzis
If I understand correctly, you want to export certain parts of your data from Cloud SQL (MySQL 2nd generation) to Google Sheets, and users should be able to manipulate the exported data in the sheets. I assume by "manipulating" you refer to pivot tables, diagrams and so on. Do you want to stream

Re: [google-appengine] Re: gcloud beta app deploy : This deployment has too many files

2018-05-20 Thread Ani Hatzis
ecrets and project IDs-- the output of gcloud info - Don't forget to a post the link to your question here, too. Good luck Ani On Sat, May 19, 2018 at 10:23 PM Esther Escobodo <escobodoest...@gmail.com> wrote: > > > yes > > On Sat, May 19, 2018, 12:46 PM Esther Escobodo <

Re: [google-appengine] Re: gcloud beta app deploy : This deployment has too many files

2018-05-19 Thread Ani Hatzis
Hey Lourdu Rajan, gcloud endpoints services deploy openapi.yaml Everything fine as expected. gcloud beta app deploy at some point confirmed the upload of 24 files: ╔╗╠═ Uploading 24 files to Google Cloud Storage ═╣

Re: [google-appengine] gcloud beta app deploy : This deployment has too many files

2018-05-17 Thread Ani Hatzis
ducing such steps very easy and it comes with pre-installed tools. Just to be sure the problem is not related to the local environment, e.g. outdated or broken Cloud SDK. Regards, Ani On Thursday, May 17, 2018 at 5:07:42 PM UTC+2, Lourdu rajan wrote: > > Hi Ani Hatzis, > > Thanks for yo

Re: [google-appengine] gcloud beta app deploy : This deployment has too many files

2018-05-16 Thread Ani Hatzis
he app is, and maybe it gets confused and tries to upload some other path with 10,000+ files. Good luck, Ani On Wednesday, May 16, 2018 at 9:11:36 PM UTC+2, Lourdu rajan wrote: > > Hi Ani Hatzis, > > Thanks for your reply. > > I don't have any process like file storage or file processing.

[google-appengine] Re: read that only Python, Java, and Go are supported

2018-05-16 Thread Ani Hatzis
That was true a few years ago. Today PHP is supported by both, the standard environment and the flexible environment of App Engine. Look into the comparison of the two PHP environments to pick the best one for your app. Generally speaking, while

Re: [google-appengine] gcloud beta app deploy : This deployment has too many files

2018-05-15 Thread Ani Hatzis
Does your app deployment indeed include more than 10,000 files? You cannot deploy an app with more than 10,000 files. The deployment is supposed to contain mainly code and configuration files. You probably want to also host a bunch of other files (images, PDFs etc.) and have added them to the

[google-appengine] Re: What is the best way to manage env vars in App Engine (flexible environment)?

2018-05-14 Thread Ani Hatzis
Hi Mike, I believe you can use Cloud KMS (Key Management Service) to store private keys in key rings and then encrypt the secrets before they go into your files. Privileged users with the required permissions can use the private keys to locally encrypt the secrets and copy the encrypted values

[google-appengine] Re: Transaction across Java appengine datastore and cloud sql

2018-05-13 Thread Ani Hatzis
It seems your code-base has grown into a quite huge monolithic app. If you haven't done yet, you might look into this: Microservices Architecture on Google App Engine . You could expand your app by putting new

[google-appengine] Re: security of web service with Google App Engine + Cloud Endpoints

2018-05-04 Thread Ani Hatzis
ted in the token. Can I be sure that the id I > extract from the token is safe? > > On Monday, April 30, 2018 at 8:46:02 AM UTC-4, Ani Hatzis wrote: >> >> Hi Deniz, >> >> >>> allow users to get information about their account >>> >&

[google-appengine] Re: sending email at a later date

2018-05-04 Thread Ani Hatzis
In App Engine, you can use tasks in Push Queues . When you create the task you provide a task option , either

[google-appengine] Re: security of web service with Google App Engine + Cloud Endpoints

2018-04-30 Thread Ani Hatzis
Hi Deniz, > allow users to get information about their account > Is the only data shown to the user the information that has been extracted from the current user's ID token? Or do you store additional custom user information that your endpoints will show to the current user, e.g. their user

Re: [google-appengine] Re: GAE Intermittently showing '502 Server Error'

2018-03-24 Thread Ani Hatzis
Hey Suvodeep, I understand the frustration, but from my point of view, I prefer to pay just for the resources I use and according to the SLA. I wouldn't want to indirectly pay for free premium support of other customers (which probably would increase all prices significantly). Anyway, wish you the

Re: [google-appengine] Why Domain is Loading very slowly but when opening directly through App Engine Url it is opening very fastly?

2018-03-24 Thread Ani Hatzis
Is your app hosted in the asia-northeast1 or australia-southeast1 regions? In this case you might be affected by this issue: 64458939 Custom Domains latency impact . Star the issue to get notified of any changes. On 23 March 2018 at 23:34,

[google-appengine] Re: How does App Engine affects the cost of using Cloud Datastore?

2018-03-22 Thread Ani Hatzis
Hello George, is it still necessary to *create/deploy/enable* an app in order to use a new datastore? To validate, I have created a new (empty) project . In Cloud Console under *Cloud Datastore > Entities*

Re: [google-appengine] Is it still possible to install Google App Engine's "Short Links" tool?

2018-03-11 Thread Ani Hatzis
Are you looking for this? https://developers.google.com/url-shortener/ On 11 March 2018 at 00:50, Gary McCormick wrote: > > This is such an important tool, but I can't seem to find any documentation > on how to get it up and running at my new company! > > Any thoughts or

Re: [google-appengine] Google Compute Engine (managed) Vs Google App Engine Flex

2018-03-09 Thread Ani Hatzis
Hello Vi, in case you haven't read this page yet, Choosing a Computing Option shows a good comparison. App Engine Flex and Compute Engine have some overlapping areas where either of them would be a reasonable choice, but I would think that

[google-appengine] Re: Unable to update app engine app

2018-03-08 Thread Ani Hatzis
he configuration is correct. > > This is a bug on app engine's side, the update goes through successfully > the code just never updates. I've tried everything. > > > > On Thursday, March 8, 2018 at 1:36:48 PM UTC-8, Ani Hatzis wrote: >> >> When I used App Engine SDK (appcfg)

[google-appengine] Re: Unable to update app engine app

2018-03-08 Thread Ani Hatzis
When I used App Engine SDK (appcfg) it could happen that a deployment failed, so I repeated the deployment a few minutes later. The same is with Cloud SDK (cloud app deploy). Nothing noteworthy. The new SDK has a little learning curve, but I believe it is far superior to the App Engine SDK.

[google-appengine] Re: gcloud datastore export

2018-03-06 Thread Ani Hatzis
You could load the Cloud Datastore export files that you have stored in Cloud Storage directly into BigQuery . You can do this manually or automate it. Yesterday I learned about this shell script that someone has

Re: [google-appengine] Re: How to upgrade appengine launcher from 1.9.18

2018-03-02 Thread Ani Hatzis
ng wrong. Can you point me in the right > direction? > > Thank you. > > Kathleen > > On Wednesday, February 28, 2018 at 5:20:06 AM UTC-5, Ani Hatzis wrote: >> >> Hi Kathleen, >> >> on which OS do you run the App Engine launcher? >> >> 1.9.18 is

[google-appengine] Re: How to upgrade appengine launcher from 1.9.18

2018-02-28 Thread Ani Hatzis
Hi Kathleen, on which OS do you run the App Engine launcher? 1.9.18 is very old, maybe from around August 2015. I would suspect that you have an old App Engine SDK 1.9.18 installed (that also came with the GUI launcher), and later you have added the Google Cloud SDK

[google-appengine] Re: Architecture advice for Google Cloud Platform website solution

2018-02-18 Thread Ani Hatzis
Hello John, this is a great post. Don't be too concerned about the "rusty" bit or first cloud project. There are many new things to learn, typically things that will make your life easier, but you will find a lot of your experience useful, too. I have tried to read a fair bit about GPC but

Re: [google-appengine] Image Detection - I want it to look in my library (bucket) only and identify based on images in my own bucket

2018-02-18 Thread Ani Hatzis
Yes, the Google Vision API can be integrated with your Google Cloud Storage bucket (it's also mentioned under "Integrated REST API" in the Product Overview ). There is a How-to guide that explains

Re: [google-appengine] Google App Engine Cost

2018-02-09 Thread Ani Hatzis
Hi Terry! Yes, it seems your thinking about this in the correct. I would like to point to a very different solution though. If you also have (basic) JavaScript or Google Apps Script experience, you could check out App Maker which is part of G Suite. It

Re: [google-appengine] Google Cloud Storage API, sometimes we get errors

2018-02-07 Thread Ani Hatzis
Hello Armen, if the code is the same, what else is different? Is the solution hosted in the same project and is the access to the same bucket? Is the authentication method different or the ACL of the bucket? Maybe you can share if Cloud Logging is showing more entries before the actual error.

[google-appengine] Re: Picture tagging and uploading to Database

2018-02-06 Thread Ani Hatzis
Hello Henk, you could also use other GCP products to achieve this workflow, but considering your work-load peaks and the described use-cases App Engine could be a good platform choice. Here comes the shooting :) *Incoming emails* I'm not sure what caveats come for copy of images between

[google-appengine] Re: Error: Not Found The requested URL / was not found on this server.

2017-11-08 Thread Ani Hatzis
Hello Naheez, unless you have deployed an app.yaml file that is different from the tutorial (as described here ), you probably just forgot to deploy the static file

Re: [google-appengine] Re: [Google Cloud Insiders] URGENT: is GAE Standard memcache down????

2017-11-06 Thread Ani Hatzis
Hm, no issues here in my apps, eu-west. But only use memcache explicitly with Datastore for an admin task, but it works either case. Maybe it is the Capability API, I don't use it here. On Mon, Nov 6, 2017, 22:32 'Yannick (Cloud Platform Support)' via Google App Engine,

[google-appengine] Re: How do I find out what I am being billed for?

2017-11-06 Thread Ani Hatzis
I'm surprised your app.yaml has no "resources" section defined, because the default would be "cpu: 1", which wouldn't add up with the instance core hours you have reported from your billing. But the default is also "automatic_scaling", so maybe between the moments you have checked, your app

[google-appengine] Re: How do I find out what I am being billed for?

2017-11-05 Thread Ani Hatzis
On Sunday, 5 November 2017 23:59:42 UTC+1, Peter Camilleri wrote: > > Last night at 12:00 I recorded this from the billing page > > App Engine Flex Instance Core Hours 8,640.47 Minute $9.92 > > And this morning I recorded this > > App Engine Flex Instance Core Hours 191.79 Hour $13.22 > > 8600

[google-appengine] Re: How do I find out what I am being billed for?

2017-11-05 Thread Ani Hatzis
On Sunday, 5 November 2017 17:06:37 UTC+1, Peter Camilleri wrote: > > > I didnt choose an instance class. How do I do this? Isn't that more > something you do in the compute engine? Not the app engine? > > I have recently tried to specify resources, e.g. only 1 instance, minimal > ram, etc.

[google-appengine] Re: How do I find out what I am being billed for?

2017-11-04 Thread Ani Hatzis
Hi Peter, $75 per week sounds a lot for a non-used tutorial app, that normally should stay below the free tier. Maybe there is more than one app running since you played with the tutorials. One other explanation would be that you have chosen an expensive instance class (e.g. F4, F4G1), or that

[google-appengine] Re: Datastore storage size

2017-11-03 Thread Ani Hatzis
Hello John, Cloud Datastore automatically scales its size up or down, you don't need to change anything. The pie chart is showing the size for each resource (as shown in the table on its right) relative to the total size currently taken by this datastore. If you hover over the colored