Uninstalling the Agent - Application Migration Service

Uninstalling the Agent

Uninstalling the AWS Replication Agent from a source server stops the replication of that server. Uninstalling the AWS Replication Agent will remove the source server from the AWS Application Migration Service Console.

Note
  • The source server must be able to communicate with the Application Migration Service service in order for the Agent to be uninstalled successfully.

  • If the Agent is uninstalled directly from a source server without disconnecting the server from Application Migration Service or finalizing the cutover within the Application Migration Service Console, the replication metering period will continue and once 2160 hours have elapsed, billing for replication will begin.

Uninstalling the Agent through the AWS Application Migration Service Console

To uninstall the AWS Replication Agent though the AWS Application Migration Service Console.

Navigate to the Source servers page.

Check the box to the left of each server that you want to disconnect from Application Migration Service (by uninstalling the AWS Replication Agent). Open the Actions menu, and choose the Disconnect from service option to disconnect the selected server from Application Migration Service and AWS.

On the Disconnect X server/s from service dialog, click Disconnect.

The AWS Replication Agent will be uninstalled from all of the selected source servers. You will then be able to archive these servers. Learn more about archiving.

Uninstalling the Agent manually through the source server

To uninstall the AWS Replication Agent manually through the source server:

Windows

Copy the following folder to a new location:C:\Program Files (x86)\AWS Replication Agent\dist

From the new location, run in CMD as an administrator:

install_agent_windows.exe --remove

Linux

Run as root or with sudo the following commands:

/var/lib/aws-replication-agent/uninstall-agent.sh