Is there a way I can create a demo cloud function without billing account? Billing account requires a credit card/ debit card to be entered in the billing profile.
My usage will be well under free quota.
Billing account is required in order to use the free tier on GCP. As of now there is also free usage quota including the Cloud Functions and Cloud Pub/Sub. If your usage be within the quotas the consumption won't be deducted from your free credits.
You can use Cloud Functions free through Firebase as described by its Spark plan, which doesn't require any billing. Cloud Functions is included with this, but you can't do outbound networking to destinations not fully controlled by Google.
Related
I have a use case, a user with several AWS accounts. Not all accounts/email addresses are known, not documented, change of staff. There is a bank card that is being billed. How can I determine which AWS account is generating the billing ?
Thanks for any assistance.
Take a look at the AWS Cost Explorer it allows you to see detailed information about the costs. You can see what services generated how much costs, on which account, in which region and much more with filter options.
There should be a Master / Management account if they are using AWS Organizations, and this will be able to see all child accounts through the AWS Cost Explorer Ausgefuchster mentioned.
I got a warning about suspicious activity in my GCP billing account. GCP asked me to verify my payment method (credit card) by uploading the photo of the credit card and government issued ID card. I uploaded them then my account got suspended without reason. Anybody knows about this or knows who should I contact regarding this issue?
Thanks a lot
Unfortunately, StackOverflow community can do nothing with issues related to billing.
Please have a look at the documentation Cloud Billing Support:
All Google Cloud accounts get free billing and payments support. 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.
Cloud Billing Support is available in several regions and languages.
For information about support availability, see Google Cloud Support
Plans.
To solve your issue you should contact Google Cloud Support, it's free of charge for all billing related questions as a part of Basic support plan.
I would like to create a GCP cost management platform for resellers/MSP. The platform will pule cost data per each of the reseller's end customers.
Where Can I find information on:
How can I access the reseller's data?
What is the data structure? Does a reseller have one dataset for all of his customers, or one dataset per customer?
What are the needed credentials that the reseller needs to provide in order to fetch his customers data, and what permissions need to be provided?
I created a Video Lab on Google Cloud Billing. The first step is to understand how billing works in Google Cloud. Then understand how Identity and Access Management works so that you know what roles you need for credentials to access billing APIs.
Google Cloud Billing
Review the following documentation links for technical API details:
Get Started with the Cloud Billing API
Cloud Billing API
APIs & Reference
To access reseller information you will need to become a Google Partner first. Then request documentation.
Is there any way to manage API / Service quotas (https://console.cloud.google.com/iam-admin/quotas) through an API?
You can't manage service quotas through API, If you may want to adjust your project's quota limits up or down. This section describes how to change your provided quota limits.
You can Request a higher quota.
You can limit usage of a particular resource by setting your own quota limits by going API-specific quota page, then click the edit icon, and enter your preferred total quota.
there is a beta Monitoring quota metrics this is throught using using Stackdriver API
I think there is no API yet to manage project or API-specific quotas, but you can set limits per billing account (or subaccount) and it can be done through the Cloud Billing Budget API (beta).
How can I use the Google Cloud Billing APIs to retrieve my total expected bill / accumulated bill so far?
Is there an API call that simply returns the cost so far for a certain billing account?
Or alternatively, a combination of calls - one for retrieving the usage data and the other with the prices for the various Google Cloud services - to calculate the costs myself?
Thank you
Have you try Google Cloud Billing Report ?
https://cloudplatform.googleblog.com/2018/03/understand-your-spending-at-a-glance-with-Google-Cloud-Billing-reports-beta.html
Yes, there is an API to accomplish what you want.
You can control costs, track expenses and create alerts to notify billing administrators following this guide
Based on the comment below Alexandre answer, You can get programmatic budget notifications using Google Cloud Billing API setting up budget notifications as described in this tutorial.
I suggest you to start trying the quickstart, which performs simpler API calls.