Deleting your Amazon DataSync agent - Amazon DataSync
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Deleting your Amazon DataSync agent

When you delete an agent from Amazon DataSync, the resource is no longer associated with your Amazon Web Services account and can't be undone. However, deleting an agent doesn't remove it from your storage environment. You can reuse that agent's virtual machine (VM) or Amazon EC2 instance to create a new DataSync agent.

To delete an agent
  1. Open the Amazon DataSync console at https://console.amazonaws.cn/datasync/.

  2. In the left navigation pane, choose Agents.

  3. Choose the agent that you want to delete.

  4. Choose Delete, enter delete in the text box that appears, and then choose Delete.

  5. If you aren't planning to reuse the agent, delete the VM or Amazon EC2 instance to remove it from your storage environment.

To reuse an agent
  1. Delete the old agent (see the preceding steps for instructions). Do not delete the VM or Amazon EC2 instance.

  2. Wait until the old agent is deleted and the VM is ready to be activated, usually about three minutes. Alternatively, you can verify that the agent has been deleted by checking the status of port 80. When the VM is ready to be activated, port 80 will be open.

  3. Create and activate a new DataSync agent on the existing VM or Amazon EC2 instance. For information about creating a DataSync agent, see Creating your Amazon DataSync agent. The new agent can be activated in a different Amazon Web Services Region, depending on network connectivity.