GAE without billing - google-app-engine

I remember years ago I deployed a simple python app on GAE without the need to enable billing. Is it still possible? All the guides and tutorials I find tell to enable billing, and I'd like not to do that.

Yep, you have to enable billing account in order to deploy an app on GAE.
To deploy your apps, you must enable billing. Your account will not be charged if you stay within your free quota. If your application needs resources that exceed the free quota, you will be charged for the additional usage.
So, if you don't exceed the free quota limits you won't be charged. I think the main reason is that it won't be cool your application shutdowns just because you exceeded the limits even if you're testing.

Related

Google Flex App Engine instance with GCP Free Tier, is it possible?

maybe I’ve screwed up,
I’ve deployed an app to a Flex GCP App Engine, but then while I was reading the GCP Free Trial, I’ve discovered that I cannot use the flex instance (yeah I know, I should have read it before), now I’ve disabled it from the console, but I was wondering if I can get some kind of billing directly on my credit card and not on the free credit.
I’ve tried to ask directly tho the GCP assistance, but the chat session doesn’t start.
Getting credits directly on your credit card indicates upgrading your GCP account from the free trial to a paid account through the Google Cloud Console. To do so, click the Activate button. If the Activate button is not visible, on the menu bar, click Free trial status and the Activate button will appear.
To take advantage of the features of a paid account (using GPUs, for
example), you can upgrade before the trial ends. When you upgrade, the
following conditions apply:
Any remaining, unexpired free trial credit remains in your account.
Your credit card on file is charged for resources you use in excess of
what's covered by any remaining credit.
You can upgrade your account
at any time after starting the free trial. The following conditions
apply depending on when you upgrade:
If you upgrade before the trial is over, your remaining credit is
added to your paid account. You can continue to use the resources you
created during the free trial without interruption.
If you upgrade within 30 days of the end of the trial, you can restore
the resources you created during the trial.
If you upgrade more than 30 days after the end of the trial, your free
trial resources are lost.
Here, you may find the list of resources of GCP that can be Always Free and available.
Furthermore, here you may find information on how to handle your budget, set up alerts and notifications for proper management.
This page tells you how to contact Cloud Billing Support if you need help with your Cloud Billing account, and shows you where to get more information about managing your billing account. In addition to that, here you may find all the Customer Care Support plans that Google offers.
I hope this information helps.
EDIT:
As stated here:
Any usage above Always Free usage limits is automatically billed at standard rates.
Thus, you will be charged for the usage of that GAE Flex instance.
Additionally, here you can check Flexible environment pricing details and here you have the information about viewing your billing reports.

What's the pricing for a big concurrency of requests App hosting in Google cloud

I am in a project to make a web app and we want to host in Google cloud but we can't specify the price because we don't know which services to choose, it's a big app with 18 microservices and a lot of requests per day(let's say 70000 users) can someone explain to me how to get the pricing for the app engine? Or In any other cloud service?
It's difficult to predict the price you are asking for in a detailed way. It depends on several factors:
Availability: If you want 24x7 service or not.
Traffic: Egress traffic, related to requests number.
Resources: CPU, memory etc.
If those requests aren't using much CPU or memory the price is going to be cheaper.
A good idea would be to make a prototype in App Engine standard, using "always free usage limits" and see how it performs {1}.
You also can use Google Cloud Platform Pricing Calculator to get a better idea {2}.
{1}: https://cloud.google.com/free/docs/always-free-usage-limits
{2}: https://cloud.google.com/products/calculator/

google app engine free tier and cloud platform

After few years, I was looking again at Google App Engine and bit confused about the structure now. It used to allow me to create a project and use it till the free quota, and then upgrade to a paid account. Now, I created a project with a gmail account (not a google app account, but personal). On the console and project dashboard, I see a link say signup for a free trial. That is a 60 day trial for Google Cloud Platform. What is that? Can't I use app engine application forever and pay only if usage exceeds the free tier? or is it limited to 60 days now?
Thanks.
Edit:
It says, after 60 days, Your instances will be paused, and you'll have the option to upgrade to a paid account. You must upgrade within 30 days of your trial ending or we won’t be able to restore your instances. So, my main concern is there a minimum payment required after the trial ends to run a small app (which previously can run in free quota). It let me create a project without creating an account for google cloud platform. so, do I really need to join or can run a app engine instance without joining?
The free quota/tier still stands. The free trial gives you more goodies for a limited time. Mainly, you'll get a $300 credit for 60 days. This credit is only used when you exceed your free quota. More info on the free trial.
Update: to respond to your edit, no, there is no minimum payment. Some services require that you have billing enabled (your credit card on file), but even then, you only pay after you exceed the quota.

Free default daily limit, datastore google app engine for paid apps

do i get 50 thousand free writing operation if I enabling billing, according to this picture that taken from https://developers.google.com/appengine/docs/quotas?hl=iw
I can't see that:
See billable limits, where it says:
Every application gets an amount of each resource for free, but application administrators can increase these quotas by enabling paid apps and setting a daily budget. You will be charged for the resources your application actually uses, and for the amount of resources used above the free quota thresholds.
So yes, you get 50k free write ops per day.

enabling and disabling billing from my application?

I looked in the documentation, but I did not find anything.
Suppose you have a small app, which during some months fits in the free app quota, and some other months it does not.
Since billing is per month, is there a way to configure my application so that billing is by default disabled and automatically activated only during the months when I need to use more resources than those under the free quota?
The question may sound silly, but I'm trying to understand if I can optimize the budget for extremely small realities, such as local no-profit organizations. I'd prefer to invest 9$ in resources when needed and not in the monthly fee when there's no traffic.
No, there's no way to programmatically or automatically enable and disable billing.
Why do you want to do this? You can always enable billing and the free app quota are still available to you free. They only charge you for any usage exceeding the free quota! Plus you can set a daily budget limit. You can just set it to $1 to start with.
You can use Google's Billing API to enable and disable billing automatically:
https://cloud.google.com/billing/v1/requests

Resources