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
| Field | Value |
|---|---|
| ID | IAC-0185 |
| Severity | LOW |
| IaC Type | Ansible |
| Frameworks | Terraform, TerraformPlan, Ansible |
| Checkov ID | CKV_AWS_135 |