AWS License Manager and AWS Organizations - AWS Organizations

AWS License Manager and AWS Organizations

AWS License Manager streamlines the process of bringing software vendor licenses to the cloud. As you build out cloud infrastructure on AWS, you can save costs by using bring-your-own-license (BYOL) opportunities—that is, by repurposing your existing license inventory for use with cloud resources. With rule-based controls on the consumption of licenses, administrators can set hard or soft limits on new and existing cloud deployments, stopping noncompliant server usage before it happens.

By linking License Manager with AWS Organizations, you can enable cross-account discovery of computing resources throughout your organization.

For more information about License Manager, see the License Manager User Guide.

Use the following information to help you integrate AWS License Manager with AWS 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 License Manager 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 License Manager and Organizations, or if you remove the member account from the organization.

  • AWSLicenseManagerMasterAccountRole

  • AWSLicenseManagerMemberAccountRole

  • AWSServiceRoleForAWSLicenseManagerRole

For more information, see Using the License Manager–management account role and Using the License Manager–member account role.

Service principals used by the service-linked roles

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 License Manager grant access to the following service principals:

  • license-manager.amazonaws.com

  • license-manager.member-account.amazonaws.com

Enabling trusted access with License Manager

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 AWS License Manager console or the AWS Organizations console.

Important

We strongly recommend that whenever possible, you use the AWS License Manager console or tools to enable integration with Organizations. This lets AWS License Manager 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 AWS License Manager.For more information, see this note.

If you enable trusted access by using the AWS License Manager console or tools then you don’t need to complete these steps.

To enable trusted access with License Manager

You must sign in to the License Manager console using your AWS Organizations management account and associate it with your License Manager account. Then you can configure your License Manager settings. For information, see Configuring AWS License Manager Guide Settings.

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

AWS Management Console

To enable trusted service access using the Organizations console

  1. Sign in to the AWS 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. On the Services page, find the row for AWS License Manager, choose the service’s name, and then choose Enable trusted access.

  3. In the confirmation dialog box, enable Show the option to enable trusted access, enter enable in the box, and then choose Enable trusted access.

  4. If you are the administrator of only AWS Organizations, tell the administrator of AWS License Manager that they can now enable that service using its console to work with AWS Organizations.

AWS CLI, AWS API

To enable trusted service access using the OrganizationsCLI/SDK

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

  • AWS CLI: enable-aws-service-access

    You can run the following command to enable AWS License Manager as a trusted service with Organizations.

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

    This command produces no output when successful.

  • AWS API: EnableAWSServiceAccess

Disabling trusted access with License Manager

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

You can disable trusted access using only the Organizations tools.

You can disable trusted access by running a Organizations AWS CLI command, or by calling an Organizations API operation in one of the AWS SDKs.

AWS CLI, AWS API

To disable trusted service access using the Organizations CLI/SDK

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

  • AWS CLI: disable-aws-service-access

    You can run the following command to disable AWS License Manager as a trusted service with Organizations.

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

    This command produces no output when successful.

  • AWS API: DisableAWSServiceAccess