Google Certified Associate Cloud Engineer 2020

Sign Up Free or Log In to participate!

How do you enable billing from the cloud shell for a project?

I was able to create a new project from the cloud shell and set that as my active project, but I wasn’t able to enable the GCE API because billing wasn’t enabled. All documentation I’m finding shows me how to do it through the console. Is there a way to enable billing in the cloud shell?

tfleming675

I get an error saying I have no more billing something?

1 Answers

You can use following set of commands

//Create project

gcloud projects create –name="" –labels=function=learn-networking –billing-project=

//set project active

gcloud config set project

//Link the Billing project

gcloud beta billing projects link –billing-account=

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?