I have a App which has a maximum daily budget of 0 USD. I have also stored a few items in Google Cloud Storage. Now, the thing is, I am charged because of Cloud Storage even though my max budget is set 0 USD. I am unsure about how I am getting billed. My question is, will the same thing happen if I start a cloudSQL instance ?
Are there any options to specify TOTAL app budget ?
Is there a way to explicitly mention my maximum budget for cloudSQL ?
Currently, I am shown 'You are using the free quota' , but I am still charged for the storage
from the official website:
Billing cycles
When you enable billing you specify a maximum daily budget. This is
the maximum resource cost you are willing to pay. This daily budget
will limit the total amount you can be charged on any single day. The
daily budget should be large enough to be able to handle spikes in
resource usage. An application can only consume budgeted resources up
to its maximum daily budget. When an application exceeds its daily
budget, any operation whose free quota has been exhausted will fail.
Charges are posted in daily and monthly billing cycles:
Daily: Every day you are charged for the resources you actually use.
Usage up to the free quota limits is included in the usage total, but
not in the billable amount. Usage above the free quota is charged at
the regular rates. Monthly: At the beginning of each month all daily
charges for the previous month are summed, applicable taxes are
computed, and the total charges are debited from the payment
instrument that is linked to the app.
But the maximum budgets for cloudSQL and storage are not mentioned
Related
I have a subscription business model (SaaS) that I integrated with Paypal via API. I have a monthly plan and a yearly plan, both of which provide access to my SaaS while the subscription is active.
Now, I would like to give discounts to my customers : months of free subscriptions and lower fixed price for a limited time, not a the start of the subscription, but later, depending on actions in my SaaS, and without asking the customer to confirm the action.
I tried many things, but couldn't give a free month without suspending or revising the subscription. As the discount is favorable to my customers, and could happend without actions on their side, I don't want to ask them for action to get the discount or notice them that their paypal subscription is suspended that could make confusion because they keep the service, they just get it freely for X months.
I succeed to reduce the fixed price of a subscription, but never for the value of 0€, and not temporarily.
Idealy, I would like to change the plan of my customer to a plan with X months of free trial (which I could increase) before returning to the normal price; or give them X€ "coupons" automaticaly applied once a month but the PayPal API doesn't seem to offer ways to do that.
Does someone have any workaround to deal with this ?
We are using a private GCP account and we would like to process 30 GB of data and do NLP processing using SpaCy. We wanted to use more workers and we decided to start with a maxiumn number of worker of 80 as show below. We submited our job and we got some issue with some of the GCP standard user quotas:
QUOTA_EXCEEDED: Quota 'IN_USE_ADDRESSES' exceeded. Limit: 8.0 in region XXX
So I decided to request some new quotas of 50 for IN_USE_ADDRESSES in some region (it took me few iteration to find a region who could accept this request). We submited a new jobs and we got new quotas issues:
QUOTA_EXCEEDED: Quota 'CPUS' exceeded. Limit: 24.0 in region XXX
QUOTA_EXCEEDED: Quota 'CPUS_ALL_REGIONS' exceeded. Limit: 32.0 globally
My questions is if I want to use 50 workers for example in one region, which quotas do I need to changed ? The doc https://cloud.google.com/dataflow/quotas doesn't seems to be up to date since they only said " To use 10 Compute Engine instances, you'll need 10 in-use IP addresses.". As you can see above this is not enought and other quotas need to be changed as well. Is there some doc, blog or other post where this is documented and explained ? Just for one region there are 49 Compute Engine quotas that can be changed!
I would suggest that you start using Private IP's instead of Public IP addresses. This would help in you in 2 ways:-
You can bypass some of the IP address related quotas as they are related to Public IP addresses.
Reduce costs significantly by eliminating network egress costs as the VM's would not be communicating with each other over public internet. You can find more details in this excellent article [1]
To start using the private IP's please follow the instructions as mentioned here [2]
Apart from this you would need to take care of the following quota's
CPUs
You can increase the quota for a given region by setting the CPUs quota under Compute Engine appropriately.
Persistent Disk
By default each VM needs a storage of 250 GB therefore for 100 instances it would be around 25TB. Please check the disk size of the workers that you are using and set the Persistent Disk quota under Compute Instances appropriately.
The default disk size is 25 GB for Cloud Dataflow Shuffle batch pipelines.
Managed Instance Groups
You would need to take that you have enough quota in the region as Dataflow needs the following quota:-
One Instance Group per Cloud Dataflow job
One Managed Instance Group per Cloud Dataflow job
One Instance Template per Cloud Dataflow job
Once you review these quotas you should be all set for running the job.
1 - https://medium.com/#harshithdwivedi/how-disabling-external-ips-helped-us-cut-down-over-80-of-our-cloud-dataflow-costs-259d25aebe74
2 - https://cloud.google.com/dataflow/docs/guides/specifying-networks
In How to enhance Box.com API requests limit, it's explained that each user gets its own rate limit. Does this apply only when the request is sent from the user itself, or also when an admin sends the request as the user? Eg, if my admin account sends 25000 requests as user A, and 25001 requests as user B, will it be rate limited?
There are two kinds of rate limiting to consider:
Requests per second: this is applied on a per user (account) basis. If you are making n API calls per second on behalf of user A, you can concurrently make n calls per second on behalf of user B without being rate-limited. These limits are not published but you can learn more about them if you're a paying customer.
Total requests per day: The developer terms of service state that this is "currently set at a limit of 50,000 requests, collectively, for all of Developer's Applications, applied in a rolling 24-hour window." Per the linked question above I don't think the 50K ceiling is enforced. But it's in the ToS so it could be enforced at any time.
I am developing a price comparison site for books sold in Amazon, and I want to calculate the estimated price with shipping rate included and display to the user.
I searched the Amazon API manual and cannot find a response group or item that mention about shipping rate, is there an item for that?
You cannot get the shipping rate info via Amazon Product API.
The reason for that is, I guess, the fact that the shipping rate depends on several factors (methods of shipping, type of an Amazon user (prime user, for example), location of the user etc), which are unknown at the time of the product fetching via API.
I use the free tariff for the openshift of backend my application.
In the example given on page https://www.openshift.com/products/pricing load of the following characteristics:
15 pages / second
Hundreds of articles
~ 50k visitors per month
but does that mean that the application will be disabled until next month, if the number of requests to it are exceeding the allowable number? and if so, what is the number?
That does not mean the application will be disabled. That is just letting you know about the amount of traffic that a small gear can handle.