Skip to content

EC2 EBS is not optimized

Description

Ensuring that EC2 instances are EBS-optimized will help to deliver enhanced performance for EBS workloads. They provide dedicated throughput to Amazon Elastic Block Store (EBS) volumes, which can result in improved EBS performance. Additionally, EBS-optimized instances use a separate network connection for EBS traffic, which can reduce network latency and improve the performance of EBS-intensive workloads.

Code Example

go
resource "aws_instance" "foo" {
  ...
+ ebs_optimized = true
}

Remediation

Terraform

  • Resource: aws_instance
  • Arguments: ebs_optimized

Rule Details

FieldValue
IDIAC-0185
SeverityLOW
IaC TypeAnsible
FrameworksTerraform, TerraformPlan, Ansible
Checkov IDCKV_AWS_135

References