4.2 EC2 Introduction II

AWS Elastic Block Storage (EBS)

Amazon EBS is block-based storage. It allows you to create storage volumes and attach them to EC2 instances. EBS can be seen as the disk of EC2 instance. Once attached, you can create a file system on top of these volumes, run a database, or use them in any other way you would use a block device. Amazon EBS volumes are placed in a specific Availability Zone, where they are automatically replicated in same AZ to protect you from the failure of a single component.

EBS Volume Types

1.SSD - General Purpose (GP2) - Bootable

  • General purpose, balances both price and performance.

  • Ratio of 3 IOPS per GB with up to 10,000 IOPS and the ability to burst up to 3000 IOPS for extended periods of time for volumes at 3334 GB and above.

  • Min size 1 GiB, Max size 16 TiB.

2.SSD - Provisioned IOPS (IO1) - Bootable

  • Designed for I/O intensive applications such as large Relational or NoSQL databases.

  • Use if you need more than 10,000 IOPS.

  • Can provision up to 20,000 IOPS per volume.

  • Min size 4 GiB, Max size 16 TiB.

3.HDD - Throughput Optimized (ST1)

  • Suitable for the storage of the data will be written in sequence. For example: Big data, Data warehouses, Log processing.

  • Store frequently accessed workloads.

  • Cannot be a boot volume.

  • Max throughput per volume: 500 MiB/s.

  • Min size 500 GiB, Max size 16 TiB.

4.1.HDD - Cold (SC1)

  • Lowest Cost Storage for infrequently accessed workloads.

  • File Server.

  • Cannot be a boot volume.

  • Min size 500 GiB, Max size 16 TiB.

4.2.HDD - Magnetic (Standard) - Bootable

  • This is the lowest cost per GB bootable EBS volume type.

  • Magnetic volumes are ideal for workloads where data is accessed infrequently, and applications where the lowest storage cost is important.

Exam Tips EBS

  • Remember the 5 types of the EBS volume.

  • You cannot mount 1 EBS volume to multiple EC2 instances, just like you cannot install 1 disk on multiple laptops. If you do need shared storage, you can use EFS (Elastic File System).

Terms

  • KB - 1000 bytes

  • KiB - 1024 bytes

Last updated

Was this helpful?