Google Cloud Compute Engine Warning/"Budget" Emails - google-app-engine

I would like to receive a warning email if my Google Compute Engine's CPU performance exceeds a certain percentage. Something similar to how the billing budget emails work. Is there anything currently available or a similar solution?

You can use Stackdriver monitoring.
Alerting / Create a Policy / GCE instance as a condition.

Related

How to check quotas for Google Vision API?

I need to check quotas for Google Vision API programmatically
OR
to set quota limits on API console site directly.
actually I need some way to limit API calls to 1000/month which are free.
Any ideas ?
You can check your project's quotas through the console in two ways:
A) APIs & Services / All APIs enabled will be shown.
B) IAM & admin / Quotas / In services filter: Cloud Vision API.
If you want to edit your quotas, you can do it up to their maximum values.
To request an increase above the maximum quota, edit your quota with your requested increase and justification and submit your update.
There isn't yet a way to change / access programmatically the quotas yet. "Working with Quotas" has the general information about this,how to manage and monitoring them.

AppEngine blobstore.CreateUploadURL call failing due to quota for paid app

When I try to store an image into my AppEngine blobstore, I get the following error:
The API call blobstore.CreateUploadURL() required more quota than is available.
My app is a paid app. I checked my storage bucket where Google stores blobstore data and it is at 5GB -- the limit they set for free apps. I have tried to find the quota settings both in my app engine settings as well as in the general quota settings for my project, but I can't seem to find my blobstore quota anywhere.
I expect to be able to store more than 5GB of data, but it seems that I've hit some sort of limit. I don't want to migrate to Google Cloud Storage because that will take time.
You will need to enable billing on your project to uncap the 5GB limit.
If you have a daily budget for your application it could affect the quota, you could raise it to a non-zero value and see if that helps.

GAE Mail Send Quota = 100/day?

I have my own domain with G-Suite Business and application in GAE that sending emails to our clients. But limit 100 sendings per day is too low.
How to increase mail send quota above 100/day? That's possible?
Thanks for any ideas.
The build in GAE mail is not really intended for production use, on top of the 100 mail limit there is also a limit on how many unique email addresses can be sent to in 1 day if im not mistaken.
For production I would recommend SendGrid, documentation can be found here : https://cloud.google.com/appengine/docs/standard/python/mail/sendgrid
Good service with a lot of needed mail features, like custom domain etc.
Google Cloud Platform support no longer provides quota increases for the Mail API.
Besides that, Richard's reply is correct so you can use Sendgrid or other available mail providers mentioned in the documentation. Additionally, as you mentioned GSuite, you may consider using Sockets API with your GSuite accounts (subject to GSuite quota).

Stackdriver vs ELK for app engine

Im a little confused about this because the docs say I can use stackdriver for "Request logs and application logs for App Engine applications" so does that mean like web requests? Does that mean like millions of web requests?
Stackdriver's pricing is per resource so does that mean I can log all of my web servers web request logs (which would be HUGE) for no extra cost (meaning I would not be charged by the volume of storage the logs use)?
Does stackdriver use GCP cloud storage as a backend and do I have to pay for the storage? It just looks like I can get hundreds of gigabytes of log aggregation for virtually no money just want to make sure Im understanding this.
I bring up ELK because elastic just partnered with google so it must not do everything elasticsearch does (for almost no money) otherwise it would be a competitor?
Things definitely seem to be moving quickly at Google's cloud division and documentation does seem to suffer a bit.
Having said that, the document you linked to also details the limitations -
The request and application logs for your app are collected by a Cloud
Logging agent and are kept for a maximum of 90 days, up to a maximum
size of 1GB. If you want to store your logs for a longer period or
store a larger size than 1GB, you can export your logs to Cloud
Storage. You can also export your logs to BigQuery and Pub/Sub for
further processing.
It should work out of the box for small to medium sized projects. The built in log viewer is also pretty basic.
From your description, it sounds like you may have specific needs, so you should not assume this will be free. You should factor in costs for Cloud Storage for the logs you want to retain and BigQuery depending on your needs to crunch the logs.

google app engine recipients mailed costs

I have an app running on the app engine. Now I am not reaching any of the free limits, except for recipients emailed. My question is, can I pay to just increase that 1 limit? I read the information that google provides about pricing but I can not find an answer to my specific question.
No, you cannot. But you can use another service to send mail, like Amazon SES.
I'am a great fan of app engine. Except for the mail service, because it will give you know feedback about mail delivery. See this issue.
http://code.google.com/p/googleappengine/issues/detail?id=1800
I added some code to this issue, to use SES.
No, but why would you want that? Even if you enable billing, you still have all the free quotas.

Resources