docs.aws.amazon.com Open in urlscan Pro
3.171.139.86  Public Scan

URL: https://docs.aws.amazon.com/drs/latest/userguide/uninstalling-agent.html
Submission: On November 14 via manual from US — Scanned from US

Form analysis 0 forms found in the DOM

Text Content

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 click “Customize cookies” 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 continue without accepting these cookies,
click “Continue without accepting.” To make more detailed choices or learn more,
click “Customize cookies.”

Accept all cookiesContinue without acceptingCustomize cookies


CUSTOMIZE COOKIE PREFERENCES

We use cookies and similar tools (collectively, "cookies") for the following
purposes.


ESSENTIAL

Essential cookies are necessary to provide our site and services and cannot be
deactivated. They are usually set in response to your actions on the site, such
as setting your privacy preferences, signing in, or filling in forms.




PERFORMANCE

Performance cookies provide anonymous statistics about how customers navigate
our site so we can improve site experience and performance. Approved third
parties may perform analytics on our behalf, but they cannot use the data for
their own purposes.

Allow performance category
Allowed


FUNCTIONAL

Functional cookies help us provide useful site features, remember your
preferences, and display relevant content. Approved third parties may set these
cookies to provide certain site features. If you do not allow these cookies,
then some or all of these services may not function properly.

Allow functional category
Allowed


ADVERTISING

Advertising cookies may be set through our site by us or our advertising
partners and help us deliver relevant marketing content. If you do not allow
these cookies, you will experience less relevant advertising.

Allow advertising category
Allowed

Blocking some types of cookies may impact your experience of our sites. You may
review and change your choices at any time by clicking Cookie preferences in the
footer of this site. We and selected third-parties use cookies or similar
technologies as specified in the AWS Cookie Notice.

CancelSave preferences




UNABLE TO SAVE COOKIE PREFERENCES

We will only store essential cookies at this time, because we were unable to
save your cookie preferences.

If you want to change your cookie preferences, try again later using the link in
the AWS console footer, or contact support if the problem persists.

Dismiss


Contact Us
English



Create an AWS Account
 1. AWS
 2. ...
    
    
 3. Documentation
 4. AWS Elastic Disaster Recovery
 5. User Guide

Feedback
Preferences


AWS ELASTIC DISASTER RECOVERY


USER GUIDE

 * What is Elastic Disaster Recovery?
 * Getting started
    * Initialization and permissions
    * Accessing the console
    * Supported AWS Regions
    * Using the console
    * Best practices
    * Quick start guide

 * Replication network requirements
    * Network diagrams
    * Network setting preparations
    * Network requirements

 * AWS DRS settings
    * Replication settings
       * Default replication
       * Individual replication settings
          * Amazon EBS volumes
          * Security groups
          * Data routing and throttling
          * Point in time (PIT) policy
          * Tags
          * MAP program tagging
   
    * Launch settings
       * Default AWS DRS launch settings
          * Editing the default AWS DRS launch settings
          * Launch into source instance
      
       * Default Amazon Elastic Compute Cloud (Amazon EC2) launch template
          * Editing the default EC2 launch template
   
    * Post-launch actions
       * Install the required IAM roles if needed
       * Activating post-launch actions default settings
       * Adding custom actions
       * Activating, deactivating and editing predefined or custom actions
       * Deleting custom actions
       * Predefined post-launch actions

 * Source servers
    * Adding source servers to AWS DRS
       * Supported operating systems
       * Installation requirements
       * Installing the AWS Replication Agent
          * Generating the required AWS credentials
          * Installing the AWS Replication Agent in AWS
          * Installation instructions
             * Linux
             * Windows
             * AWS Replication Agent Installer parameters
         
          * Installing the agent on a secured network
          * Uninstalling the agent
          * Reinstalling the agent
          * Supporting marketplace licenses
      
       * Adding instances from the Amazon EC2 Console
   
    * Source servers page
       * Interacting with the Source Servers page
       * Command menus
       * Filtering
   
    * Server details
       * Recovery dashboard
       * Server info
       * Tags
       * Disk settings
       * Replication settings
       * Launch settings
       * Post-launch settings
          * Adding custom actions
          * Activating, deactivating, and editing predefined or custom actions
          * Deleting custom actions
          * Predefined post-launch actions

 * Source networks
    * Adding source networks
       * Installing the AWS Replication Agent
       * Creating the required role
       * Replicating your network configurations in Elastic Disaster Recovery

 * Trusted accounts
    * Adding a trusted account

 * Configuring launch settings
    * DRS launch settings
    * EC2 launch template
    * Flexible Instance Types

 * Using Elastic Disaster Recovery for recovery and failback
    * Preparing for failover
    * Performing a failover
    * Performing a failback
       * Failback to on-premises environment
          * Failback with DRSFA Client
      
       * Performing a cross-Region failback
       * Performing a cross-account failback
   
    * Cross Availability Zone recovery

 * Recovery Instances page
    * Monitoring recovery instances
    * Recovery instance details view

 * Recovery job history
 * Using multiple staging accounts with AWS DRS
 * Working with AWS DRS and AWS Outposts
 * Security
    * Identity and access management
       * Authenticating with identities
       * Grant permission to tag resources during creation
       * AWS managed policies
          * AWSElasticDisasterRecoveryAgentPolicy
          * AWSElasticDisasterRecoveryAgentInstallationPolicy
          * AWSElasticDisasterRecoveryConversionServerPolicy
          * AWSElasticDisasterRecoveryFailbackPolicy
          * AWSElasticDisasterRecoveryFailbackInstallationPolicy
          * AWSElasticDisasterRecoveryConsoleFullAccess
          * AWSElasticDisasterRecoveryReadOnlyAccess
          * AWSElasticDisasterRecoveryReplicationServerPolicy
          * AWSElasticDisasterRecoveryRecoveryInstancePolicy
          * AWSElasticDisasterRecoveryServiceRolePolicy
          * AWSElasticDisasterRecoveryStagingAccountPolicy
          * AWSElasticDisasterRecoveryStagingAccountPolicy_v2
          * AWSElasticDisasterRecoveryEc2InstancePolicy
          * AWSElasticDisasterRecoveryCrossAccountReplicationPolicy
          * AWSElasticDisasterRecoveryNetworkReplicationPolicy
          * AWSElasticDisasterRecoveryLaunchActionsPolicy
          * AWSElasticDisasterRecoveryConsoleFullAccess_v2
      
       * Managing access using policies
          * Using identity-based policies
             * Customer-managed policies in AWS Elastic Disaster Recovery
             * Console Full Access Policy -
               AWSElasticDisasterRecoveryConsoleFullAccess
             * Console Full Access Policy -
               AWSElasticDisasterRecoveryConsoleFullAccess_v2
             * Launch Actions Policy -
               AWSElasticDisasterRecoveryLaunchActionsPolicy
             * Console Read-Only Access Policy -
               AWSElasticDisasterRecoveryReadOnlyAccess
      
       * Using service-linked roles
   
    * Resilience
    * Infrastructure security
    * Compliance validation
    * Cross-service confused deputy prevention

 * Monitoring
    * CloudWatch Metrics for DRS
    * Alarm events and EventBridge

 * Troubleshooting
 * FAQ
    * Elastic Disaster Recovery Concepts
    * Agent related
    * Replication related
    * AWS related
    * Advanced FAQ

 * Release Notes
    * AWS Elastic Disaster Recovery Service Release Notes
    * AWS Elastic Disaster Recovery Client Release Notes
       * Agent Version History
       * Failback Client Version History
       * DRSFA Version History
       * CEDR Upgrade Tool Version History

 * Document history

Uninstalling the agent - AWS Elastic Disaster Recovery
AWSDocumentationAWS Elastic Disaster RecoveryUser Guide
Uninstalling the Agent through the AWS Elastic Disaster Recovery
consoleUninstalling the Agent manually through the source server


UNINSTALLING THE AGENT


PDFRSS

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 Elastic Disaster Recovery Console.


UNINSTALLING THE AGENT THROUGH THE AWS ELASTIC DISASTER RECOVERY CONSOLE


To uninstall the AWS Replication Agent though the AWS Elastic Disaster Recovery
console.

Navigate to the Source servers page.

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

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

The AWS Replication Agent will be uninstalled from all of the selected source
servers.


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

As root, cd to /var/lib/aws-replication-agent.

Run the following commands from that folder:

./stopAgent.sh

./uninstall_agent_linux.sh

Javascript is disabled or is unavailable in your browser.

To use the Amazon Web Services Documentation, Javascript must be enabled. Please
refer to your browser's Help pages for instructions.

Document Conventions
Installing the agent on a secured network
Reinstalling the agent
Did this page help you? - Yes

Thanks for letting us know we're doing a good job!

If you've got a moment, please tell us what we did right so we can do more of
it.



Did this page help you? - No

Thanks for letting us know this page needs work. We're sorry we let you down.

If you've got a moment, please tell us how we can make the documentation better.





DID THIS PAGE HELP YOU?

Yes
No
Provide feedback

NEXT TOPIC:

Reinstalling the agent

PREVIOUS TOPIC:

Installing the agent on a secured network

NEED HELP?

 * Try AWS re:Post 
 * Connect with an AWS IQ expert 

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


ON THIS PAGE

 * Uninstalling the Agent through the AWS Elastic Disaster Recovery console
 * Uninstalling the Agent manually through the source server