Google Cloud Platform (GCP) Memorystore discovery using patterns

  • Release version: Australia
  • 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 enables automated discovery of Memorystore for Memcached and Memorystore for Redis resources during horizontal discovery. This pattern populates the Configuration Management Database (CMDB) with detailed information about these resources, their configurations, and relationships within a GCP environment.

    Show full answer Show less

    To utilize this pattern effectively, customers should ensure they meet the prerequisites outlined in the GCP discovery documentation and update to the latest Discovery and Service Mapping Patterns application from the ServiceNow Store if necessary.

    Key Features

    • CI Classes Introduced:
      • cmdbciclouddbcluster: Represents Memorystore clusters, extending the Cluster class.
      • cmdbciclouddatabase: Represents individual Memorystore database instances.
      • Existing classes such as Cloud Service Account, Availability Zone, and Google Datacenter are also populated with relevant data.
    • Data Collected: The pattern collects key attributes including project account details, datacenter and availability zone information, cluster characteristics (e.g., cluster ID, status, node count, IAM authentication, deletion protection), and database instance details (e.g., object ID, type, IP address, fully qualified domain name, operational status).
    • Tag Discovery: Tags associated with Memorystore instances are collected and stored in the Key Value table, enabling enhanced filtering and categorization within the CMDB.
    • CI Relationships: The pattern establishes critical relationships such as:
      • Databases hosted on datacenters and availability zones
      • Replication links between database instances
      • Clusters hosted on datacenters
      • Containment relationships between datacenters and availability zones
      • Cloud service accounts hosting datacenters
    • Visualization: Discovered Memorystore resources and their dependencies can be viewed on the Dependency Views map, providing a visual representation of resource relationships within the customer’s GCP environment.

    Practical Benefits for ServiceNow Customers

    • Automated and accurate discovery of GCP Memorystore resources enhances CMDB completeness and reliability.
    • Improved visibility into the configuration, operational status, and relationships of Redis and Memcached instances supports better incident, change, and asset management.
    • Tag collection enables efficient filtering and reporting on Memorystore resources based on customer-defined attributes.
    • Dependency views assist in impact analysis and service mapping by visually linking Memorystore clusters and instances to their underlying infrastructure.
    • Supports compliance and governance by tracking configurations such as IAM authentication and deletion protection settings.

    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.