1
votes

I could create some VM instances, add them to an instance group; also created an HTTP health check, and a backend service using gcloud command in a GCE project using these guides:

However, I can't find the doc to create a frontend service which is required to create a balancer, and indeed, the doc for creating balancer is also not available on Google Cloud SDK Reference.

Is it real no way to use gcloud command to create frontend service and balancer?

1

1 Answers

0
votes

Found it, it's called forwarding-rules, not frontend-services, rather confusing.

And forwarding rule won't point directly to a backend-service. Forwarding rule (global) points to Target HTTP Proxy, and Target HTTP Proxy needs a URL Map.

Reference:

Credit to the answer of @eSniff here: