Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Starting and stopping Discovery Agent data collection

Focus mode
Starting and stopping Discovery Agent data collection - AWS Application Discovery Service

After the Discovery Agent is deployed and configured, if data collections stops you can restart it. You can start or stop data collection through the console by following the steps in Starting and stopping data collectors in the AWS Migration Hub console, or by making API calls through the AWS CLI.

To install the AWS CLI and start or stop data collection
  1. If you have not already done so, install the AWS CLI appropriate to your OS type (Windows or Mac/Linux). See the AWS Command Line Interface User Guide for instructions.

  2. Open the Command prompt (Windows) or Terminal (MAC/Linux).

    1. Type aws configure and press Enter.

    2. Enter your AWS Access Key ID and AWS Secret Access Key.

    3. Enter your home Region for the Default Region Name, for example us-west-2. (We are assuming that us-west-2 is your home Region in this example.)

    4. Enter text for Default Output Format.

  3. To find the ID of the agent you want to stop or start data collection for, type the following command:

    aws discovery describe-agents
  4. To start data collection by the agent, type the following command:

    aws discovery start-data-collection-by-agent-ids --agent-ids <agent ID>

    To stop data collection by the agent, type the following command:

    aws discovery stop-data-collection-by-agent-ids --agent-ids <agent ID>

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.