Repository scan
Repository
branch main
High 2
High Old Generation Instance
Usage of old generation EC2 instances (e.g., t2, m3, c4, r3). Newer generations are often cheaper and faster.
How to fix
Upgrade to current generation instances (e.g., t3, m5, c5, r5).
Where
- main.tf:67
High Missing AWS Budget
No AWS budget configured. Budgets help monitor and control spending with alerts.
How to fix
Create AWS budgets with alerts for forecasted and actual costs to avoid unexpected charges.
Where
- main.tf:1
Medium 14
Medium Ensure that only encrypted EBS volumes are attached to EC2 instances
Ensure that only encrypted EBS volumes are attached to EC2 instances
Where
- ../../main.tf:47
Medium Ensure an IAM role is attached to EC2 instance
Medium Ensure that detailed monitoring is enabled for EC2 instances
Medium Ensure that EC2 is EBS optimized
Medium Ensure EBS Volume is encrypted by KMS using a customer managed Key (CMK)
Ensure EBS Volume is encrypted by KMS using a customer managed Key (CMK)
Where
- ../../main.tf:47
Medium Ensure every security group and rule has a description
Medium Ensure no security groups allow ingress from 0.0.0.0:0 to port 22
Ensure no security groups allow ingress from 0.0.0.0:0 to port 22
Where
- ../../main.tf:16
Medium Ensure no security groups allow ingress from 0.0.0.0:0 to port 80
Ensure no security groups allow ingress from 0.0.0.0:0 to port 80
Where
- ../../main.tf:16
Medium Ensure all data stored in the EBS is securely encrypted
Medium Ensure no security groups allow egress from 0.0.0.0:0 to port -1
Ensure no security groups allow egress from 0.0.0.0:0 to port -1
Where
- ../../main.tf:16
Medium Ensure Instance Metadata Service Version 1 is not enabled
Medium Ensure all data stored in the Launch configuration or instance Elastic Blocks Store is securely encrypted
Ensure all data stored in the Launch configuration or instance Elastic Blocks Store is securely encrypted
Where
- ../../main.tf:65
Medium Missing Spot Instance Usage
No spot instances detected. Spot instances can save 50-90% on compute costs for interruptible workloads.
How to fix
Use spot instances for batch jobs, data analysis, and optional tasks. Consider aws_spot_instance_request or spot_price in launch templates.
Where
- main.tf:43
Medium Missing Cost and Usage Report
No AWS Cost and Usage Report (CUR) configured. CUR provides detailed cost tracking and analysis.
How to fix
Enable AWS Cost and Usage Reports to track spending patterns and identify optimization opportunities.
Where
- main.tf:1
Low 1
Low Elastic IP Usage
Elastic IPs are charged if not attached to a running instance or if you have more than one per instance.
How to fix
Release unattached Elastic IPs.
Where
- main.tf:42
Grades use InfraScan Cloud's current formula, so they can differ from the ones first shown for this scan. Findings reflect the repository; it may have changed since.
Scan your own repository
InfraScan Cloud scans your repositories and AWS accounts, keeps the history and shows how to fix each finding.