Saturday, February 8, 2020

AWS Simple Storage Service (S3)

AWS Simple Storage Service (S3)

-object based.
-files can be upload from 0 bytes to 5tb.
-there is a unlimited storage.
-files are stored in buckets.
-s3 is a universal namespace(means names must be uniquely globally)
-when you upload a file to s3, you will recieve a HTTP 200 code only if the upload was successful.

Data consistency model for S3 ?

-Read after write consistency for PUTS of new objects.
-Eventual consistency for overwrite PUTS and DELETE (can take sometime to propogate)

S3 is a object base, objects are consist of the following:

-key (simple name of a object)
-value (data and it is made up of a sequence of bytes)
-version (important for versioning)
-metadata (data about data)
-sub-resources

Advantages of S3 ?

-99.99% availability
-durability (11 x 9's)
-tiered storage
-lifecycle management.
-versioning
-encryption
-secure data using access control lists and bucket policies

Note:
versioning can't be disable after the bucket creation.

Storage classes in S3 ?

-S3 standard (bydefault)
It provides 99.99% availability & 99.999999999% durability, fault tolerance will provided by 2 or more depends on AZ's.

Bydefault if you upload a object with default values it will be stored in S3 standard class.

-S3 infrequent access (IA)
99.99% availability & 99.999999999% durability data which is accessed less frequently, but you will be charged a retrieval fee. Fault tolerance will provided by 2 or more depends on AZ's.

-Reduced redundancy storage (RRS)
availability 99.99% and 99.99% durability, fault tolerance 1

-Glacier
Very cheap but used for archival only it takes 3-5 hours to restore from glacier. (low fee $0.01gb per month)

S3 charges ?

charged for:

-storage
-request
-data-transfer pricing




No comments:

Post a Comment