Add a source server - Application Migration Service

Add a source server

To add a server, simply click Add server.

To run a variety of commands on your source servers, select one or more servers and choose the Actions, Replication, or Test and cutover menu.

The Add servers prompt will open, allowing you to create a custom installation command by taking the following steps:

    1. Select your operating system. The installation command is different for Windows and Linux

      Note

      If you want to install the AWS Replication Agent on a legacy Windows OS (Windows Server 2003, Windows Server 2008 or Windows Server 2008 R2), you must choose the Legacy OS: Windows Server 2003 or Windows Server 2008 box. This will download a unique version of the AWS Replication Agent installer that is only valid for legacy Windows OSs (AwsReplicationWindowsLegacyInstaller.exe). Do not use this installer file to install the agent on any other OS types.

    2. Select your replication preferences for the source server. The selected preferences will be added as installation prompts to the custom installation command that will be generated by this form.

      Choose the Replicate all disks option to replicate all of the disks of the source server. This is the default option. This option adds the --no-prompt prompt to the installation command.

      Select the Choose which disks to replicate option to choose which specific disks you want to replicate. You will be prompted to select which disks to replicate during agent installation.

    3. Enter the credentials you previously generated for AWS Replication Agent installation. The form will not send the secret, but will add it to the installation command.

    4. If you are adding a Windows source server to AWS MGN, download the installer onto the source server. The installer will be downloaded from the AWS Region of your account. If you're adding a Linux source server, skip this step.

    5. Copy the generated custom installation command and either input it into the command line on your source server. Proceed with AWS Replication Agent installation as instructed in the documentation.

To run a variety of commands on your source servers, select one or more servers and choose the Actions, Replication, or Test and cutover menu.

Actions menu

The Actions menu allows you to perform the following actions:

  • View server details – Choose this option to see the server details view for the selected server. This option is only available when a single server is selected.

  • Add server to application – Choose this option to easily add servers to an application.

  • Disconnect from service – Choose this option to disconnect the selected server from Application Migration Service and AWS. This option should be used when data replication is complete.

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

    Important

    This will uninstall the AWS Replication Agent from the source server and data replication will stop for the source server. If you need to restart data replication for this server, you will need to reinstall the agent. This action will not affect any test or cutover instances that have been launched for this source server, but you will no longer be able to identify which source servers your Amazon EC2 instances correspond to.

  • Mark as archived – Choose this option in order to archive the server. You should only archive servers for which you have already performed a cutover. Archived servers will be removed from the main Source servers page, but can still be accessed through filtering options.

    On the Archive X servers dialog, select Archive.

    To see your archived servers, open the Preferences menu by choosing the gear button.

    Select the Show only archived servers option and click Confirm.

    You will now be able to see all of your archived servers. Unselect this option to see your non-archived servers.