Billing account for project is not open GCP

0 votes

Using the command line, I'm attempting to launch a compute instance into GCP:

gcloud compute instances create instance-1 --zone=uscentral1-a

Additionally, it informs me that the project's billing is closed:

API [compute.googleapis.com] not enabled on project [847006780503].
Would you like to enable and retry (this will take a few minutes)?
(y/N)?  Y

Enabling service [compute.googleapis.com] on project [847006780503]...
ERROR: (gcloud.compute.instances.create) FAILED_PRECONDITION: Billing account for project '847006780503' is not open. Billing must be enabled for activation of service(s) 'compute.googleapis.com,compute.googleapis.com,compute.googleapis.com' to proceed.
- '@type': type.googleapis.com/google.rpc.PreconditionFailure
  violations:
  - subject: ?error_code=390002&project=847006780503&services=compute.googleapis.com&services=compute.googleapis.com&services=compute.googleapis.com
    type: googleapis.com/billing-enabled
- '@type': type.googleapis.com/google.rpc.ErrorInfo
  domain: serviceusage.googleapis.com/billing-enabled
  metadata:
    project: '847006780503'
    services: compute.googleapis.com,compute.googleapis.com,compute.googleapis.com
  reason: UREQ_PROJECT_BILLING_NOT_OPEN

In the terminal, I can start compute instances, but not through the CLI.

How do I enable billing in my project so that I may use the CLI to launch instances?

Nov 9, 2022 in GCP by Ashwini
• 5,430 points
480 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In GCP

0 votes
1 answer

I am closing my billing account on GCP but have unused credits. Will I be eligible for a refund?

If you cancel your billing account and ...READ MORE

answered Nov 5, 2019 in GCP by anonymous
• 59,230 points
4,066 views
0 votes
1 answer

Google Cloud: New shared BigQuery datasets and GCP projects is not visible for my user

Let's suppose you have project1 and project2 and ...READ MORE

answered Mar 20, 2022 in GCP by Korak
• 5,820 points
615 views
0 votes
1 answer

Google Cloud: New shared BigQuery datasets and GCP projects is not visible for my user

Let's suppose you have project 1 and ...READ MORE

answered Apr 5, 2022 in GCP by Korak
• 5,820 points
803 views
0 votes
1 answer

Can a GCP service account with owner for a project grant rights to user account?

A service account is intended to perform ...READ MORE

answered Apr 6, 2022 in GCP by Korak
• 5,820 points
526 views
0 votes
1 answer
0 votes
2 answers
0 votes
1 answer
0 votes
1 answer

Changing Machine Instance on GCP

There is no direct method to change ...READ MORE

answered Aug 1, 2018 in GCP by kurt_cobain
• 9,350 points
643 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP