Skip to main content

EC2 Volume

Amazon Elastic Block Store (EBS) provides block-level storage volumes for use with Amazon EC2 instances. These durable and high-performance volumes are designed to provide persistent storage which can be used for file systems, databases, and other applications. Detailed information, including best practices and configuration guidance, can be found in the official AWS documentation.

Terraform Mappings:

  • aws_ebs_volume.id

Supported Methods​

  • GET: Get a volume by ID
  • LIST: List all volumes
  • SEARCH: Search volumes by ARN

ec2-instance​

EC2 Volume is directly related to EC2 Instances as EBS volumes are attached to instances to provide storage. This allows the instance to access the data stored within the volumes. An EBS volume can be attached to one instance at a time, but you can detach it from one instance and attach it to another.