Before starting, we will provision the proof of concept environment. We will launch a couple of EC2 Instances, one with Microsoft SQL Server 2016 and another one with Oracle Database 18c Express Edition.
You will need to provide the CentOS 7 AMI for the region you are using. You can find the latest CentOS AMI from the AWS Marketplace using this link. For example, for us-east-1, I would use the following AMI on centos.org:
The Cloudformation stack creates the instances and installs the software used in the lab.
License Manager uses the service-linked role named AWSServiceRoleForAWSLicenseManagerRole. This allows License Manager access to AWS resources to manage licenses on your behalf.
This role may already exist in your account if you have already setup License Manager.
The AWSServiceRoleForAWSLicenseManagerRole service-linked role trusts the license-manager.amazonaws.com service to assume the role. A detailed list of policies required for the role can be found here.
You don’t need to manually create a service-linked role. When you complete the License Manager first-run experience form the first time that you visit the License Manager console, the service-linked role is automatically created for you.
To get started creating the service-linked role, we will follow the instructions below:
Optional: Click on View details to view required permissions.
NOTE: It will take a few minutes after the Cloudformation stack is created before the instances and inventory is visible. The Windows instance takes longer to become visible
To verify inventory is working as expected, we will follow the instructions below:
We will use AWS Systems Manager to create AMIs of our instances which will be used for license configurations in AWS License Manager. In order to simplify this lab, we are using AWS license included AMIs for Windows Server 2016 with SQL Server 2016 Standard. In practical implementations, we may consider either importing an on premises VM with Windows Server & SQL Server or installing SQL Server on a Windows AMI with the purpose of using our existing purchased licenses.
In order to associate an AMI with a license configuration, it has to exist in your account. We are going to create AMI’s from public AWS Marketplace versions of our product.
To get setup inventory with AWS Systems Manager Inventory, we will follow the instructions below: