How to set up an S3 bucket on AWS

Riyaz Walikar
Feature image


In our last academy article we introduced 3 different storage services provided by AWS - EBS, S3, and EFS. Article link: https://kloudle.com/academy/aws-ebs-vs-s3-vs-efs-differences-use-cases

We also mentioned that we would be covering each of these services separately in the upcoming articles, so here is our academy article on creating an S3 bucket on AWS.

Let’s recap our S3 understanding before we get into our hands-on walkthrough of S3 buckets. S3 (Amazon Simple Storage Service) is an object type storage from AWS. We can store data files such as image files, text files, video files, etc. as objects within buckets. It provides this storage through a web service interface. S3 also allows versioning which helps in preserving, recovering and restoring an early version of any object stored in the bucket.

Setting up an S3 bucket through AWS console

  1. Log in to your AWS account via console (https://aws.amazon.com/console/)

  2. Once you have logged in, you can search for S3 in the Search bar

    aws services

  3. Click on S3 from search results under Services. This will take you to your S3 page where you can create and manage your S3 buckets

  4. Click on “Create bucket” button to set up a new S3 bucket

    S3 Create bucket

  5. You will then be presented with the bucket configuration page

  6. Enter a unique name for your S3 bucket without using any spaces or upper case letters. The bucket names must be unique since the S3 bucket namespace is global

  7. Select the region in which you would like to create your S3 bucket. It is generally suitable to create the bucket in a region that is geographically closer to the users of the bucket

    S3 Create bucket details

  8. The next configuration section allows you to manage the ownership of objects. S3 provides two options for object ownership: ACLs disabled and ACLs enabled

    ACLs disabled means all the objects in the bucket are owned by the account that created the bucket

    ACLs enabled means that the objects can be owned by the other AWS accounts as well

    S3 object ownership

  9. Select the accessibility option for your bucket. If your bucket contains any sensitive data or any data which you do not want to make public then select “Block all Public access” setting for this bucket

    S3 bucket accessibility

  10. Then you can enable or disable Bucket Versioning for your S3 bucket.

    Bucket Versioning is a feature provided by S3 which allows you to have multiple versions of an object. When it is important for you to ensure that your objects do not get overwritten or deleted, you can enable this feature.

    S3 Bucket Versioning

  11. Assign Tags to your bucket. Though this is an optional feature, Tags can be attached to categorise your bucket in various ways like environment, teams, createdby, etc.

    S3 Bucket Tags

  12. Select whether you want to enable or disable default encryption for your objects. Default encryption is a great security feature when you want to protect your objects stored in S3 buckets

    S3 Bucket default encryption

  13. There’s also a section of Advanced settings in S3 configurations which allows you to enable or disable object locking

    Object Lock is helpful when you want to prevent the stored object in S3 bucket from getting deleted or overwritten. Enabling this setting automatically enables the bucket versioning if not enabled

    S3 Advanced settings

  14. Finally click on “Create bucket”. The bucket is created and you can start storing data to your newly created S3 bucket

    aws s3 create bucket


S3 provides various features and options when creating a new bucket. This article provides you a step by step walkthrough of creating an S3 bucket on AWS while explaining various options available to you. Enabling or disabling each of these options depends on how and for what you want to use your bucket. Some options may also have a cost or quota factor applicable, hence you must take that into notice as well.

We have also covered the top 10 security best practices for securing data in Amazon S3. Check out this academy article to make sure you are following the best practices or not.

Article link: https://kloudle.com/academy/top-10-security-best-practices-for-securing-data-in-amazon-s3

← Back to Academy