AWS Batch Compute Environment pattern-based discovery

  • Release version: Yokohama
  • Updated June 16, 2026
  • 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 Batch Compute Environment pattern-based discovery

    The AWS Batch Compute Environment pattern-based discovery in ServiceNow enables automated identification and mapping of AWS Batch compute environments within your cloud infrastructure. This discovery uses the Discovery and Service Mapping Patterns application to gather detailed configuration and operational data, populating both CMDB and non-CMDB tables. It supports comprehensive insight into AWS Batch resources, facilitating cloud asset management and operational visibility for ServiceNow customers.

    Show full answer Show less

    Key features

    • Pattern Activation: The AWS Batch Compute Environment discovery pattern is disabled by default and requires activation. From Visibility Content version 6.28.0 onward, enabling or disabling patterns no longer counts as customization and will receive ongoing updates automatically.
    • Prerequisites and Setup: Customers must verify AWS discovery prerequisites and ensure the relevant resources are not listed in the Resource Inclusion List to prevent duplicate discovery.
    • GovCloud Support: Special configuration is required for discovering AWS GovCloud accounts, including using a datacenter URL when creating AWS service accounts.
    • Data Population: The discovery populates data into:
      • CMDB Tables: Specifically, the cmdbawsbatchcomputeenvironment table for AWS Batch Compute Environment details and the cmdbcicloudappserver table for related cloud app server information.
      • Non-CMDB Tables: Extended inventory data is stored in non-CMDB AWS-specific tables accessible via the ServiceNow interface.
    • CI Relationships: Relationships are created between compute environments, cloud app servers, and AWS datacenters to support contextual mapping.
    • Tag Discovery: AWS tags are collected and stored in the cmdbkeyvalue table, enabling tag-based filtering and management.

    Practical outcomes for ServiceNow customers

    • Gain automated, accurate visibility of AWS Batch compute environments within the ServiceNow CMDB and related tables.
    • Maintain up-to-date discovery patterns with automatic pattern updates post-activation, reducing manual maintenance effort.
    • Integrate AWS Batch environment data with other cloud resources through established CI relationships for comprehensive service mapping.
    • Leverage AWS tag data for enhanced asset categorization, reporting, and governance.
    • Avoid duplicate discovery issues by managing the Resource Inclusion List proactively.
    • Support specialized AWS regions such as GovCloud by configuring discovery schedules and service accounts correctly.

    Discovery and Service Mapping Patterns finds AWS services 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 AWS discovery prerequisites
    For more information, see the prerequisites section in Amazon AWS Cloud components discovery using patterns.
    Remove resources from the Resource Inclusion List table
    Verify that the relevant resource isn't listed in the Resource Inclusion List [sa_cloud_inventory_resource_whitelist] table to avoid duplicate discovery. For more information on removing resources from the Resource Inclusion List, see Amazon Web Services (AWS) Resource Inventory.
    Enable the relevant pattern
    The pattern for this service is disabled by default. Starting with Visibility Content version 6.28.0, activating or deactivating a pattern won't be considered a customization, and it will continue to receive updates. Patterns that were previously activated or deactivated will reset to the latest predefined version after upgrading while retaining the last active field value. For more information on enabling patterns, see Activate a disabled pattern.
    Configure the Discovery schedule to support GovCloud
    Discovering AWS GovCloud (US) accounts requires using a datacenter URL when setting up an AWS service account. For more information, see Create AWS service accounts.

    Discovery and Service Mapping Patterns application populates data in both CMDB and non-CMDB tables.

    Data stored in non-CMDB tables

    Discovery and Service Mapping Patterns application populates data in the non-CMDB table when running the Amazon AWS - Batch Compute Environment - Extended Inventory (LP) pattern.

    You can review the non-CMDB AWS tables by navigating to All > Configuration > AWS. You can also search the navigation filter for the specific pattern name.

    Table 1. AWS Batch - Compute Environment [cmdb_aws_batch_compute_environment]
    Field Description
    Object Id [object_id] The Amazon Resource Name (ARN) uniquely identifying the compute environment.
    Name [name] The name of the compute environment.
    Configuration Item [configuration_item] References the Cloud App Server [cmdb_ci_cloud_appserver] table.
    ECS Cluster ARN [ecs_cluster_arn] The ARN of the Amazon ECS cluster associated with the compute environment.

    Data stored in CMDB tables

    Discovery and Service Mapping Patterns application populates data in the CMDB when running the Amazon AWS - Batch Compute Environment - Extended Inventory (LP) pattern.

    Table 2. Cloud App Server [cmdb_ci_cloud_appserver]
    Field Description
    Object ID [object_id] The ARN uniquely identifying the compute environment.
    Name [name] The name of the compute environment.
    Install Status [install_status] Install status of the resource. Default value is Installed.
    Operational status [operational_status] Operational status of the resource. Default value is Operational.
    Type [type] Type of resource. The value is set to AWS::Batch::ComputeEnvironment.

    CI relationships

    The Amazon AWS - Batch Compute Environment - Extended Inventory (LP) pattern creates these relationships to support AWS Batch Compute Environment discovery.

    CI Relationship CI
    Cloud App Server [cmdb_ci_cloud_appserver] Hosted on::Hosts AWS Datacenter [cmdb_ci_aws_datacenter]
    AWS Batch - Compute Environment [cmdb_aws_batch_compute_environment] References Cloud App Server [cmdb_ci_cloud_appserver]

    AWS tag discovery

    The pattern collects tags and populates them in the Key Value [cmdb_key_value] table.
    Table 3. Key Value [cmdb_key_value]
    Field Description
    Key [key] Tag name.
    Value [value] Tag value.