Google Compute committed use discount - google-cloud-platform

I am trying to purchase Google Compute committed use discount for one year and for that I have requested and increased the quota for CPU's and Commitments for the required regions as described in https://cloud.google.com/compute/docs/instances/signing-up-committed-use-discounts#purchasecommitment . All the changes are already in place but still I am not able to purchase the commitments. If I check committed CPU's for us-east1 region from quota's it is greater than 24.
Am I missing anything?
enter image description here

Disclaimer: I'm working for Google Cloud Support
I've checked your quota increase request,I've noticed that the committed cpu quota were granted before than the CPU quota request.
This means that your commitments is based on your previous cpu quota (24).Since the commitments will not be update by its self with the new cpu quota (greater than 24) you should then file a new commitments request in order to use your new cpu quotas.

Related

Google cloud compute engine always free tier

I am trying to run a compute engine instance using the always free tier option. The documentation of the free tier says if it is a computer engine instance of e2-micro from certain locations, it should be free. Here is the screenshot:
Now, I have chosen e2-micro with standard persistent disk of 10GB (one can not go below 10GB in GCP platform) at us-central1 location (which is one of the free tier location). It still shows an estimate of $6.51 monthly cost. Here is the screenshot of the instance configuration:
Am I doing something wrong here? Is there any other option I need to check to make sure it stays in the always free tier?
An e2-micro instance is not (in and of itself) free. I think the estimate you are seeing is in fact the cost of running an instance. What makes it "free" is that Google will "waive" the fees for the resources described as "free tier". However, if you run more and more e2-micro instances beyond the amount offered as a "free taster" then you will be charged the rate listed.
Looking in detail at the first image that Syed posted we see the following at the bottom:
Your Free Tier e2-micro instance limit is by time, not by instance. Each month, eligible use of all of your e2-micro instance is free until you have used a number of hours equal to the total hours in the current month.
Putting it another way, you get this amount of resource for free. For example, if we assume that a month is approximately 720 hours then that is the amount of e2-micro consumption you get free in monthly billing cycle. Whether you run 1 instance of CPU consumption for the whole month or 720 instances for only 1 hour. Take care to note that resources are broken down into their chargeable components (CPU, disk, network egress).
Disclaimer: Nothing in this post should be taken as a formal Google statement ... please consult Google documentation such as Google Cloud Free Program for accurate details.

Not able to increase Quota for Compute Engine API in GCP

I have been trying to increase Quota for Google Cloud Platform(GCP) Compute Engine API for a Location and it is not allowing me to Edit or Even select the location.
I have tried the same thing before few months back and it was properly working then. I just created a new project and tried the same thing.
I do have the Owner Permission assigned to me.
After concluding that you are in Free Tier, that is part of constraints.
Your free trial credit applies to all Google Cloud resources, with the following exceptions:
You can't have more than 8 cores (or virtual CPUs) running at the same time.
You can't add GPUs to your VM instances.
You can't request a quota increase. For an overview of Compute Engine quotas, see Resource quotas.
You can't create VM instances that are based on Windows Server images.
You must upgrade your account to perform any of the actions in the preceding list.
Upgrading to a paid account:
https://cloud.google.com/free/docs/gcp-free-tier#how-to-upgrade
Free Tier conditions:
https://cloud.google.com/free/docs/gcp-free-tier
Update: To be able to increase Quotas or Submit Quota Increase, you need to:
For New Project need to wait for 48hrs
You need to have Billing Enabled (Enable it by going into top-left gift icon and following along to Enable Billing in GCP)

GPU Quota Error even when i have Quota for Nvidia P100 both for region Us-west1 and Europe-west4 from 0 to 1

I just made up a account on Google Cloud Platform and am trying to make a VM instance and have even increased my GPU quota in region Us-west1 and Europe-west4 both to 1 from 0
Yet when i try to create a VM instance using Nvidia P100
Its gives me the error - Quota 'GPUS_ALL_REGIONS' exceeded. Limit: 0.0 globally
Any help would be appreciated please and if that GPU is not usable then can you advise on a similar powered GPU please
As the error says you need to increase the ALL_REGIONS quota, take a look at this SO question
From Google documentation:
"Similar to virtual CPU quota, GPU quota refers to the total number of virtual GPUs in all VM instances in a region. Check the quotas page to ensure that you have enough GPUs available in your project, and to request a quota increase. In addition, new accounts and projects have a global GPU quota that applies to all regions.
When you request a GPU quota, you must request a quota for the GPU models that you want to create in each region, and an additional global quota for the total number of GPUs of all types in all zones."
*I assume you upgraded your billing account already as it is a requirement to use GPUs.

Google Cloud quotas in us-east4 are very limiting

Any new project that we start has very restrictive quotas for us-east4 - e.g. 24 CPUs
While most quota increase requests seem to be approved immediately, the requests are manual. Because our workflow involves automatically spinning up projects, we need an solution that doesn't involve manual intervention
In comparison, the same project has more reasonable quotas for other regions - e.g. 2400 CPUs for us-west1, us-east1, us-central1
Is there something about us-east4 that makes it inappropriate for these sorts of workloads? We're using it because of lower latency to us, but will be flexible if absolutely required
As per the GCP quota documentation users have to proactively request a quota increase. In that case you can request a quota increase that will take into account your expected upcoming increase in usage. A Feature Request has been created so that this functionality can be made available in the future. Right now there is not an ETA for this FR but any progress can be tracked on the previous link.

How to add the GPU in compute engine instance of google ML engine for free tier?

I try to use the google machine learning engine to train my tensorflow model. I want to use the free tier.
When I set the configuration and create new compute engine instance ( Google compute engine), I try to add the GPU too. But this gives me an error because the Google cloud give just $300 credit free tier without GPU.
Is there any way to use the GPU in free tier?
As per the Google's doc
New projects and Free Trial accounts do not receive GPU quota by default.
You must have GPU quota before you can create instances with GPUs.
All free tiers users are initiated with 0 GPU, which they will have to submit a request to increase the quota. However, to file a request, one has to upgrade his account to a paid account.
10 minutes ago, I am still in the free tier and all my projects will be billed for the $300 free trial promotion credits.
I had to upgrade my account to submit a request for GPUs. A minute later my request was approved. When I try to create an instance again, I am charged according to the price sheet.
Updates
I have just reached out to a Google Cloud Support member and here's the result.
After an account has been upgraded, the unconsumed promotion $300 credits will be consumed first. Once the credits have been consumed, the charges will automatically then charged to your payment method on file. Since you have upgraded your billing account, you will not be notified that your free trial credits are consumed and that charges will be taken on your credit card. However, you can actually monitor your charges on your account by simply logging in to your console and check usage in the billing section.
In short, you may upgrade your account first and train your machine learning model and monitor the charges in the meantime to avoid unintended charges.
Meanwhile, Google has just released out the Colab sometime earlier to the general public with a noble goal of dissemination of machine learning education and research.
You can use GPU as a backend for free for 12 hours at a time.
The GPU used in the backend is K80(at this moment).
The 12-hour limit is for a continuous assignment of VM. It means we can use GPU compute even after the end of 12 hours by connecting to a different VM.
This essentially means you can train your ML model for free! Hurray!
Hope my findings help.
Update as on 3/14/18:
Google Cloud ML Engine now allows you to use GPUs with your jobs in the free tier. I am currently training using the BASIC_GPU scale tier, which uses a single standard-gpu instance as master machine. I haven't yet tried using cluster of multiple GPUs though, will update when I find information on this.
Edit: If you are learning and want to experiment with your Machine/Deep learning models, you can give Google's Colab a try, which provides free GPU access for the same purpose.
You can't choose a GPU because, as a free trial your GPU quota is set to 0. Simply go to the quotas panel on your Google Cloud Console, then you will be able to edit you quota there to some value other than 0 by clicking on "Edit quotas" and selecting the kind of GPU you want to use.