Integrating BYOM DB Instance with AWS License Manager
To make it easier to monitor SQL Server license usage in the BYOM model, AWS 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 AWS 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 AWS Resource Access Manager.
To create a self-managed license in AWS License Manager
To create a self-managed license in AWS 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 AWS 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 AWS License Manager API Reference.
(Cross-account tracking only) Use AWS Resource Access Manager to share your self-managed licenses with any AWS account or through AWS Organizations. For more information, see Sharing your AWS resources.
To create a self-managed license by using the AWS CLI
To create a self-managed license by using the AWS CLI, call the create-license-configuration command. Use the --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 in the AWS License Manager User Guide.
For more information about the --cli-input parameter, see Generating AWS CLI skeleton and input parameters from a JSON or YAML input file in the AWS CLI User Guide.