Google Cloud Platform (GCP) Memorystore discovery using patterns

  • Release version: Zurich
  • Updated March 12, 2026
  • 3 minutes to read
  • Summarize
    Summarized using AI
    This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.

    Summary of Google Cloud Platform (GCP) Memorystore discovery using patterns

    The Google Cloud Platform (GCP) - Memorystore DB pattern in ServiceNow Discovery and Service Mapping Patterns enables automated discovery of Memorystore for Memcached and Memorystore for Redis instances during horizontal discovery. This pattern requires the latest Discovery and Service Mapping Patterns application version and adherence to GCP discovery prerequisites.

    Show full answer Show less

    Key Features

    • Data Model Extension: Introduces a new CI class Cloud DataBase Cluster [cmdbciclouddbcluster] extending the existing Cluster [cmdbcicluster] class.
    • Discovery Data Population: Captures detailed attributes of Memorystore clusters and instances, including cluster ID, status, type, disk space, node count, IAM authentication, deletion protection, and asset tags.
    • Related CIs and Attributes: Discovers and populates related configuration items such as Cloud Service Accounts, Availability Zones, and Google Datacenters with relevant metadata (e.g., names, states, regions, object IDs).
    • Relationships and References: Establishes CI relationships to represent hosting, replication, containment, and hosting relationships among databases, clusters, datacenters, availability zones, and service accounts. References are maintained to support data integrity without cluttering relationship tables.
    • Tag Collection: Collects resource tags and stores them as key-value pairs linked to Cloud DataBase CIs, enabling enhanced categorization and filtering.
    • Dependency Visualization: Provides Dependency Views maps for visualizing Memorystore instances and clusters along with their relationships within the organization.

    Key Outcomes

    • ServiceNow customers gain comprehensive, up-to-date visibility into GCP Memorystore Redis and Memcached resources within their CMDB.
    • Enhanced operational and install status tracking of Memorystore clusters and instances aids in ongoing management and troubleshooting.
    • Clear mapping of relationships between Memorystore resources and their hosting infrastructure facilitates impact analysis and service mapping accuracy.
    • Tag discovery supports better organization and reporting based on custom labels assigned in GCP.
    • Visual dependency maps improve understanding of Memorystore resource topology, supporting effective decision-making and incident response.

    Discovery and Service Mapping Patterns uses the Google Cloud Platform (GCP) - Memorystore DB pattern to discover Memorystore for Memcached and Memorystore for Redis during horizontal discovery. 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.

    GCP Memorystore data model

    The Google Cloud Platform (GCP) - Memorystore DB pattern introduces the following CI class that extends an existing CMDB class.

    Table 1. CI class introduced by this pattern
    CI class Extends from
    Cloud DataBase Cluster [cmdb_ci_cloud_db_cluster] Cluster [cmdb_ci_cluster]

    Data collected by Discovery during horizontal discovery

    Discovery populates the data in the CMDB when running the Google Cloud Platform (GCP) - Memorystore DB pattern.

    Table 2. Cloud Service Account [cmdb_ci_cloud_service_account]
    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].
    Table 3. Availability Zone [cmdb_ci_availability_zone]
    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.
    Table 4. Google Datacenter [cmdb_ci_google_datacenter]
    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.
    Table 5. Cloud DataBase Cluster [cmdb_ci_cloud_db_cluster]
    Field Description
    Name [name] Name of the cluster.
    Cluster ID [cluster_id] ID of the cluster.
    Install Status [install_status] Install status of the cluster. Default value is Installed.
    Operational status [operational_status] Operational status of the cluster. Default value is Operational.
    Cluster Status [cluster_status] Current state of this cluster. For example: READY or STOPPED.
    Cluster Type [cluster_type] Type of the cluster: Redis Cluster.
    Disk Space (GB) [disk_space] Disk space in gigabytes (GB).
    IAM Authentication Enabled [iam_authentication_enabled] Determines whether the IAM authentication is enabled. Possible values are true or false.
    Node Count [node_count] Number of replica nodes per shard.
    Deletion Protection Enabled [deletion_protection_enabled] Determines whether the deletion protection is enabled. Possible values are true or false.
    Asset tag [asset_tag] NodeType of a Redis cluster node. For example: REDIS_SHARED_CORE_NANO or REDIS_HIGHMEM_MEDIUM.
    Table 6. Cloud DataBase [cmdb_ci_cloud_database]
    Field Description
    Object ID [object_id] Unique name of the resource in this scope, including the project and location.
    Name [name] Unique name of the resource, parsed from the Object ID.
    Type [type] Type of database. Possible values are memcache-instance or redis-instance.
    Install Status [install_status] Install status of the database. Default value is Installed.
    Operational status [operational_status] Operational status of the database. Default value is Operational.
    State [state] State of the database. Possible values are Available or Terminated.
    Fully qualified domain name [fqdn] Fully qualified domain name (FQDN) for the resource type.
    IP Address [ip_address] Hostname or IP address of the exposed endpoint used by clients to connect to the service.

    On the Dependency Views map, you can view all discovered Memorystore for Memcached or Memorystore for Redis resources in your organization and the relationships between them.

    Figure 1. Memorystore for Memcached or Memorystore for Redis instance dependency view
    Memorystore for Memcached or Memorystore for Redis instance CIs and connections on a Dependency View map
    Figure 2. Memorystore for Redis Cluster dependency view
    Memorystore for Redis Cluster CIs and connections on a Dependency View map

    CI relationships

    The Google Cloud Platform (GCP) - Memorystore DB pattern creates the following relationships and references to support Memorystore discovery. References link to records in other tables and don't appear in the CI Relationship [cmdb_rel_ci] table.

    Table 7. CI relationships
    CI Relationship CI
    Cloud DataBase [cmdb_ci_cloud_database] Hosted on::Hosts Google Datacenter [cmdb_ci_google_datacenter]
    Cloud DataBase [cmdb_ci_cloud_database] Replicates to::Replicated by Availability Zone [cmdb_ci_availability_zone]
    Cloud DataBase Cluster [cmdb_ci_cloud_db_cluster] Hosted on::Hosts Google Datacenter [cmdb_ci_google_datacenter]
    Google Datacenter [cmdb_ci_google_datacenter] Contains::Contained by Availability Zone [cmdb_ci_availability_zone]
    Google Datacenter [cmdb_ci_google_datacenter] Hosted on::Hosts Cloud Service Account [cmdb_ci_cloud_service_account]
    Table 8. CI references
    CI Field Referenced CI
    Key Value [cmdb_key_value] Configuration item [configuration_item] Cloud DataBase [cmdb_ci_cloud_database]

    Tag discovery

    The Google Cloud Platform (GCP) - Memorystore DB pattern collects tags and populates them in the Key Value [cmdb_key_value] table.

    Table 9. Key Value [cmdb_key_value]
    Field Description
    Key [key] Tag key.
    Value [value] Tag value.
    Configuration item [configuration_item] References the Cloud DataBase [cmdb_ci_cloud_database] table.