AWS hardware type pattern-based discovery
Discovery and Service Mapping Patterns finds Amazon EC2 instance types 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.
Discovery uses the Amazon AWS - Hardware Type (LP) pattern to discover AWS EC2 instance types from your AWS account.
When using the Hardware Type [cmdb_ci_compute_template] table to store the hardware types, you may notice an unusually large number of records. To avoid this issue, you can store the discovered hardware types in the Cloud Hardware Type [cmdb_ci_cloud_hardware_type] table. When enabled, Discovery launches the Amazon AWS - Cloud Hardware Type (LP) pattern to populate the Cloud Hardware Type [cmdb_ci_cloud_hardware_type] table. For more information, see Enable the Cloud Hardware Type class extension.
Pattern-based discovery and mapping requirements
Verify the AWS discovery prerequisites section in AWS discovery using patterns.
Data collected by Discovery during horizontal discovery
Discovery populates the data in the CMDB when running the AWS hardware type patterns.
| Field | Description |
|---|---|
| Name [name] | Name of the instance type. For example: t2.micro or m5.large |
| Object ID [object_id] | Name of the instance type. For example: t2.micro or m5.large |
| Cores [cores] | The default number of cores for the instance type. |
| Memory MB [memory_mb] | The size of the memory for the instance type, in megabytes (MB). |
| vCPUs [vcpus] | The default number of Virtual Central Processing Units (vCPUs) for the instance type. |
| Local Storage GB [local_storage_gb] | The total size of the local instance storage for the instance type, in gigabytes (GB). |
| Provider [provider] | The cloud provider, which is AWS. This field is only populated in Cloud Hardware Type [cmdb_ci_cloud_hardware_type] table. |
CI relationships
The AWS hardware type patterns create these relationships to support AWS hardware type discovery.
| CI | Relationship | CI |
|---|---|---|
| Hardware Type [cmdb_ci_compute_template] or Cloud Hardware Type [cmdb_ci_cloud_hardware_type] | Hosted on::Hosts | AWS Datacenter [cmdb_ci_aws_datacenter] |