AWS Auto Scaling groups discovery
Summarize
Summary of AWS Auto Scaling Groups Discovery
The AWS Auto Scaling groups discovery feature in the ServiceNow Discovery application allows IT operations teams to identify and manage AWS Auto Scaling groups effectively. This functionality requires the installation of the Discovery and Service Mapping Patterns application from the ServiceNow Store.
Show less
Key Features
- Configured AWS Credentials: Ensure AWS credentials are set to Active on your instance.
- Configured Cloud Service Account: Set up a valid AWS service account in ServiceNow.
- User Permissions: Grant permissions to execute the list AWS Auto Scaling groups API call.
- Cloud Discovery Schedule: Create a schedule for discovering AWS Auto Scaling groups.
- Configurations for Scale Sets: Specific configuration fields must be set in the Main CI (Instance Scale Set) table.
Key Outcomes
Once configured, the AWS Auto Scaling groups discovery will collect detailed information about Auto Scaling groups, including their operational statuses, desired capacities, and associated virtual machine instances. This helps organizations maintain visibility and control over their cloud resources, ensuring optimized resource management and operational efficiency.
The ® Discovery application uses the AWS Auto Scaling groups pattern and Auto Scaling extensions to find AWS Auto Scaling groups. 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 and set them to Active. 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 Auto Scaling groups API call
- Provide the user permission to run the following API: https://autoscaling.amazonaws.com/?Action=DescribeAutoScalingGroups&Version=2011-01-01
- Configured Cloud Discovery schedule
- Create a cloud application schedule for discovering AWS Auto Scaling groups and configure the attributes. Set Discovery to Cloud application. For more information, see Create schedules for discovering cloud resources in Cloud Discovery Workspace
- Configurations for AWS Auto Scaling groups
- Navigate to the Main CI (Instance Scale Set) table and make sure that the configurations are set as follows:
- AWS Auto Scaling group tags.
-
The pattern extension is automatically displayed and collects the Auto Scaling tags (From November 2022 release, version 1.0.95).
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.
Data collected during AWS Auto Scaling groups horizontal discovery
| Field | Description |
|---|---|
| Main CI (Instance Scale Set) [cmdb_ci_instance_scale_set] | |
| object_id | The Amazon Resource Name (ARN) of the Auto Scaling group. |
| name | The Amazon Resource Name (ARN) of the Auto Scaling group. |
| install_status | The install status of Auto Scaling group (installed). |
| operational_status | The operational status of Auto Scaling group (operational). |
| desired_capacity | The desired size of the group. |
| max_size | The maximum size of the group. |
| min_size | The minimum size of the group. |
| VM Instance [cmdb_ci_vm_instance] | |
| object_id | The Instance ID of the Virtual Machine. |
| Key Value [cmdb_key_value] | |
| Key | The key of the resource tag. |
| Value | The value of the resource tag. |
| CI | Relationship Type | CI |
|---|---|---|
| AWS Datacenter [cmdb_ci_aws_datacenter] | Hosted on::Hosts |
Service Account [cmdb_ci_cloud_service_account] |
| Instance Scale Set [cmdb_ci_instance_scale_set] | Hosted on::Hosts |
AWS Datacenter [cmdb_ci_aws_datacenter] |
| Instance Scale Set [cmdb_ci_instance_scale_set] | Members::Member of |
VM Instance [cmdb_ci_vm_instance] Note:
EC2 VM |
|
Key Value [cmdb_key_value] |
Reference only (configuration_item) |
Instance Scale Set [cmdb_ci_instance_scale_set] |