What is AWS Simple Storage Service- S3 and its Components..

What is AWS Simple Storage Service- S3 and its Components | Blog | Adroit Information Technology Academy (AITA)

What is AWS Simple Storage Service- S3 and its Components

Simple Storage Service, in short S3, is likely used for storage service that provide data store, data availability with huge upfront security.

Amazon S3 introduces new generation of data storage and used in various websites design, mobile applications, backup and restore, archive very old data, with enhanced use in IoT devices. 

S3 Working Function

S3 is said to be a storage, simply a bucket service that stores data which is called objects. Objects inside S3 may be a file of any kind, multi-media, audio, video or even text file.

What are the S3 Components?   

Buckets

The bucket is a container where objects are stored in Amazon S3. By default at a time any AWS account can have up to 100 buckets.

Lets have an   example, say an object called sample.jpg is stored in the bucket, called 

aita100-new-buckect inside us-east-1 Region, then the object will have a url from AWS in the following manner.

https://aita100-new-buckect.s3.us-east-1.amazonaws.com/sample.jpg

Must be careful when creating S3 bucket, name must be unique with no duplicity, will be allowed by AWS in the any region. In a simple word, one region bucket name must not match with the same in any other region. 

Objects

The data, which is uploaded or stored inside S3 bucket, is called an object.

Keys

The object key (or simply key name) is the unique identity for an object. Each object have one key.

S3 Versioning

Versioning of the object, enables maintaining the multiple versions of an object. Actually the versioning is used filter different versions of the same object.

Lets have a simple use case, say I upload an object  a1.mp4 at 10 AM  then after 10.20 AM, edit the a1.mp4 and upload again in the same bucket, then using the versioning property, we may have 2 different variants of a1.mp4. 

Each version have different id called Version ID, that means a1.mp4 in 10 AM have a Version ID, which is different from the Version id of a1.mp4, uploaded at 10.20 AM.

By default versioning is disabled, we have to enable it.

Bucket Policy

A bucket policy is user management service that is Identity and Access Management (IAM) policy for access permissions to bucket and the objects. Only the bucket owner impose a policy to the bucket. The bucket permissions will become applicable to all the objects inside the bucket. Bucket policies are limited size of 20 KB.

Bucket policies are written in JSON language. 

Bucket and Object Access Control List (ACL)

Access Control List (ACL) is used to grant read and write permissions to the user to access buckets and objects. 

We can create bucket ACL, to be public or to specify access. ACL can be used for read write permission separately to access the object.

Hence to access the object, we have to cross 2 levels of permissions, first one is bucket permission and the second one is objects self-permission.

Share:

Tags: S3 Versioning Bucket Policy Access Control List (ACL) AWS S3