Amazon EC2 instance must have an associated tag

Tags are key-value pairs that you attach to AWS resources to better organize them. They are particularly useful when you have many resources of the same type. By using tags, customers with multiple Amazon EC2 instances can easily access and analyze a specific set by filtering on those that contain the same tag.

Risk Level: Low
Cloud Entity: Amazon EC2 Instance
CloudGuard Rule ID: D9.CFT.OPE.01
Covered by Spectral: Yes
Category: Compute

GSL LOGIC

AWS_EC2_Instance should have Tags

REMEDIATION

From CFT
Set AWS::EC2::Instance Tags property to be have key-value pairs

References

  1. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html

Amazon EC2 Instance

Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides secure, resizable compute capacity in the cloud. It is designed to make web-scale cloud computing easier for developers.

Compliance Frameworks

  • AWS CloudFormation ruleset