How do I link the billing account to project in google cloud

channabasava picture channabasava · Oct 13, 2019 · Viewed 13.4k times · Source

How do i link the billing account to my project on google cloud? I have enabled the billing but unable to open the JS file and getting some errors like "You must enable the billing on google clouds projects". Please help me out in fixing this error!! Thanks!! enter image description here

Answer

John Hanley picture John Hanley · Oct 13, 2019
  1. Go to the Google Cloud Platform Console.
  2. Click the "hamburger" menu item top left.
  3. Select Manage billing accounts.
  4. You will see a list of billing accounts and the number of projects assigned.
  5. The My projects tab will show you a list of your projects and the associated billing account.

To assign a billing account to a project:

  1. Go to IAM & admin.
  2. Select Manage resources.
  3. To the RIGHT of each project is an ellipsis menu (three vertical dots). Click and select billing.

If you just enabled your billing account, wait. The approval is not instant. If it has been an hour or so, go to your billing account and look for errors regarding your payment being declined, invalid credit card etc.

Just creating a billing account does not enable a project. You must assign a billing account to a project. The menus above provide these features.

I created a videolab with a collection of videos on Google Cloud Billing. The following link is a video to show you how to create and attach a billing account. There are many more videos in this collection.

Create and attach a billing account