Check ID:
Provider: AWS
Service:
Severity: MEDIUM
Categories:
Resource type:
ec2_instance_with_outdated_amiProvider: AWS
Service:
ec2Severity: MEDIUM
Categories:
vulnerabilitiesResource type:
AwsEc2InstanceWhat this check verifies
EC2 instances launched from Amazon-owned AMIs are evaluated for the AMI’sDeprecationTime; instances tied to images with a deprecation date in the past are reported as using deprecated AMIs.
Risk
Running on a deprecated AMI undermines security and availability:- Missing patches enable exploitation of known CVEs (confidentiality/integrity)
- Unsupported components hinder hardening and forensics
- AMI removal from catalogs complicates scale-out and recovery (availability)
Recommendation
Adopt non-deprecated, maintained AMIs and perform rolling replacements of affected instances. Standardize on hardened golden images with regular AMI rotation andDeprecationTime monitoring. Update launch templates/ASGs to reference current images. Automate patching via an image pipeline and apply defense in depth.
Remediation
- Terraform
- Native IaC
- Dashboard steps
References
- https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-deprecate.html
- https://repost.aws/knowledge-center/ec2-find-deprecated-ami
Where this check fires
This check runs on every scheduled scan against your AWS account. Findings appear at Cloud Security → Findings filterable byCheck ID = ec2_instance_with_outdated_ami. To re-evaluate after a fix, hit Run now on the account’s schedule under Cloud Security → Schedules — the next scan re-checks this control and marks the finding fixed or keeps it persistent.
← Back to AWS checks