How to enable new services to a project in GCP Cloud

+2 votes

Hi Guys,

I have created one project in GCP Cloud. Now I want to enable compute service to this project from a shell command. How can I do that?

Aug 22, 2020 in GCP by akhtar
• 38,210 points
237 views

1 answer to this question.

0 votes

Hi@akhtar,

You can enable new services to your project from the shell. For that, you have to use gcloud command. I have attached the command below.

$ gcloud services enable service_name --project project_ID
$ gcloud services enable compute.googleapis.com --project nadeem-gcp-1234567


Hope it helps!!

If you need to know more about Google Cloud, We recommend joining GCP Certification course today.

Thanks!

answered Aug 22, 2020 by MD
• 95,300 points

Related Questions In GCP

0 votes
1 answer

How to create a cloud storage bucket in GCP?

Buckets are the basic containers that hold your ...READ MORE

answered Oct 23, 2019 in GCP by Sirajul
• 59,070 points
1,028 views
0 votes
1 answer
+2 votes
1 answer

How to create a firewall rule in GCP Cloud?

Hi@akhtar, If you are using the default VPC ...READ MORE

answered Aug 22, 2020 in GCP by MD
• 95,300 points
224 views
+2 votes
1 answer

How to create a project from GCP Cloud Shell?

Hi@akhtar, GCP shell has a command named gcloud. ...READ MORE

answered Aug 22, 2020 in GCP by MD
• 95,300 points
308 views
+2 votes
1 answer

How to install the Google Cloud SDK in Windows system?

Hi@akhtar, To install the Google Cloud SDK on ...READ MORE

answered Aug 23, 2020 in GCP by MD
• 95,300 points
4,277 views
+2 votes
1 answer

How to create a VPC in GCP Cloud?

Hi@akhtar, You can create a private network in ...READ MORE

answered Aug 23, 2020 in GCP by MD
• 95,300 points
200 views
+2 votes
1 answer

How to create a project in GCP Cloud?

Hi@akhtar, To deploy your app on App Engine, ...READ MORE

answered Aug 22, 2020 in GCP by MD
• 95,300 points
155 views
0 votes
1 answer

How to create a new project in GCP using the command line?

Hi@akhtar, You need to configure GCP SDK in ...READ MORE

answered Nov 9, 2020 in GCP by MD
• 95,300 points
143 views