AWS Auto Scaling groups discovery

  • Release version: Washingtondc
  • Updated February 1, 2024
  • 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 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 full answer 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
    For more information, see Amazon AWS Cloud components discovery using patterns.
    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:
    Table 1. New fields for table- [cmdb_ci_instance_scale_set]
    Element Name Type Label Max Length
    desired_capacity integer Desired Capacity 32
    min_size integer Minimum Size 32
    max_size integer Maximum Size 32
    health_check_type string Health Check Type 128
    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.

    Note:
    You can test the AWS REST APIs using Postman API platform. For more information, see the How to test AWS REST API using POSTMAN [KB0782183] article in the Now Support Knowledge Base.

    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.
    Figure 1. AWS EC2 Auto Scaling– Class model
    cmdb ci instance scale set and cmdb ci vm instance hosted on cmdb ci aws datacenter which is hosted on cmdb ci cloud service account
    Table 2. Pattern Relations
    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]