Error: Invalid value for field resource.loadBalancingScheme: 'EXTERNAL' -GCP

0 votes

I have created a backend service for a https load balancer using:

gcloud beta compute backend-services create service-test \
    --health-checks=hc-test \
    --project=test1 \
    --protocol=http2

I am getting the above error. How do I resolve it?

Sep 26 in GCP by anonymous
• 6,670 points
37 views

1 answer to this question.

0 votes

For the HTTP(S) load balancer, the backend services must be global, so you must issue the gcloud command with the --global option:

gcloud beta compute backend-services create service-test \ --health-checks=hc-test \ --project=test \ --protocol=http2 \ --global
answered Sep 26 by Sirajul
• 40,990 points

Related Questions In GCP

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Creating password for a windows instance on GCP

Windows Server instances use password authentication instead ...READ MORE

answered Sep 24 in GCP by Sirajul
• 40,990 points
131 views
+1 vote
1 answer
0 votes
1 answer

Creating a SQL Server instance using Google Compute engine.

Google Compute Engine provides public images preconfigured with ...READ MORE

answered Sep 23 in GCP by Sirajul
• 40,990 points
62 views
0 votes
1 answer

How do i install gcloud compute?

The gcloud compute command-line tool enables you to easily ...READ MORE

answered Sep 23 in GCP by Sirajul
• 40,990 points
74 views