GCP Load Balancer pattern-based discovery
Summarize
Summary of GCP Load Balancer pattern-based discovery
This ServiceNow discovery feature uses pattern-based discovery to identify Google Cloud Platform (GCP) Load Balancers within your cloud environment. It supports discovering both Layer 7 (HTTP/HTTPS) and Layer 4 (TCP/UDP) load balancers by using two dedicated patterns:
Show less
- GCP Load Balancer - HTTP pattern: Discovers application layer load balancers using HTTP and HTTPS protocols.
- GCP Load Balancer - TCP/UDP pattern: Discovers transport layer load balancers using TCP and UDP protocols.
Both patterns populate related Configuration Management Database (CMDB) tables and create relationships to reflect the structure and dependencies of GCP load balancing infrastructure.
Key Features
- Discovery Coverage: Identifies GCP load balancers, their services, pools, pool members, health services, datacenters, availability zones, and cloud service accounts.
- CMDB Population: Automatically fills multiple CMDB tables with detailed information such as object IDs, names, states, protocols, ports, IP addresses, load balancing methods, health check configurations, and operational statuses.
- Relationships Mapping: Establishes hosted on, owns, contains, uses, and references relationships among discovered CIs (Configuration Items) like datacenters, load balancers, services, pools, pool members, and health services to reflect real-world infrastructure dependencies.
- Pattern Requirements: Requires adherence to GCP discovery prerequisites as documented in the Google Cloud Platform Cloud discovery using Patterns guide and may require updating the Discovery and Service Mapping Patterns application from the ServiceNow Store.
Practical Application for ServiceNow Customers
By leveraging these GCP Load Balancer discovery patterns, customers can:
- Gain comprehensive visibility into GCP load balancing resources and their configurations within their CMDB.
- Ensure accurate modeling of cloud infrastructure components and their relationships, supporting impact analysis, change management, and operational efficiency.
- Improve cloud service monitoring and management by maintaining up-to-date health check configurations and pool member statuses.
- Use discovered data to enhance service mapping and cloud service governance aligned with organizational cloud strategies.
Implementing these patterns enables automated and reliable discovery of key GCP load balancing components, simplifying cloud infrastructure management and supporting IT service delivery excellence.
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. |
| 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] |