GCP Load Balancer pattern-based discovery
Summarize
Summary of GCP Load Balancer pattern-based discovery
The GCP Load Balancer pattern-based discovery in ServiceNow enables customers to automatically discover Google Cloud Platform (GCP) Load Balancers within their cloud environments. This includes both Layer 7 (HTTP/HTTPS) and Layer 4 (TCP/UDP) load balancers. To utilize these patterns effectively, customers may need to update to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store. The discovery patterns populate relevant Configuration Management Database (CMDB) tables with detailed information on GCP load balancing infrastructure.
Show less
Key Features
- Discovery Patterns:
- HTTP pattern: Discovers Layer 7 load balancers using HTTP/HTTPS protocols.
- TCP - UDP pattern: Discovers Layer 4 load balancers using TCP/UDP protocols.
- CMDB Population: Both patterns populate common CMDB tables capturing cloud service accounts, availability zones, Google datacenters, cloud load balancers, load balancer services, pools, pool members, and health check services.
- Detailed Attributes Captured:
- Cloud Service Account details including project identifiers and datacenter type.
- Availability zone name, description, and state.
- Google datacenter region and unique object identifiers.
- Load balancer and service information such as name, state, protocol, port, IP address, and service type (frontend/backend).
- Load balancer pool details including load balancing method and pool members' operational status.
- Health service configurations including monitor type, ports, thresholds, intervals, and HTTP request paths.
- CI Relationships: The patterns establish extensive relationships between discovered CIs (Configuration Items) such as datacenters, availability zones, load balancers, services, pools, pool members, health services, and cloud service accounts. These relationships support holistic visualization and management of the GCP load balancing infrastructure.
- Prerequisites: Customers should verify GCP discovery prerequisites as detailed in the "Google Cloud Platform (GCP) Cloud components discovery using Patterns" documentation to ensure successful discovery execution.
Key Outcomes
- Automated and accurate discovery of GCP load balancers integrated into the ServiceNow CMDB.
- Comprehensive visibility into both application-layer and transport-layer load balancing components.
- Structured CMDB data that supports configuration management, impact analysis, and operational insights.
- Established CI relationships that enable effective service mapping and dependency tracking for GCP load balancing infrastructure.
- Enhanced ability to monitor and manage GCP load balancers, improving cloud service reliability and performance visibility.
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 components 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] |