S3
Simple Storage Service is a highly available object storage service offering high scalability, data availability, security, and performance.
Objects refer to files that are stored in buckets or directories. Essentially unlimited storage can hold millions of private or public objects per bucket.
S3 Features
S3 Storage Class: S3 Standard
Recommended for: frequently accessed data
S3 Storage Class: S3 Intelligent-Tiering
Recommended for: data with unknown or changing patterns
S3 Storage Class: S3 Standard - Infrequent Access (IA)
Recommended for: long-lived data that is infrequently accessed
S3 Storage Class: S3 One Zone - Infrequent Access (IA)
Recommended for: re-creatable data with infrequent access
S3 Storage Class: S3 Glacier
Recommended for: long-term backups
S3 Storage Class: S3 Glacier Deep Archive
Recommended for: long-term data archival (reg compliance)
S3 Storage Class: S3 Outpost
Recommended for: data that needs to be kept local
S3 Use Cases
EC2 Storage
Storage options available for EC2 instances. EC2 can use Elastic Block Store (EBS) volumes, instance storage volumes and Elastic File System (EFS).
EBS = persistent block-level storage; you can detach it and attach to others
Instance Store = temporary block-level storage; that data is terminated along with the instance
EFS = scalable file storage, like hard-drives installed on your instance and can be moved
EBS
Elastic Block Store - a storage device called a volume, that can be attached to (or removed from) your instance. Data will persist even when the EC2 is stopped.
Can only be attached to one instance and to one AZ.
Recommended for: quickly accessible data, running database on an instance, long-term storage.
Instance Store
A local storage that is physically attached to the computer and cannot be removed.
Storage is temporary, gone with the EC2 instance stop. Faster speed and latency.
Recommended for: temporary storage, data that’s replicated across instances.
EFS
Elastic File System. A serverless network file system for sharing files (like dropbox).
Can only be used by Linux. Accessible across the Region. More expensive than EBS.
Recommended for: main directories for business-critical apps, light and shift of existing enterprise apps
Storage Gateway
A hybrid storage service. It’s used to connect on-prem and loud data.
Recommended for: moving backups to cloud, reducing cost for hybrid cloud storage and low latency access to data
AWS Backup
Helps to manage data backups across multiple AWS services. Integrates with resources like EC2, EBS, EFS. You can decide the frequency of access and retention period.