GCP Storage pattern-based discovery
Summarize
Summary of GCP Storage pattern-based discovery
The GCP Storage pattern-based discovery in ServiceNow enables automated identification and mapping of Google Cloud Platform (GCP) persistent disks and snapshots within your cloud environment. This functionality requires the latest Discovery and Service Mapping Patterns application and adherence to GCP discovery prerequisites.
Show less
By running the Google Cloud Platform (GCP) - Storage pattern, ServiceNow Discovery populates your Configuration Management Database (CMDB) with detailed information about GCP storage resources, facilitating better asset management and service mapping for your cloud infrastructure.
Key Features
- Cloud Service Account Discovery: Captures project identifiers and datacenter types associated with GCP projects.
- Availability Zone Details: Discovers availability zones including name, description, and operational state (Available or Terminated).
- Google Datacenter Information: Collects datacenter or region names, unique GCP identifiers, and descriptions.
- Storage Volumes: Identifies persistent disks with attributes such as unique IDs, names, storage types (e.g., pd-standard, pd-ssd), size in bytes, operational state, and installation status.
- Storage Volume Snapshots: Retrieves snapshot details including unique IDs, names, source volume names, and storage capacity.
- Virtual Machine Instances: Captures total attached disk size to VMs in gigabytes.
- CI Relationships: Automatically creates relationships among storage volumes, snapshots, datacenters, availability zones, and cloud service accounts, supporting comprehensive service mapping and impact analysis.
- GCP Tag Discovery: Collects GCP labels and stores them as key-value pairs linked to storage volumes and snapshots, enriching CMDB data with metadata for enhanced filtering and reporting.
Key Outcomes
- Comprehensive visibility of GCP storage resources within the CMDB, supporting asset and configuration management.
- Accurate mapping of relationships between storage volumes, snapshots, datacenters, availability zones, and cloud service accounts, enabling improved service impact analysis.
- Enrichment of CMDB records with GCP tags, enhancing categorization and management of cloud storage assets.
- Supports discovery-driven automation and monitoring by maintaining up-to-date and detailed storage infrastructure data.
Discovery and Service Mapping Patterns finds GCP persistent disks and snapshots 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.
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 Google Cloud Platform (GCP) - Storage pattern.
| 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] | The unique identifier for the persistent disk. |
| Name [name] | The name of the persistent disk. |
| Volume ID [volume_id] | The unique identifier for the persistent disk. |
| Storage type [storage_type] | The type of persistent disk. For example: pd-standard, pd-balanced, or pd-ssd. |
| Size bytes [size_bytes] | The size of the persistent disk in bytes. |
| State [state] | The operational state of the disk. For example: Available, In Use, or Terminated. |
| Install Status [install_status] | Install status of the resource. Default value is Installed. |
| Description [short_description] | The description of the persistent disk. |
| Field | Description |
|---|---|
| Object ID [object_id] | The unique identifier for the snapshot. |
| Name [name] | The name of the snapshot. |
| Volume Name [volume_name] | The name of the source persistent disk. |
| Capacity [capacity] | The storage size of the snapshot in bytes. |
| Field | Description |
|---|---|
| Disks size (GB) [disks_size] | The total size of all attached disks in gigabytes (GB). |
CI relationships
The Google Cloud Platform (GCP) - Storage pattern creates these relationships to support GCP storage discovery.
| CI | Relationship | CI |
|---|---|---|
| Storage Volume [cmdb_ci_storage_volume] | Hosted on::Hosts | Google Datacenter [cmdb_ci_google_datacenter] |
| Availability Zone [cmdb_ci_availability_zone] | Contains::Contained by | Storage Volume [cmdb_ci_storage_volume] |
| Storage Volume Snapshot [cmdb_ci_storage_vol_snapshot] | Hosted on::Hosts | Cloud Service Account [cmdb_ci_cloud_service_account] |
| Storage Volume [cmdb_ci_storage_volume] | Replicates to::Replicated by | Storage Volume Snapshot [cmdb_ci_storage_vol_snapshot] |
| Storage Volume Snapshot [cmdb_ci_storage_vol_snapshot] | Provisioned From::Provisioned | Storage Volume [cmdb_ci_storage_volume] |
| Key Value [cmdb_key_value] | References | Storage Volume [cmdb_ci_storage_volume] |
| Key Value [cmdb_key_value] | References | Storage Volume Snapshot [cmdb_ci_storage_vol_snapshot] |
| 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] |
GCP Tag discovery
The Google Cloud Platform (GCP) - Storage pattern collects labels and populates them in two entries in the Key Value [cmdb_key_value] table. One entry references the Storage Volume table, the other entry references the Storage Volume Snapshot table.
| Field | Description |
|---|---|
| Key [key] | The label key. |
| Value [value] | The label value. |
| Configuration item [configuration_item] | References the Storage Volume [cmdb_ci_storage_volume] table. |
| Configuration item [configuration_item] | References the Storage Volume Snapshot [cmdb_ci_storage_vol_snapshot] table. |