Volume of Elastic Block Store (EBS).
EBS is a block-level storage that can be used with EC2 instances.
EBS volumes are off-instance network-attached storage that lasts independent of the running life a single EC2 instance.
EBS volume can be attached to an instance. It can be used as a hard drive by formatting it with the appropriate file system and using the file I/O interface provided in the instance operating system.
EBS volume can be used for booting an EC2 instance (EBS root AMIs only), and multiple EBS Volumes can be attached to a single EC2 instances.
EBS volume can only be attached to a single EC2 instance at any time
EBS Multi-Attach volume may be attached to multiple instances of EC2
EBS allows you to take point-in time snapshots that are stored in S3. These snapshots can be used for instantiating new EC2 volumes or to protect data for long-term durability.
EBS snapshots can also be copied across AWS regions, making it easier for multiple AWS regions to be used for geographic expansion, data center migration, disaster recovery, and other ideal usage patterns
EBS is for data that changes frequently and requires long-term persistence.
EBS volume provides access to block-level storage. It is especially well-suited to be used as primary storage for a file system or database.
EBS Provisioned EOPS volumes are especially well-suited to use with databases applications that require a high, consistent rate of random disk writes and readsAnti-Patterns
Temporary StorageEBS volume is independent of attached EC2 life cycles.
Temporary storage like queues, buffers and caches is best to use local instance stores volumes, SQS or Elastic Cache.
Highly durable storageEBS volumes that have less than 20 GB modified data since the last snapshot are designed to be between 99.5%-99.9% annual durability. Volumes with more modified data can expect to have a proportionately lower durability.
Glacier or S3 are highly durable storage options. They provide 99.999999999% year durability per object.
Web content or static data?EBS with EC2 is required to serve static web content that is not frequently updated.
S3 could be a cost-effective and scalable option for storing this fixed data. It is served directly from S3.EBS Performance
EBS offers two types of volume: Provisioned IOPS volumes and standard volumes. These volumes have different performance characteristics and pricing models, which allows you to tailor storage performance and cost to your applications.
EBS Volumes can be attached and striped across multiple similarly-provisioned EBS volumes using RAID 0 or logical volume manager software, thus aggregating available IOPs, total volume throughput, and total volume size.
Standard volumes are cost-effective storage options for applications that have moderate or high I/O requirements. Standard volumes can also be used as boot volumes. The burst capability allows for quick instance start-up times.
Provisioned IOPS volumes deliver predictable, high-performance performance for I/O-intensive workloads like databases. Provisioned IOPS allows you to specify an IOPS rate while creating a volume and then EBS provisions that rate over the lifetime of the volume.
EBS volumes are network-attached devices and other network I/O performed in an instance can impact individual EBS volume performance.
EBS optimized instances can also be launched that provide dedicated throughput between EC2 & EBS. This allows instances to fully use the Provisioned EBS IOPS.
EBS Standard or Provisioned IOPS can be set up for each EBS volume. You could also stripe the data.EBS Durability & Availability
EBS volumes are highly reliable and available.
EBS volume data is replicated
Volume of Elastic Block Store (EBS).