Object Storage and CDN Flashcards
What type of storage is S3?
Object based i.e. allows you to upload files. Not suitable to install an OS on.
File size range
0 bytes to 5 TB
How much storage in S3?
Unlimited
Files are stored in
Buckets
When you register a bucket
S3 is a universal namespace, so names must be unique globally
S3 bucket naming:
http://s3-aws-region.amazonaws.com/bucket
Consistency for PUTS of new objects
Read After Write
Consistency for overwrite PUTS and DELETES
Eventual
S3 Storage Classes/Tiers
S3 Standard (immediately available, frequently accessed data)
S3 – Infrequently Accessed (immediately available, infrequently accessed data)
S3 One Zone - Infrequently Accessed (lower cost for IA, but multiple AZ is not required)
Glacier (archival, extremely cheap)
Core fundamentals of S3
Key (name) Value (data) Version ID Metadata Subresources (ACLs)
Versioning
Stores all versions of an object (including all writes and even if you delete an object), great backup tool
Versioning costs
Pay for each version, since storage accumulates
Once versioning is enabled
it cannot be disabled, only suspended. Only way to disable versioning is to delete and recreate the bucket
Does versioning integrate with Lifecycle Rules?
Yes
Does versioning have MFA Delete?
Yes, it provides an additional layer of security
Cross Region Replication requirements:
versioning enabled on both source and destination bucket. only new files automatically replicated as well as all versions. permissions also replicated. if you restore object or delete individual versions, not replicated, chaining not allowed
Can Lifecycle Management be used with versioning?
Can be used with versioning, but not required. Can be applied to current and previous versions.
Lifecycle Management Actions
Transition to Standard - IA (128 kb and 30 days after creation date)
Archive to Glacier (30 days after IA, if relevant. 60 days after creation date, or you can move to Glacier day after object uploaded to S3)
Permanently Delete
What is a Edge Location?
location where content will be cached. separate from an AZ/Region
What is a Origin in relation to CDN?
origin of all files that the CDN will distribute. can either be an S3 bucket, EC2 instance, an ELB, or Route53
What is a Distribution?
name given to the CDN which consists of a collection of edge locations
What are the Distribution types?
Web Distribution (websites), RTMP (media streaming)
Are edge locations read only?
No, you can write to them too
How long are objects cached?
TTL