Amazon Application Migration Service (Application Migration Service) and Amazon Organizations - Amazon Organizations
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).

Amazon Application Migration Service (Application Migration Service) and Amazon Organizations

Amazon Application Migration Service simplifies, expedites, and reduces the cost of migrating applications to Amazon. By integrating with Organizations, you can use the global view feature to manage large-scale migrations across multiple accounts. For more information see Setting up your Amazon Organizations in the Application Migration Service user guide.

Use the following information to help you integrate Amazon Application Migration Service with Amazon Organizations.

Service-linked roles created when you enable integration

The following service-linked role is automatically created in your organization's management account when you enable trusted access. This role allows Application Migration Service to perform supported operations within your organization's accounts in your organization.

You can delete or modify this role only if you disable trusted access between Application Migration Service and Organizations, or if you remove the member account from the organization.

  • AWSServiceRoleForApplicationMigrationService

Service principals used by Application Migration Service

The service-linked role in the previous section can be assumed only by the service principals authorized by the trust relationships defined for the role. The service-linked roles used by Application Migration Service grant access to the following service principals:

  • mgn.amazonaws.com

Enabling trusted access with Application Migration Service

When you enable trusted access with Application Migration Service you can use the global view feature, which allows you to manage large-scale migrations across multiple accounts. Global view provides visibility and the ability to perform specific actions on source servers, apps, and waves in different Amazon accounts. For more information, see Setting up your Amazon Organizations in the Amazon Application Migration Service user guide.

For information about the permissions needed to enable trusted access, see Permissions required to enable trusted access.

You can enable trusted access using either the Amazon Application Migration Service console or the Amazon Organizations console.

Important

We strongly recommend that whenever possible, you use the Amazon Application Migration Service console or tools to enable integration with Organizations. This lets Amazon Application Migration Service perform any configuration that it requires, such as creating resources needed by the service. Proceed with these steps only if you can’t enable integration using the tools provided by Amazon Application Migration Service. For more information, see this note.

If you enable trusted access by using the Amazon Application Migration Service console or tools then you don’t need to complete these steps.

You can enable trusted access by using either the Amazon Organizations console, by running a Amazon CLI command, or by calling an API operation in one of the Amazon SDKs.

Amazon Web Services Management Console
To enable trusted service access using the Organizations console
  1. Sign in to the Amazon Organizations console. You must sign in as an IAM user, assume an IAM role, or sign in as the root user (not recommended) in the organization’s management account.

  2. In the navigation pane, choose Services.

  3. Choose Amazon Application Migration Service in the list of services.

  4. Choose Enable trusted access.

  5. In the Enable trusted access for Amazon Application Migration Service dialog box, type enable to confirm it, and then choose Enable trusted access.

  6. If you are the administrator of only Amazon Organizations, tell the administrator of Amazon Application Migration Service that they can now enable that service using its console to work with Amazon Organizations.

Amazon CLI, Amazon API
To enable trusted service access using the OrganizationsCLI/SDK

You can use the following Amazon CLI commands or API operations to enable trusted service access:

  • Amazon CLI: enable-aws-service-access

    You can run the following command to enable Amazon Application Migration Service as a trusted service with Organizations.

    $ aws organizations enable-aws-service-access \ --service-principal mgn.amazonaws.com

    This command produces no output when successful.

  • Amazon API: EnableAWSServiceAccess

Disabling trusted access with Application Migration Service

Only an administrator in the Organizations management account can disable trusted access with Application Migration Service.

You can disable trusted access using either the Amazon Application Migration Service or Amazon Organizations tools.

Important

We strongly recommend that whenever possible, you use the Amazon Application Migration Service console or tools to disable integration with Organizations. This lets Amazon Application Migration Service perform any clean up that it requires, such as deleting resources or access roles that are no longer needed by the service. Proceed with these steps only if you can’t disable integration using the tools provided by Amazon Application Migration Service.

If you disable trusted access by using the Amazon Application Migration Service console or tools then you don’t need to complete these steps.

You can disable trusted access by using either the Amazon Organizations console, by running an Organizations Amazon CLI command, or by calling an Organizations API operation in one of the Amazon SDKs.

Amazon Web Services Management Console
To disable trusted service access using the Organizations console
  1. Sign in to the Amazon Organizations console. You must sign in as an IAM user, assume an IAM role, or sign in as the root user (not recommended) in the organization’s management account.

  2. In the navigation pane, choose Services.

  3. Choose Amazon Application Migration Service in the list of services.

  4. Choose Disable trusted access.

  5. In the Disable trusted access for Amazon Application Migration Service dialog box, type disable to confirm it, and then choose Disable trusted access.

  6. If you are the administrator of only Amazon Organizations, tell the administrator of Amazon Application Migration Service that they can now disable that service using its console or tools from working with Amazon Organizations.

Amazon CLI, Amazon API
To disable trusted service access using the Organizations CLI/SDK

You can use the following Amazon CLI commands or API operations to disable trusted service access:

  • Amazon CLI: disable-aws-service-access

    You can run the following command to disable Amazon Application Migration Service as a trusted service with Organizations.

    $ aws organizations disable-aws-service-access \ --service-principal mgn.amazonaws.com

    This command produces no output when successful.

  • Amazon API: DisableAWSServiceAccess

Enabling a delegated administrator account for Application Migration Service

When you designate a member account as a delegated administrator for the organization, users and roles from that account can perform administrative actions for Application Migration Service that otherwise can be performed only by users or roles in the organization's management account. This helps you to separate management of the organization from management of Application Migration Service. For more information see Setting up your Amazon Organizations in the Application Migration Service user guide.

Minimum permissions

Only a user or role in the Organizations management account can configure a member account as a delegated administrator for Application Migration Service in the organization

Amazon CLI, Amazon API

If you want to configure a delegated administrator account using the Amazon CLI or one of the Amazon SDKs, you can use the following commands:

  • Amazon CLI:

    $ aws organizations register-delegated-administrator \ --account-id 123456789012 \ --service-principal mgn.amazonaws.com
  • Amazon SDK: Call the Organizations RegisterDelegatedAdministrator operation and the member account's ID number and identify the account service mgn.amazonaws.com as parameters.

Disabling a delegated administrator for Application Migration Service

Only an administrator in the Organizations management account can remove a delegated administrator for Application Migration Service. You can remove the delegated administrator using the Organizations DeregisterDelegatedAdministrator CLI or SDK operation.