Table of contents
Simple Storage Service which is called S3 is one of the core services of AWS cloud, and it is popular in this technological world because of the wide variety of functionality or simple terms use cases S3 provides. The main use case of S3 is that you can store an unlimited amount of data and information in AWS S3. AWS S3 has a huge set of use cases and you can use it for various purposes such as Data Storage, Data Backup, Log Storage, and Application hosting or you can even host a static website using S3 service also S3 is highly available, highly scalable, and fully secured. Each AWS account can only have 100 buckets at one time. There are various companies that use AWS S3 bucket including top companies like Netflix, Spotify, Reddit, Airbnb, and Pinterest.
Buckets and Objects in Amazon S3
Moving towards objects and Buckets, to store your files and data in S3, first, you should create a S3 bucket in the AWS S3 service
Bucket: In simple terms, you can consider a bucket a Directory, and Inside that you can store your files in the form of Objects, it means that the first thing you create is a Bucket in AWS S3, and inside that bucket, you store your objects. While creating of S3 bucket, the name of the S3 bucket should be unique all over the regions across all accounts in AWS, (if someone created an S3 bucket with the name "testBucket" in his account whether he can be any region of AWS, and after that, you can’t create a bucket with same name "testBucket", because it is already taken by someone else). so, it is required while creating an an S3 bucket, you have to give a unique name to it.
Though S3 comes under the global service of AWS, but buckets that we create are created in a particular region only and the data and information stored inside it in only stored in that particular region where your bucket is created.
Object: When you upload any type of file inside the bucket, it is called an Object in AWS s3. Every object in the S3 bucket has a key. The key is like an address of the object, which uniquely identifies the object in an AWS S3 (e.g: Suppose you upload test-file.txt in a testBucket, so the key of the test-file.txt object will look like this s3://testBucket/test-file.txt).
You can store an unlimited amount of data in AWS S3 but, the maximum object size in S3 is 5TB, which means you can’t upload an object(file) whose size is greater than 5 TB. If you are uploading an object(file) greater than 5 GB, then you need to use "multi-part upload" to upload that object(file) in AWS S3 Bucket.
It is impossible to explain AWS S3 in a single blog which is why we decided to bring AWS S3 in a series of blogs in parts, to explain to you in more detail and in a simple way. We hope this will help you boost your journey to the AWS cloud.