Managing discovery of Linux subscriptions
You can manage the discovery of Linux subscriptions using the License Manager console. When you enable discovery of Linux subscriptions for the Amazon Web Services Regions you specify, you can optionally extend this discovery to your accounts in Amazon Organizations. If you no longer want to track subscription utilization, you can also disable discovery.
Note
You can discover and display up to 5,000 resources per account per Amazon Web Services Region by default.
To request an increase to these limits, use the limit
increase form
Topics
Enabling discovery of Linux subscriptions
To enable the discovery of Linux subscriptions, you need to configure the required settings in License Manager. From the settings page, you can create the service-linked role, specify which Amazon Web Services Regions to enable discovery in, and whether to discover resources across your accounts in Amazon Organizations.
To enable discovery for Linux subscriptions
Open the License Manager console at https://console.amazonaws.cn/license-manager/
. -
In the left navigation pane, choose Settings.
-
On the Settings page, choose the Linux subscriptions tab and choose Configure.
-
For Source Amazon Web Services Regions, choose the Regions for which you want to discover Linux subscriptions.
-
If you want to aggregate subscription data across your accounts in Amazon Organizations, select Link Amazon Organizations.
-
Review and acknowledge the option which grants Amazon License Manager permission to create a service-linked role for Linux subscriptions.
-
Choose Save configuration.
Resource discovery status reasons
Amazon License Manager will display a status and a corresponding status reason for each Amazon Web Services Region you choose to enable discovery for Linux subscriptions. The status reason will vary if you have linked Linux subscriptions with Amazon Organizations:
-
In progress
-
Successful
-
Failed
The status reason that displays for each Region you choose will show up to two status reasons at a time. The following table provides more detail:
Status reason action | Description |
---|---|
Account-onboard |
Onboarding a single account. |
Account-offboard |
Offboarding a single account. |
Org-onboard |
Onboarding an entire organization. |
Org-offboard |
Offboarding an entire organization. |
You can call the UpdateServiceSettings
API and subsequently call the
GetServiceSettings
API to monitor the progress of enabling Linux subscriptions.
Each status and status reason can apply to multiple Regions at once. The follow table provides
more detail on the status and status reason:
Status | Status reason | Description |
---|---|---|
In Progress | "Region": "Account-Onboard: Pending" |
Enabling Linux subscriptions for a single account is in progress. |
"Region": "Org-Onboard: Pending" |
Enabling Linux subscriptions for an organization is in progress. | |
"Region": "Account-Offboard: Pending |
Disabling Linux subscriptions for a single account is in progress. | |
"Region": "Org-Offboard: Pending |
Disabling Linux subscriptions for an organization is in progress. | |
Successful | "Region": "Account-Onboard: Successful" |
Enabling Linux subscriptions for a single account was successful. |
"Region": "Org-Onboard: Successful" |
Enabling Linux subscriptions for an organization was successful. | |
"Region": "Account-Offboard: Successful |
Disabling Linux subscriptions for a single account was successful. | |
"Region": "Org-Offboard: Successful |
Disabling Linux subscriptions for an organization was successful. | |
Failed | "Region": "Account-Onboard: Failed - Service-linked role not
present" |
Enabling Linux subscriptions for a single account has failed due to the required service-linked role not being created. Create the required role, and try again. |
"Region": "Account-Onboard: Failed - An internal error occurred" |
Enabling Linux subscriptions for a single account has failed due to an internal error. | |
"Region": "Org-Onboard: Failed - Account isn't the management
account" |
Enabling Linux subscriptions for an organization has failed due to the account performing the operation not being the organization's management account. Log in to the management account, and try again. | |
"Region": "Org-Onboard: Failed - Account isn't part of an
organization" |
Enabling Linux subscriptions for an organization has failed due to the account performing the operation not being in an organization. Try the operation from an account in the organization, or add this account to the organization, and try again. | |
"Region": "Org-Onboard: Failed - Linux subscriptions can't access the
organization" |
Enabling Linux subscriptions for an organization has failed due to License Manager not having permissions to access the organization. Create the service-linked role for Linux subscriptions, and try again. |
Disabling discovery of Linux subscriptions
You can disable discovery of Linux subscriptions from the Amazon License Manager settings page.
Warning
If you disable discovery, all of your data previously discovered for Linux subscriptions will be removed from Amazon License Manager.
To disable discovery for Linux subscriptions
Open the License Manager console at https://console.amazonaws.cn/license-manager/
. -
In the left navigation pane, choose Settings.
-
On the Settings page, choose the Linux subscriptions tab and choose Disable Linux subscription discovery.
-
Enter
Disable
and then choose Disable to confirm deactivation. -
(Optional) Remove the service-linked role used for Linux subscriptions. For more information, see Delete a service-linked role for License Manager.
-
(Optional) Disable trusted access between License Manager and your organization. For more information, see Amazon License Manager and Amazon Organizations.