Technology - Storage Services Flashcards
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
- Security can be set at a bucket or object level.
- S3 access logs help to track access.
- Versioning available.
- A regional service but names must be unique globally.
- Highly durable (11 9’s) and available (4 9’s) data.
S3 Storage Class: S3 Standard
Recommended for: frequently accessed data
- data stored across multiple AZs
- low latency and high throughput
S3 Storage Class: S3 Intelligent-Tiering
Recommended for: data with unknown or changing patterns
- data stored across multiple AZs
- automatically moves data to the most cost-effective storage class
S3 Storage Class: S3 Standard - Infrequent Access (IA)
Recommended for: long-lived data that is infrequently accessed
- data stored across multiple AZs
- data accessed less frequently but requires rapid access
S3 Storage Class: S3 One Zone - Infrequent Access (IA)
Recommended for: re-creatable data with infrequent access
- like Standard-IA but data stored in a SINLGE AZ
S3 Storage Class: S3 Glacier
Recommended for: long-term backups
- data stored across multiple AZs
- long-term data storage and archival with retrieval being 1-5min, 3-5h or 5-12h
S3 Storage Class: S3 Glacier Deep Archive
Recommended for: long-term data archival (reg compliance)
- data stored across multiple AZs
- like Glacier but longer access times: 12h or 48h
S3 Storage Class: S3 Outpost
Recommended for: data that needs to be kept local
- data stored on premises
- data stored across multiple devices and servers
S3 Use Cases
- Static websites
- Data archive
- Analytics systems
- Mobile applications
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