DVA-C03

Introduction to Amazon EBS and Amazon EFS

Block storage for EC2 instances and shared file storage for many clients.

  • 2 lessons
  • Module quiz

AWS offers three kinds of storage, and choosing between them depends on how data is accessed. Object storage, provided by Amazon S3, stores whole files accessed over HTTPS. Block storage acts as a disk attached to a single server, on which the operating system creates a file system. File storage is a shared file system that many servers mount at the same time over the network.

Amazon Elastic Block Store (Amazon EBS) provides block storage volumes, which work like virtual hard drives for EC2 instances. A volume lives in one Availability Zone and is usually attached to one instance at a time, and it is charged per gigabyte provisioned. Amazon Elastic File System (Amazon EFS) is a managed network file system using the NFS protocol that thousands of EC2 instances, containers and Lambda functions can mount at once. It stores data across several Availability Zones in a Region and is charged per gigabyte actually stored.

Where EBS and EFS fit

On the exam, the choice usually follows from the access pattern: a single instance's boot volume or database disk points to EBS, files shared between many instances or functions point to EFS, and files accessed over HTTPS by many clients point to S3.

How this module is organised

Choosing and Protecting Block Storage with Amazon EBS explains volume types, snapshots and encryption. Sharing File Storage Across Instances, Containers and Functions with EFS explains shared file systems, their performance and storage classes, and how Lambda functions and containers mount them.

  1. Choosing and Protecting Block Storage with Amazon EBS Lesson 1
  2. Sharing File Storage Across Instances, Containers and Functions with EFS Lesson 2
  3. Practise and review
  4. Test your knowledge 4 questions