- Every EC2 instance must have a root volume, which may or may not be EBS (Elastic Block Store).
- By default, an EBS root volume will be deleted when the instance is terminated. You can change the setting to make EBS volumes persistent.
- You can attach additional EBS volumes to instances, and they are not deleted when the instance is terminated.
Instance Store
Instance Store Volumes are fast volumes attached to EC2 instance directly – ephemeral storage.
- Persistent after OS rebooting or instance rebooting.
- Not persistent after stopped or terminated.
- Not persistent after the hardware failure.
Elastic Block Store (EBS)
- Elastic Block Store (EBS) is a network-attached storage service that creates and manages persistent volumes.
- Please refer to this post: EBS
Elastic File System (EFS)
- Elastic File System (EFS) is a fully managed scalable file storage option – Network File System (NFS). EFS can be accessed by one or more EC2 instances at the same time.
- Please refer to this post: EFS