Object Storage and CDN Flashcards
(44 cards)
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 in N. Virginia:
http: //bucket.s3.amazonaws.com
http: //s3.amazonaws.com/bucket
S3 bucket naming in other regions:
http: //bucket.s3-aws-region.amazonaws.com
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)
Reduced Redundancy Storage (easily reproducible data)
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
Lifecycle Management
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
Edge Location
location where content will be cached. separate from an AZ/Region
Origin
origin of all files that the CDN will distribute. can either be an S3 bucket, EC2 instance, an ELB, or Route53
Distribution
name given to the CDN which consists of a collection of edge locations
Distribution types
Web Distribution (websites), RTMP (media streaming)
Are edge locations read only?
No, you can write to them too