AWS Linux Server pattern-based discovery

reference australia Updated Sep 10, 2026 3 min read aws-linux-server-pattern.md
Raw file servicenow.com

Discovery and Service Mapping Patterns finds AWS Linux Server configuration items (CIs) in your cloud environment. Discovering some of these resources might 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 AWS discovery using patterns.

  • Verify that AWS SSM is enabled

    Verify that AWS Systems Manager (AWS SSM) is enabled on the Amazon Elastic Compute Cloud (Amazon EC2) instances.

  • Enable Linux Server CI creation

    Set the sn_itom_pattern.aws_cloud_discovery_populate_server_ci system property to true. For more information, see Configure Server CI creation during AWS cloud discovery.

  • Verify SSM Agent execution context

    The SSM Agent must run as root to retrieve the serial number using dmidecode. If your security policy restricts the SSM Agent to a non-root user, the pattern can't create a Server CI for that instance.

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

Data collected by Discovery during horizontal discovery

Discovery populates the data in the CMDB when running the AWS - Linux Server (LP) pattern.

Field

Description

Name [name]

OS-level hostname of the EC2 instance. If the glide.discovery.hostname.include_domain property is set to false, the domain suffix is removed and only the short hostname is stored.

Object ID [object_id]

The EC2 instance ID.

Correlation ID [correlation_id]

The EC2 instance ID.

Serial number [serial_number]

BIOS serial number of the EC2 instance.

IP Address [ip_address]

IP address of the EC2 instance.

CPU core count [cpu_core_count]

Number of vCPUs available to the EC2 instance.

CPU count [cpu_count]

CPU count. The value is set to 1.

RAM (MB) [ram]

Amount of memory available to the EC2 instance, in megabytes (MB).

Operating System [os]

Operating system of the server. The value is set to Linux.

Is Virtual [virtual]

Indicates that the server is a virtual machine. The value is set to true.

Install Status [install_status]

Install status of the resource. The value is set to Installed.

Operational status [operational_status]

Operational status of the resource. The value is set to Operational.

|Field|Description| |-----|-----------| |Serial number \[serial\_number\]|BIOS serial number of the EC2 instance.| |Serial number type \[serial\_number\_type\]|Type of serial number. The value is set to **bios**.| |Valid \[valid\]|Indicates that the serial number is active and valid. The value is set to **true**.| |Configuration item \[cmdb\_ci\]|References the Linux Server \[cmdb\_ci\_linux\_server\] table.|

CI relationships and references

The AWS - Linux Server (LP) pattern creates the following relationships and references to support AWS Linux Server discovery. References link to records in other tables and don't appear in the CI Relationship [cmdb_rel_ci] table.

CI Relationship CI
Linux Server [cmdb_ci_linux_server] Virtualized by::Virtualizes Virtual Machine Instance [cmdb_ci_vm_instance]
CI Field Referenced CI
Serial Number [cmdb_serial_number] Configuration item [cmdb_ci] Linux Server [cmdb_ci_linux_server]

Parent Topic:AWS discovery using patterns

Keywords AWS Linux Server discoveryAWS Linux Server patternAWS SSM server CIEC2 Linux server
Search documentation
Search document titles and file paths on the australia branch