InfraScan Cloud

Repository scan

Repository

branch main

DOverall
DSecurity
–Reliability · N/A
CCost
17findings · 0 critical, 2 high
—no cost findings with a savings estimate

High 2

High Old Generation Instance Cost · 1 place

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 Cost · 1 place

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 Security · 1 place

Ensure that only encrypted EBS volumes are attached to EC2 instances

Documentation

Where

  • ../../main.tf:47
Medium Ensure an IAM role is attached to EC2 instance Security · 1 place

Ensure an IAM role is attached to EC2 instance

Documentation

Where

  • ../../main.tf:65
Medium Ensure that detailed monitoring is enabled for EC2 instances Security · 1 place

Ensure that detailed monitoring is enabled for EC2 instances

Documentation

Where

  • ../../main.tf:65
Medium Ensure that EC2 is EBS optimized Security · 1 place

Ensure that EC2 is EBS optimized

Documentation

Where

  • ../../main.tf:65
Medium Ensure EBS Volume is encrypted by KMS using a customer managed Key (CMK) Security · 1 place

Ensure EBS Volume is encrypted by KMS using a customer managed Key (CMK)

Documentation

Where

  • ../../main.tf:47
Medium Ensure every security group and rule has a description Security · 1 place

Ensure every security group and rule has a description

Documentation

Where

  • ../../main.tf:16
Medium Ensure no security groups allow ingress from 0.0.0.0:0 to port 22 Security · 1 place

Ensure no security groups allow ingress from 0.0.0.0:0 to port 22

Documentation

Where

  • ../../main.tf:16
Medium Ensure no security groups allow ingress from 0.0.0.0:0 to port 80 Security · 1 place

Ensure no security groups allow ingress from 0.0.0.0:0 to port 80

Documentation

Where

  • ../../main.tf:16
Medium Ensure all data stored in the EBS is securely encrypted Security · 1 place

Ensure all data stored in the EBS is securely encrypted

Documentation

Where

  • ../../main.tf:47
Medium Ensure no security groups allow egress from 0.0.0.0:0 to port -1 Security · 1 place

Ensure no security groups allow egress from 0.0.0.0:0 to port -1

Documentation

Where

  • ../../main.tf:16
Medium Ensure Instance Metadata Service Version 1 is not enabled Security · 1 place

Ensure Instance Metadata Service Version 1 is not enabled

Documentation

Where

  • ../../main.tf:65
Medium Ensure all data stored in the Launch configuration or instance Elastic Blocks Store is securely encrypted Security · 1 place

Ensure all data stored in the Launch configuration or instance Elastic Blocks Store is securely encrypted

Documentation

Where

  • ../../main.tf:65
Medium Missing Spot Instance Usage Cost · 1 place

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 Cost · 1 place

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 Cost · 1 place

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.