Your team needs to deploy a Global External Application Load Balancer using the `gcloud` CLI to serve traffic for a newly created Compute Engine instance group. Arrange the following deployment steps in the correct sequential order from initial backend configuration to final frontend entry point creation.
- 1Create a health check and a backend service, then add the instance group as a backend to the backend service.
- 2Create a URL map that references the backend service to define request routing rules.
- 3Create a target HTTP proxy that references the URL map to receive and evaluate requests.
- 4Create a global forwarding rule that binds an IP address and port to the target HTTP proxy.
Cevap
The correct order of deployment steps is: 1) Create a health check and backend service, then add the instance group; 2) Create a URL map referencing the backend service; 3) Create a target HTTP proxy referencing the URL map; 4) Create a global forwarding rule referencing the target HTTP proxy.
Google Cloud Load Balancer resources follow a strict bottom-up dependency model. You must create the backend infrastructure (health check and backend service with instance group backends) first, followed by the URL map which points to the backend service, then the target proxy pointing to the URL map, and finally the forwarding rule which directs external IP traffic to the target proxy.
Adım Adım Çözüm
Anahtar Kavram
GCP Load Balancer Component Dependency Architecture