S3 – Creating bucket in AWS


It is an object based storing service,  designed to make web-scale computing easier for developers. The core concepts of Amazon S3 is based on buckets and objects, and how to work with these resources using the Amazon S3 application programming interface (API).

Terms used in S3:

  • Buckets: A bucket is a container for objects stored in Amazon S3. Every object is contained in a bucket.
  • Objects: Objects are the fundamental entities stored in Amazon S3. Objects consist of object data and metadata. 
  • Keys: A key is the unique identifier for an object within a bucket. Every object in a bucket has exactly one key. The combination of a bucket, key, and version ID uniquely identify each object.
  • Value: It is the amount of data or bytes.
  • Version ID: It defines multiple version of the same object.
  • Metadata: It is data about storing your data.
  • Sub-resources: It consists of access control lists and torrents.
  • Regions: The geographical AWS Region where Amazon S3 will store the buckets that you create.

Amazon S3 Features:

  • Storage classes: It offers Tiered storage for different uses cases, like S3 STANDARD, S3 STANDARD_IA, S3 INTELLIGENT TIERING and GLACIER etc.
  • Bucket policies: Bucket policies provide centralized access control to buckets and objects based on a variety of conditions, including Amazon S3 operations, requesters, resources, and aspects of the request.
  • Versioning: Versioning is used to keep multiple versions of an object in the same bucket.
  • Encryption: The objects are encrypted using server-side encryption with either Amazon S3-managed keys (SSE-S3) or AWS KMS-managed keys (SSE-KMS).
  • Lifecycle management: With lifecycle configuration rules, you can tell Amazon S3 to transition objects to less expensive storage classes, or archive or delete them.
  • MFA delete: If a bucket’s versioning configuration is MFA Delete–enabled, the bucket owner must include the x-amz-mfa request header in requests to permanently delete an object version or change the versioning state of the bucket. 

Now when you are familiar with the terms used in Amazon S3, let’s create an amazon S3 bucket.


For creating an instance is to enter into the AWS console, for which one needs to Sign in or login in the AWS account.

1 ) In the amazon dashboard click Services, under Storage section you will find S3.

2 ) Click S3 and then to make a new bucket click Create bucket.

3 ) Enter the Bucket name, it should not be empty and it should have a unique global name. Select your region in which you want your bucket to be created. You can also copy settings from your existing bucket and then move to next.

4 ) You can enable Versioning, Server access logging, Object level logging and Default encryption. You can also add tags to track projects. In advanced settings you can use object lock and in the management section you can select CloudWatch request metrics.

But for now leave all the settings as default and move to the next step.

5 ) By default all buckets are private or we can say all Public access of buckets are blocked. You can uncheck the settings or leave it.

Uncheck the setting to unblock Public access of bucket and then move to next step.

6 ) Review the bucket settings and then click Create bucket, the bucket will be created.

Adding objects to your bucket :

1 ) Click the bucket name and then get inside it. To add objects in S3, click Upload objects.

2 ) For example: add a text file and move to next step.

To upload a file larger than 160 GB, use the AWS CLI, AWS SDK, or Amazon S3 REST API.

3 ) You can set permissions of User or access for other AWS account.

4 ) Set properties : you can select storage class, enable encryption, add tags and values for metadata.

But for now leave it as default and move to next step.

5 ) Review the file to be uploaded and then click upload.

Viewing the object

Select the file it shows the overview and properties. In the overview section, object url is mentioned, click to see the object.

You get an error while viewing the object, because it has not been made public.

Select the object, click Actions, Click make Public and then try to view it again.

This time you will be able to view file.