Understand Simple Storage Service S3 and types in AWS

Simple Storage Service(s3) in AWS cloud

Amazon Simple Storage Service(S3) is a storage designed to use from web. It is easy to use with simple web service interface to store and retrieve any amount of data from anywhere on the Web. S3 object can be accessed with HTTP protocol from anywhere as long as you have permission.

Terms:
–S3 is web based storage so it has own its security for web based storage.
–It is OBJECT-BASED Storage.
–Each Amazon S3 object has data, a key & metadata.
–Each object can contain up-to o bytes to 5 TB of data.
–Uniquely identified with in a bucket by a key(name) and a version ID.
–There is unlimited Storage.
–Data is spread over multiple devices or facilities.
–HTTP-200 status code if uploads successfully.

Bucket
–Used to store objects which consist of data and metadata
–The bucket can be configured and created in any specific region.
–When an object is added to the bucket, Amazon S3 generate a unique version ID & assign to the object.
–By Default, only 100 buckets can be created in each AWS Accounts.

Example:
You have a bucket BUCKET1 and object in it photos as folder and Singapore.jpg is an image object then you can access it with help of URL from outside the world directly as : (HTTP://BUCKET1.S3.AMAZONAWS.COM/PHOTOS/SINGAPORE.JPG)

It is used like application has images, videos and any file then application pick things from S3 storage.

Access Control Line Permission in S3
Bucket permission specifies who is allowed the access to the objects in a bucket and what particular permission have been granted.
Everyone : for every user grant anonymous access
Log Delivery : Grant access to bucket when bucket is used to store server logs
Me : Refer to AWS root account , Not to an IAM user
Authenticated Users : For anyone with AWS account can perform the appropriate action
Note: Permission at bucket level and User level

Type of S3 Storage Classes
Standard: Durability is great & 99.99% availability
Standard-Infrequent Access : it has lower availability 99.90%
Glacier: It take long time to retrieval time for data.
Reduced Redundancy Storage(RRS): It store non-critical, reproducible data at lower levels of redundancy than S3 Standard Storage

Types of Storage classes in S3:

1. S3 Standard
99.99% availability.
99.999999999% durability.
Stored redundantly across multiple devices in multiple facilities.
Is designed to sustain the loss of 2 facilities concurrently.

2. S3 – IA(Infrequently Accessed)
For data that is accessed less frequently but requires rapid access when needed.
Lower fee that S3 standard, but you also charged a retrieval fee.

3. S3 one zone – IA (Reduced Redundancy Storage(RRS))
lower cost option for infrequently accessed data.
If not require the multiple availability zone for data resilience.
It is stored on one availability zone
Exam tip: It is Reduced Redundancy Storage(RRS) it is one zone S3 -IA

4. S3 – Intelligent Tiering
Designed to optimize costs by automatically moving data to the most cost effective access tier without performance impact or operational overhead.

Glacier has further two types:

5. S3 Glacier
It is used for archiving data, secure, durable, low cost storage class for data archiving. Retrieval time depends upon mins to hours.

6. S3 Glacier Deep Archive
Is lowest cost storage class where retrieval time is upto 12 hours.

Bucket Policy:
It allows users to authorize policies which either grant or deny access to any number of accounts and across a range or set of keys.
JSON Script is used to define a policy.

Cross-Region Replication
It automatically copying data from one region to other region. It is a bucket level features that copy asynchronous copying of object across bucket from one region to other.
It provide region failure like flood or earthquake failed region, then it help to overcome with region failure and make your data more protective.

Versioning
Version is keeping data multiple variants of objects in the same bucket. It help to recover objects which is accidental deleted or overwrite.
Every version of every object is stored in Amazon S3 bucket as RESERVED , RETRIEVED & RESTORED.
By Default Versioning Feature is disabled.

Example
If Version feature is enabled then it come to cost and it help to protect the data which accidentally deleted by user.
It maintained the Version of object when object is updated or deleted then we restore that object by replacing older version.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.