Ensure that all your Amazon Machine Images (AMIs) are using suitable naming conventions for tagging in order to manage them more efficiently and adhere to AWS resource tagging best practices. A naming convention is a well-defined set of rules useful for choosing the name of an AWS resource. Cloud Conformity strongly recommends using the following pattern (default) for naming your AWS AMIs:
^ami-(ue1|uw1|uw2|ew1|ec1|an1|an2|as1|as2|se1)-(d|t|s|p)-([a-z0-9\-]+)$. In case you need to create your custom naming pattern, the default one can be easily replaced within the rule settings available on Cloud Conformity console.
This rule can help you with the following compliance standards:
This rule resolution is part of the Cloud Conformity Security & Compliance tool for AWS
Naming (tagging) your AWS AMIs logically and consistently has several advantages such as providing additional information about the image location and usage, promoting consistency within the selected environment, distinguishing fast similar resources from one another, avoiding naming collisions, improving clarity in cases of potential ambiguity and enhancing the aesthetic and professional appearance.
Default Pattern Format
Default Pattern Components
(ue1|uw1|uw2|ew1|ec1|an1|an2|as1|as2|se1)for us-east-1, us-west-1, us-west-2, eu-west-1, eu-central-1, ap-northeast-1, ap-northeast-2, ap-southeast-1, ap-southeast-2, sa-east-1.
(d|t|s|p)for development, test, staging, production.
([a-z0-9\-]+)for applications (e.g. apache-spark, tomcat) installed on the AMIs.
Default Pattern Examples
To verify the naming conventions used for tagging your Amazon Machine Images, perform the following:
Remediation / Resolution
To implement the appropriate naming convention for tagging your existing AWS AMIs based on the default pattern (i.e. ^ami-(ue1|uw1|uw2|ew1|ec1|an1|an2|as1|as2|se1)-(d|t|s|p)-([a-z0-9\\-]+)$), perform the following:
Unlock the Remediation Steps
Gain free unlimited access
to our full Knowledge Base
Over 750 rules & best practices
Get started for FREE
You are auditing:
AMI Naming Conventions
Risk level: Low