GCP Load Balancer pattern-based discovery
Discovery and Service Mapping Patterns finds GCP Load Balancers on your cloud environment. Discovering some of these resources may require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.
- Google Cloud Platform (GCP) - Load Balancer - HTTP pattern: Discovers Layer 7 (application layer) load balancers that use HTTP and HTTPS protocols
- Google Cloud Platform (GCP) - Load Balancer - TCP - UDP pattern: Discovers Layer 4 (transport layer) load balancers that use TCP and UDP protocols
Both patterns populate the same CMDB tables.
Pattern-based discovery and mapping requirements
Verify the GCP discovery prerequisites section in Google Cloud Platform (GCP) Cloud discovery using Patterns.
Data collected by Discovery during horizontal discovery
Discovery populates the data in the CMDB when running the Load Balancer patterns.
| Field | Description |
|---|---|
| Account Id [account_id] | Name of the project used for the discovery. |
| Object ID [object_id] | Name of the project used for the discovery. |
| Datacenter Type [datacenter_type] | Datacenter type: Google Datacenter [cmdb_ci_google_datacenter]. |
| Field | Description |
|---|---|
| Name [name] | Name of the availability zone. |
| Description [short_description] | Description of the availability zone. |
| State [state] | State of the Availability Zone. Possible values are Available or Terminated. |
| Field | Description |
|---|---|
| Name [name] | Datacenter or region name. |
| Region [region] | Datacenter or region name. |
| Object ID [object_id] | Unique identifier allocated by GCP for this resource. |
| Description [short_description] | Datacenter or region description. |
| Field | Description |
|---|---|
| Object ID [object_id] | Unique identifier for the load balancer. |
| Name [name] | Name of the load balancer. |
| State [state] | State of the load balancer. Default value is Available. |
| Field | Description |
|---|---|
| Object ID [object_id] | Unique identifier for the load balancer service. |
| Name [name] | Name of the load balancer service. |
| Service Type [service_type] | Type of service. Possible values are Frontend or Backend. |
| Listener Protocol [listener_protocol] | Protocol used by the service listener. |
| Port [port] | Port number used by the service. |
| IP Address [ip_address] | IP address of the frontend service. |
| Pool [pool] | References the Load Balancer Pool [cmdb_ci_lb_pool] table. This field is populated only by the Google Cloud Platform (GCP) - Load Balancer - HTTP pattern. |
| Field | Description |
|---|---|
| Object ID [object_id] | Unique identifier for the load balancer pool. |
| Name [name] | Name of the load balancer pool, known as an instance group in GCP. |
| Load balancing method [load_balancing_method] | Load balancing method used by the pool. This field is populated only by the Google Cloud Platform (GCP) - Load Balancer - TCP - UDP pattern. |
| Field | Description |
|---|---|
| Object ID [object_id] | Unique identifier for the pool member, known as a VM instance ID in GCP. |
| Name [name] | Name of the pool member, known as a VM instance name in GCP. |
| Operational status [operational_status] | Operational status of the pool member.
|
| Field | Description |
|---|---|
| Object ID [object_id] | Unique identifier for the health check service. |
| Name [name] | Name of the health check service. |
| Monitor type protocol [monitor_type] | Type of health check monitor For example: HTTP or TCP. |
| Port [port] | Port number used for health checks. |
| Timeout in seconds [timeout_sec] | Timeout in seconds for health check requests. |
| Unhealthy threshold [unhealthy_threshold] | Number of consecutive failures before marking as unhealthy. |
| Healthy threshold [healthy_threshold] | Number of consecutive successes before marking as healthy. |
| Interval in seconds [check_interval_sec] | Interval in seconds between health checks. |
| Request path [request_path] | Request path for HTTP and HTTPS health checks. This field is populated only by the Google Cloud Platform (GCP) - Load Balancer - HTTP pattern. |
CI relationships
Both Load Balancer patterns create these relationships to support GCP Load Balancer discovery.
| CI | Relationship | CI |
|---|---|---|
| Google Datacenter [cmdb_ci_google_datacenter] | Hosted on::Hosts | Cloud Service Account [cmdb_ci_cloud_service_account] |
| Google Datacenter [cmdb_ci_google_datacenter] | Contains::Contained by | Availability Zone [cmdb_ci_availability_zone] |
| Cloud Load Balancer [cmdb_ci_cloud_load_balancer] | Hosted on::Hosts | Cloud Service Account [cmdb_ci_cloud_service_account] |
| Cloud Load Balancer [cmdb_ci_cloud_load_balancer] | Hosted on::Hosts | Google Datacenter [cmdb_ci_google_datacenter] |
| Load Balancer Service [cmdb_ci_lb_service] | Hosted on::Hosts | Cloud Load Balancer [cmdb_ci_cloud_load_balancer] |
| Load Balancer Pool [cmdb_ci_lb_pool] | Hosted on::Hosts | Google Datacenter [cmdb_ci_google_datacenter] |
| Load Balancer Pool [cmdb_ci_lb_pool] | Owns::Owned by | Load Balancer Pool Member [cmdb_ci_lb_pool_member] |
| Cloud Load Balancer Health Service [cmdb_ci_lb_health_service] | Hosted on::Hosts | Google Datacenter [cmdb_ci_google_datacenter] |
| Cloud Load Balancer Health Service [cmdb_ci_lb_health_service] | Hosted on::Hosts | Cloud Service Account [cmdb_ci_cloud_service_account] |
The Google Cloud Platform (GCP) - Load Balancer - HTTP pattern creates relationships to support GCP Load Balancer discovery.
| CI | Relationship | CI |
|---|---|---|
| Load Balancer Service [cmdb_ci_lb_service] | Uses::Used by | Load Balancer Pool [cmdb_ci_lb_pool] |
| Load Balancer Service [cmdb_ci_lb_service] | References | Load Balancer Pool [cmdb_ci_lb_pool] |
| Cloud Load Balancer Health Service [cmdb_ci_lb_health_service] | Used by::Uses | Load Balancer Service [cmdb_ci_lb_service] |
The Google Cloud Platform (GCP) - Load Balancer - TCP - UDP pattern creates relationships to support GCP Load Balancer discovery.
| CI | Relationship | CI |
|---|---|---|
| Cloud Load Balancer [cmdb_ci_cloud_load_balancer] | Uses::Used by | Load Balancer Pool [cmdb_ci_lb_pool] |
| Cloud Load Balancer Health Service [cmdb_ci_lb_health_service] | Used by::Uses | Load Balancer Pool [cmdb_ci_lb_pool] |