S3 is relatively different from normal storage. It is an object storage.
What is an Object storage ?
Object storage is a data storage architecture for large stores of unstructured data. It designates each piece of data as an object, keeps it in a separate storehouse, and bundles it with metadata and a unique identifier for easy access and retrieval.
S3 is an unstructured data that eliminates the problem scaling of limitless storage.
what is bucket ?
A bucket is a container for objects. An object is a file and any metadata that describes that file.
Bucket can be consider as folder and the object can be considered as file that you upload
Things to keep in mind while working with S3 :
If you want to modify a file on S3 then you need to modify that file on local and reupload it
Bucket name should be globally unique across the AWS
maximum size of a single object can be 5TB
by default you can create 100 buckets per account but you can increase it upto 1000 according to your need
AWS will keep your data in 3 AZ(Availability Zone) for security purpose.
For some reason if one of the AZ is down or crashed then you data is still secure in other two.
Types of S3 storage :
1. Amazon S3 Standard :
- If you frequently want to do I/O operations or on hourly basis then S3 standard is best option.
2. Amazon S3 Standard-Infrequent Access (Amazon S3 Standard-IA) :
- If you are access data less frequently like in a week or in a month then S3 standard infrequent is best.
3. Amazon S3 intelligent-Tiering :
At the time of storing the data you don't know how frequently you are going to access it then you can.
It will analyze the access pattern and then according that it will store the to S3 standard or on S3 standard-infrequent Access because it is costly to store data in S3 standard compare to S3 infrequent
4. Amazon S3 One Zone-Infrequent Access (Amazon S3 One Zone-IA) :
If you store data in a Region it will replicate your data in three availability zone in a region. but class won't store your data in 3 AZ's.
You can store non critical data in this.
5. Amazon S3 Glacier :
- If you want to access data in a month or a year then you can prefer this locations
6. Amazon S3 Glacier Deep Archive :
- If you want to store data for 7 to 10 years or more then that you can go with it
- it is the cheapest option in all the S3 classes
I will be posting more content regarding AWS and many more make sure to follow me.
Dev.to : https://dev.to/abhishekpakhare97
Github : https://github.com/AbhiPakhare
Twitter : https://twitter.com/abhi_pakhare_
Top comments (0)