Google Cloud Platform (GCP) Memorystore discovery using patterns

  • Release version: Yokohama
  • 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

    This pattern enables ServiceNow customers to discover and map Google Cloud Platform (GCP) Memorystore resources, including Memorystore for Memcached and Memorystore for Redis, during horizontal discovery. It uses the Google Cloud Platform (GCP) - Memorystore DB pattern available in the Discovery and Service Mapping Patterns application. To fully utilize this pattern, customers should ensure they have the latest version of the application from the ServiceNow Store and meet the GCP discovery prerequisites.

    Show full answer Show less

    Key Features

    • New CI Classes: Introduces the Cloud DataBase Cluster [cmdbciclouddbcluster] class, extending Cluster [cmdbcicluster], to represent Memorystore clusters.
    • Extensive Data Collection: Discovers and populates critical attributes for various CIs including Cloud Service Accounts, Availability Zones, Google Datacenters, Cloud Database Clusters, and Cloud Databases with detailed fields such as cluster status, node count, authentication settings, IP addresses, and operational status.
    • Dependency Views: Visualize discovered Memorystore instances and clusters along with their relationships for better service mapping and impact analysis.
    • CI Relationships and References: Automatically creates and maintains relationships such as hosting, replication, containment, and ownership between Memorystore components and associated GCP infrastructure elements.
    • Tag Discovery: Collects resource tags and stores them in the CMDB’s Key Value table, enabling enhanced filtering, reporting, and management based on tags.

    Key Outcomes

    • Accurate and comprehensive discovery of Memorystore for Memcached and Redis resources within GCP environments, enhancing visibility into cloud databases.
    • Improved CMDB data quality through the collection of detailed attributes and relationships, supporting better configuration management and service mapping.
    • Ability to track resource states, operational statuses, and cluster configurations to support operational and security governance.
    • Enhanced dependency mapping facilitates impact analysis and troubleshooting by clearly showing how Memorystore instances relate to GCP availability zones, datacenters, and service accounts.
    • Tagging integration aids in organizing and managing cloud resources according to customer-specific tagging schemes.

    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 components 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.