Skip to content
Learn Netverks

Lesson

Step 13/36 36% through track

ec2-storage-ebs

EC2 storage and EBS

Last reviewed May 28, 2026 Content v20260528
Track mode
none
Means
Read / quiz
Reading
~2 min
Level
beginner

This lesson

This lesson teaches EC2 storage and EBS: AWS concepts, console/CLI practice patterns, and how the service fits in a typical cloud architecture.

Compute choice drives cost, scaling, and ops burden—wrong tier wastes money or causes outages.

You will apply EC2 storage and EBS in contexts like: Production hosting, data pipelines, and corporate cloud landing zones.

Read the lesson, reproduce steps in your AWS Free Tier or sandbox (console and optional AWS CLI), diagram the architecture in notes, and complete MCQs—no in-browser cloud lab.

When you can explain the previous lesson's ideas in your own words.

Amazon EBS (Elastic Block Store) provides persistent block volumes attached to EC2 instances—like a virtual hard drive. Instance store volumes are ephemeral; EBS survives stop/start (not terminate unless delete on termination is set).

Volume types (awareness)

  • gp3/gp2 — general-purpose SSD (default root volumes)
  • io1/io2 — high IOPS for databases
  • st1/sc1 — throughput HDD for big sequential workloads

Snapshots

EBS snapshots are incremental backups stored in S3 (managed by AWS). Use them before risky changes or for AMI creation.

List volumes

aws ec2 describe-volumes \
  --query 'Volumes[].{Id:VolumeId,Size:Size,State:State,AZ:AvailabilityZone}' \
  --output table

Practice: Launch resources in the EC2 Console or CLI only in a sandbox account. Use t2.micro or t3.micro where free tier applies; terminate when done.

Cost tip

Detached EBS volumes still bill storage. Delete volumes and snapshots you no longer need. Root volume size above free tier limits charges monthly.

Important interview questions and answers

  1. Q: EBS vs instance store?
    A: EBS is persistent network block storage; instance store is local ephemeral disks lost on stop/terminate.
  2. Q: What is an EBS snapshot?
    A: Point-in-time backup of a volume used for restore or creating new volumes/AMIs.

Self-check

  1. Name two EBS volume families and their typical use.
  2. Why delete unattached EBS volumes in a sandbox?

Pitfall: Forgotten detached EBS volumes still bill monthly—audit with describe-volumes.

Interview prep

EBS vs instance store?

EBS persists across stop/start; instance store is ephemeral local disk.

Snapshot?

Incremental backup of EBS volume used for restore or AMI creation.

Interview tip Lesson completion confidence

Can you explain this lesson in 30 seconds without reading notes?

Not saved yet.

Check yourself

Multiple choice — immediate feedback.

Discussion

Past discussion is visible to everyone. Only logged-in users can post comments and replies.

Starter discussion topics

  • EBS vs instance store?
  • Snapshot billing?

Sign up or log in to post comments and sync lesson progress across devices.

No discussion yet. Be the first to ask a question.

Jump