AWS MemoryDB for Redis

  • Release version: Xanadu
  • Updated August 1, 2024
  • 2 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 AWS MemoryDB for Redis

    The AWS MemoryDB for Redis pattern within the ServiceNow Discovery application enables automated detection and mapping of AWS MemoryDB for Redis resources. This functionality requires the Discovery and Service Mapping Patterns application, which can be obtained from the ServiceNow Store. It helps customers maintain an accurate CMDB by discovering MemoryDB nodes and clusters in their AWS environment.

    Show full answer Show less

    Prerequisites

    • AWS Credentials: Configure AWS credentials in your ServiceNow instance to allow API access.
    • Cloud Service Account: Set up a valid AWS service account in ServiceNow for discovery operations.
    • User Permissions: Ensure the user account has permission to execute specific AWS MemoryDB for Redis API calls, including DescribeClusters and ListTags.
    • Cloud Discovery Schedule: Create and configure a discovery schedule targeting AWS datacenters using Cloud Discovery Workspace.
    • REST API Permissions Verification: Use the Cloud Discovery patterns spreadsheet to confirm all necessary permissions are granted, and test the AWS REST APIs using tools like Postman if needed.

    Key Features

    • Discovery Scope: Detects both individual MemoryDB nodes and database clusters.
    • Data Collection: Gathers key attributes such as ARN, name, Fully Qualified Domain Name (FQDN), and TCP port for each node and cluster.
    • CMDB Integration: Discovers and populates Configuration Items (CIs) for cmdbciclouddatabase (nodes) and cmdbciclouddbcluster (clusters), with defined relationships and references to related CIs.

    Practical Benefits for ServiceNow Customers

    Implementing this discovery pattern enables ServiceNow customers to automatically populate their CMDB with up-to-date information about AWS MemoryDB for Redis resources. This improves visibility into cloud database infrastructure, supports accurate service mapping, and facilitates better operational management and compliance.

    By meeting the outlined prerequisites and configuring discovery schedules, customers can expect consistent and reliable discovery results aligned with their AWS environment, ensuring that MemoryDB for Redis components are accurately represented in ServiceNow ITOM Visibility.

    The ® Discovery application uses the AWS MemoryDB for Redis pattern and extensions to find AWS MemoryDB for Redis. Discovering some of these resources requires installing the Discovery and Service Mapping Patterns application from the ® Store.

    Request apps on the Store

    Visit the ServiceNow Store website to view all the available apps and for information about submitting requests to the store. For cumulative release notes information for all released apps, see the ServiceNow Store version history release notes.

    Prerequisites

    Configured AWS Credentials
    On your instance, configure credentials of type AWS Credentials. For more information, see Access setup for AWS service accounts.
    Configured Cloud service account
    Configure the AWS service account valid in the ServiceNow instance. For more information, see Set up AWS service accounts.
    Configured user permissions to execute the list AWS MemoryDB for Redis API calls
    Provide the user permission to run the following API:
    • https://memory-db.{region}.amazonaws.com?Action=DescribeClusters&ShowShardDetails=true
    • https://memory-db.{region}.amazonaws.com? Action=ListTags&ResourceArn={arn}
    For more information, see Amazon AWS Cloud components discovery using patterns.
    Configured Cloud Discovery schedule
    Create a cloud application schedule for discovering AWS datacenters. Set Discovery to Cloud discovery. For more information, see: Create schedules for discovering cloud resources in Cloud Discovery Workspace

    Verify the REST API Permissions

    Download the Cloud Discovery patterns spreadsheet so you can grant user permissions required for running the Discovery patterns. In addition to permissions, the spreadsheet also includes useful information such as pattern names, types, CI Classes, and links to vendor documentation. New patterns are available quarterly, so check periodically to be sure you have the latest version of the spreadsheet.

    Note:
    You can test the AWS REST APIs using Postman API platform. For more information, see the How to test AWS REST API using POSTMAN [KB0782183] article in the Now Support Knowledge Base.

    Data collected during AWS MemoryDB for Redis horizontal discovery

    Field

    Description

    Main CI [cmdb_ci_cloud_database] 

    ARN

    The Amazon Resource Name of a single node in the cluster. The values are populated in the Object ID [object_id] column.

    Name

    The name of a single node in the cluster.

    FQDN

    The Fully Qualified Domain Name of each node in the cluster.

    TCP _Port

    The TCP port that a single node in the cluster is getting traffic from.

    Type

    The type of database is MemoryDB.

    Database Cluster [cmdb_ci_cloud_db_cluster]

    ARN

    The Amazon Resource Name of the cluster. The values are populated in the Object ID [object_id] column.

    Name

    The name of the cluster.

    FQDN The Fully Qualified Domain Name of the cluster.
    TCP _Port

    The TCP port that the cluster is getting traffic from.

    Table 1. Pattern Relations
    CI Relationship Type CI

    [cmdb_ci_appl]

    Extends from

    [cmdb_ci]

    [cmdb_ci_cloud_database]

    Extends from

    [cmdb_ci_db_instance]

    [cmdb_ci_cloud_db_cluster]

    Cluster::Cluster of

    [cmdb_ci_cloud_db_cluster]

    [cmdb_ci_cloud_db_cluster]

    Reference only

    (configuration_item)

    [cmdb_key_value]