S3 Flashcards
What is S3?
Simple Storage Service.
Provides development and IT teams with secure, durable, highly scalable object storage
Data is spread across multiple devices and facilities
- high recovery
- fast delivery
Size of files that can be uploaded to S3
0 bytes - 5 TB
Single PUT in S3 max size file
5GB
Multi-PUT in S3 max file size
5TB
Single PUT in console max file size
160GB
Storage limit for S3
unlimited
Naming conventions with S3
Uses a universal namespace so all names must be unique globally
Data consistency for S3
Read and write for PUTS of new objects
Eventual consistency for overwrite PUTS and DELETES (can take some time)
Transfer Acceleration for S3
Can enable by setting in the sub-resource of bucket (bucket specific config).
Note: need to have a DNS compliant name (cannot contain “.”) if want to enable Transfer Acceleration
Standard S3 Storage
Durability and Availability
Durability 99.999999999%
Availability
99.9%
Standard-IA S3 Storage Durability and Availability
Durability 99.999999999%
Availability
99.9%
OneZone-IA S3 Storage Durability and Availability
Durability 99.999999999%
Availability
99.5%
Glacier S3 Storage Durability and Availability
Durability 99.999999999%
Availability
99.9% after objects are restored
Reduced Redundancy Storage (RRS) S3 Storage Durability and Availability
Durability 99.99%
Availability
99.5%
When to use Standard-IA S3 Storage Class?
For data that is accessed less frequently but requires rapid access when needed.
Lower fee than S3 but…
Retrieval fee for all S3 IA Objects
When to use OneZone-IA Storage Class?
Don’t need resilient data
Cost is 20% less than regular S3-IA
When to use Glacier S3 Storage Class?
Want to archive data for a cheap deal.
Don’t need to access data immediately (3-5hr to restore)
When to use Reduced Redundancy Storage (RRS) S3 Storage Class?
NOT RECOMMENDED
Regular S3 is cheaper now
Used to store data that can be recreated if lost (ex. thumbnails)
What service can you use if you have unknown or unpredictable access patterns for S3 bucket?
Intelligent Tiering which auto moves data between
- Frequent
- Infrequent access
So you can save money
There is a small monitoring fee of $0.0025 per 1000 objects.
List the S3 charges
Storage per GB
Requests
Storage Management Pricing
- inventory, analytics, and object tags
Data Management Pricing
- data transferred out of S3
Transfer Acceleration
- use CloudFront to optimize transfers
Can you encrypt objects already in S3 bucket?
No, If objects are already in bucket when you set encryption those objects will not be encrypted.
What are the 3 types of At Rest encryption options for S3?
S3 managed keys (SSE-S3)
AWS Key management Service Managed Keys (SSE-KMS)
Server Side Encryption with Customer Provided Keys (SSE-C)
When to use SSE-S3 encryption
Want to each object in S3 to be encrypted with its own key.
256 bit encryption
When to use SSE-KMS encryption
AWS manages key for you
Get audit key
Option to use own key or default key