---
title: "EC2 EBS is not optimized"
canonical: "https://kb.cynergy.app/space/MD/1208418306/EC2%20EBS%20is%20not%20optimized"
format: markdown
---
# Description

Optimizing EC2 instances for EBS ensures dedicated throughput for EBS volumes, boosting their performance. This setup uses a distinct network connection for EBS traffic, which can lower latency and improve performance, especially for workloads heavily reliant on EBS.

# Fix - Build time

## Terraform

- **Resource:** aws_instance
- **Argument:** ebs_optimized

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