---
sourceDocument: Australia IT Operations Management
sourceDocumentLink: https://www.servicenow.com/docs/r/australia/it-operations-management

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia IT Operations Management

ft:clusterId :

    - itom

bundleId :

    - itom

workflow :

    - Technology


---

# AWS Linux Server

# AWS
Linux Server pattern-based discovery {#ariaid-title1}

Release version: Australia  
Updated August 11, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) 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 Linux Server pattern-based discovery

This AWS Linux Server pattern-based discovery enables ServiceNow customers to identify and populate configuration items (CIs) for AWS Linux servers in their cloud environment.
It uses the Discovery and Service Mapping Patterns application to find Linux servers running as Amazon EC2 instances and stores detailed information in the ServiceNow CMDB.
Show full answer Show less  

## Prerequisites and Configuration

* **Application Version:** Ensure the latest version of the Discovery and Service Mapping Patterns application is installed from the ServiceNow Store for optimal discovery.
* **AWS Discovery Prerequisites:** Follow AWS discovery prerequisites, including enabling AWS Systems Manager (AWS SSM) on EC2 instances.
* **SSM Agent Requirements:** The SSM Agent must run as root to retrieve BIOS serial numbers. If security policies restrict root execution, the Server CI creation will not occur for those instances.
* **Server CI Creation:** Enable Linux Server CI creation by setting the system property **snitompattern.awsclouddiscoverypopulateserverci** to true.
* **GovCloud Support:** For AWS GovCloud (US) accounts, configure the discovery schedule to use datacenter URLs when creating AWS service accounts.

## Data Collected and CMDB Population

When running the **AWS - Linux Server (LP)** pattern, Discovery populates the following key fields in the **cmdbcilinuxserver** table:

* Name: Hostname of the EC2 instance (with domain suffix stripped based on configuration)
* Object ID and Correlation ID: EC2 instance ID
* Serial Number: BIOS serial number retrieved via dmidecode
* IP Address: Instance IP address
* CPU Core Count and CPU Count: Number of vCPUs (CPU count set to 1)
* RAM: Memory in megabytes
* Operating System: Set to Linux
* Is Virtual: Set to true
* Install Status: Set to Installed
* Operational Status: Set to Operational

In addition, serial number details are stored in the **cmdbserialnumber** table with indicators of validity and type.

## CI Relationships and References

* **Relationships:** The Linux Server CI is linked to a virtual machine instance via a "Virtualized by::Virtualizes" relationship.
* **References:** The Linux Server CI references its associated serial number record to maintain data integrity.

## Benefits for ServiceNow Customers

This pattern-based discovery automates detection and accurate CI creation for AWS Linux servers, enriching the CMDB with vital instance details. It supports cloud asset visibility, operational awareness, and change management by providing reliable configuration data. Customers can ensure compliance with prerequisites to successfully discover Linux servers and maintain up-to-date infrastructure records.  
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 {#aws-linux-server-pattern__section_rpj_fj2_bgc}

Verify the AWS discovery prerequisites
:   For more information, see the prerequisites section in [AWS discovery using patterns](https://www.servicenow.com/docs/NFaTlkGaSxMWb2bQPsCnCA "Discovery and Service Mapping Patterns uses patterns to discover components of the Amazon AWS Cloud deployment during horizontal discovery. Discovering some of these resources might require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.").

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](https://www.servicenow.com/docs/TAwA5~6rxh7OQ4~LjkQsAg "Create Windows Server or Linux Server configuration items (CIs) during AWS cloud discovery by enabling the sn_itom_pattern.aws_cloud_discovery_populate_server_ci system property.").

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](https://www.servicenow.com/docs/vpueuFRHMWLNi6dzsJv94A "Create AWS service accounts on the ServiceNow AI Platform to access your AWS account during AWS discovery.").

## Data collected by Discovery during horizontal discovery {#aws-linux-server-pattern__section_ggp_ql2_bgc}

Discovery populates the data in the CMDB when running the AWS - Linux Server (LP) pattern.  
{#aws-linux-server-pattern__table_linux_server_main__entry__2}

| 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. |
[Table 1. Linux Server \[cmdb_ci_linux_server\]]

{#aws-linux-server-pattern__table_linux_server_main}  
{#aws-linux-server-pattern__table_linux_serial_number__entry__2}

| 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. |
[Table 2. Serial Number \[cmdb_serial_number\]]

{#aws-linux-server-pattern__table_linux_serial_number}

## CI relationships and references {#aws-linux-server-pattern__section_dc4_ghc_dgc}

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.  
{#aws-linux-server-pattern__table_linux_relationships__entry__3}

| CI | Relationship | CI |
|-|-|-|
| Linux Server \[cmdb_ci_linux_server\] | Virtualized by::Virtualizes | Virtual Machine Instance \[cmdb_ci_vm_instance\] |
[Table 3. CI relationships]

{#aws-linux-server-pattern__table_linux_relationships}  
{#aws-linux-server-pattern__table_linux_ci_references__entry__3}

| CI | Field | Referenced CI |
|-|-|-|
| Serial Number \[cmdb_serial_number\] | Configuration item \[cmdb_ci\] | Linux Server \[cmdb_ci_linux_server\] |
[Table 4. CI references]

{#aws-linux-server-pattern__table_linux_ci_references}

