Integrating BYOM DB Instance with Amazon License Manager
To make it easier to monitor SQL Server license usage in the BYOM model, Amazon License Manager
The following table shows the product information filters for RDS for SQL Server.
| Filter | Name | Description |
|---|---|---|
| Engine Edition | sqlserver-ee | SQL Server Enterprise Edition (EE) |
| Engine Edition | sqlserver-se | SQL Server Standard Edition (SE) |
To track license usage of your SQL Server DB instances, you can create a self-managed license using Amazon License Manager. In this case, RDS for SQL Server resources that match the product information filter are automatically associated with the self-managed license. Discovery of SQL Server DB instances can take up to 24 hours. You can also track a license across accounts by using Amazon Resource Access Manager.
To create a self-managed license in Amazon License Manager
To create a self-managed license in Amazon License Manager to track the license usage of your RDS for SQL Server DB instances:
Choose Create self-managed license.
For instructions, see Create a self-managed license
in the Amazon License Manager User Guide. Add a rule for an RDS Product Information Filter in the Product Information panel. When selecting the resource type, choose SQL Server Database.
For more information, see ProductInformation
in the Amazon License Manager API Reference. (Cross-account tracking only) Use Amazon Resource Access Manager to share your self-managed licenses with any Amazon account or through Amazon Organizations. For more information, see Sharing your Amazon resources
.
To create a self-managed license by using the Amazon CLI
To create a self-managed license by using the Amazon CLI, call the create-license-configuration--cli-input-json or --cli-input-yaml parameters to pass the parameters to the command.
Example
The following example creates a self-managed license for SQL Server Enterprise Edition.
aws license-manager create-license-configuration --cli-input-json file://rds-sqlserver-ee.json
The following is the sample rds-sqlserver-ee.json file used in the example.
{ "Name": "rds-sqlserver-ee", "Description": "RDS SQL Server Enterprise Edition", "LicenseCountingType": "vCPU", "LicenseCountHardLimit": false, "ProductInformationList": [ { "ResourceType": "RDS", "ProductInformationFilterList": [ { "ProductInformationFilterName": "Engine Edition", "ProductInformationFilterValue": ["sqlserver-ee"], "ProductInformationFilterComparator": "EQUALS" } ] } ] }
For more information about product information, see Automated discovery of resource inventory
For more information about the --cli-input parameter, see Generating Amazon CLI skeleton and input parameters from a JSON or YAML input file