Basis | ⭐ S3 | ⭐ Amazon EBS | EFS |
---|---|---|---|
Storage | Object Storage (can be mounted using s3fs plugin or accessed over HTTP) | Block Storage, attached to an EC2 instances | File storage type (NFS interface) |
IO Speed | Relatively slower than EBS or EFS | Relatively faster than S3 and EFS. - But EC2 Instance Store has highest I/O performance. |
Faster than S3 |
💰 Pricing mode | OnDemand (Pay as you go) | Provisioned | OnDemand (Pay as you go) |
💰 Pricing | $0.023/GB-Month | $0.10/GB-month | $0.30/GB-Month |
Use Cases | Static Web Content, Media Data ( like image, video, documents ) | Volume for EC2 instances in same AZ | Since it handles concurrent read/write, hence it can be used as Shared Volume b/w EC2 instances |
Durability | 99.999999999% durability in at least 3 AZs in S3 Region | 99.999% durability in multiple AZs | 99.999999999% durability in at least 3 AZs in S3 Region |
Availability | 99.99% availability in at least 3 AZs in S3 Region | 99.9% availability in multiple AZs | 99.9% availability in multiple AZs |
Storage Size | No limit | No Limit | No limit |
File Size Limitation | Max Object Size of 5TB (Max Object Size of 5GB through PUT API) | Max File Size of 48TB | No limit |