awslabs / aws-config-rules

[Node, Python, Java] Repository of sample Custom Rules for AWS Config.
http://aws.amazon.com/config/
Creative Commons Zero v1.0 Universal
1.58k stars 851 forks source link

Add config rule for checking on-demand EC2 license running on dedicat… #420

Open jonamadi opened 4 months ago

jonamadi commented 4 months ago

…ed host

I confirm these files are made available under CC0 1.0 Universal (https://creativecommons.org/publicdomain/zero/1.0/legalcode)

Issue #, if available:

Description of changes:

Adds Python AWS Config rule which checks if an EC2 instance running on Dedicated Hosts is not running as BYOL. This helps customers detect potential misconfiguration issues where they may be double-paying OS licenses (e.g. they are running a Windows License-Included AMI on Dedicated Hosts and mistakenly assuming their Enterprise license is covering it, or have a valid BYOL license but did not convert the license using AWS License Manager when moving to a dedicated host).