Amazon Elastic Block Store
Storage · Learn this early
The hard disk attached to your EC2 server.
Picture it as
The hard drive inside a computer, except you can unplug it and attach it to another computer.
What it actually does
EBS is a disk volume for one EC2 instance. It survives when the instance stops. You can take snapshots for backup. Type gp3 is the sensible default.
Reach for it when
- Any EC2 server needs a disk
- Databases running on EC2
Do not reach for it when
- Sharing one disk across many servers. Use EFS.
- Storing files for a website. Use S3.
One small example
A 100 GB disk holding the application and its data.
How you pay
Per GB per month, whether or not you use the space. Snapshots cost extra.
Usually sits next to
The real source
This is a simplified summary written for people learning AWS. The official AWS documentation is the authoritative word and it wins wherever this page disagrees with it.