Amazon Simple Storage Service
Console User Guide

How Do I Create an S3 Bucket?

Before you can upload data to Amazon S3, you must create a bucket in one of the AWS Regions to store your data in. After you create a bucket, you can upload an unlimited number of data objects to the bucket.

A bucket is owned by the AWS account that created it. By default, you can create up to 100 buckets in each of your AWS accounts. If you need additional buckets, you can increase your account bucket limit to a maximum of 1,000 buckets by submitting a service limit increase. For information about how to increase your bucket limit, see AWS Service Limits in the AWS General Reference.

Buckets have configuration properties, including their geographical region, who has access to the objects in the bucket, and other metadata.

To create an S3 bucket

  1. Sign in to the AWS Management Console and open the Amazon S3 console at https://console.aws.amazon.com/s3/.

  2. Choose Create bucket.

    
          Create bucket button in the S3 console.
  3. On the Name and region page, enter a name for your bucket and choose the AWS Region where you want the bucket to reside. Complete the fields on this page as follows:

    1. For Bucket name, enter a unique DNS-compliant name for your new bucket. Follow these naming guidelines:

      • The name must be unique across all existing bucket names in Amazon S3.

      • The name must not contain uppercase characters.

      • The name must start with a lowercase letter or number.

      • The name must be between 3 and 63 characters long.

      • After you create the bucket, you cannot change the name, so choose wisely.

      • Choose a bucket name that reflects the objects in the bucket because the bucket name is visible in the URL that points to the objects that you're going to put in your bucket.

      For information about naming buckets, see Rules for Bucket Naming in the Amazon Simple Storage Service Developer Guide.

    2. For Region, choose the AWS Region where you want the bucket to reside. Choose a Region close to you to minimize latency and costs, or to address regulatory requirements. Objects stored in a Region never leave that Region unless you explicitly transfer them to another Region. For a list of Amazon S3 AWS Regions, see Regions and Endpoints in the Amazon Web Services General Reference.

    3. (Optional) If you have already set up a bucket that has the same settings that you want to use for the new bucket that you want to create, you can set it up quickly by choosing Copy settings from an existing bucket, and then choosing the bucket whose settings you want to copy.

      The settings for the following bucket properties are copied: versioning, tags, and logging.

    4. Do one of the following:

      • If you copied settings from another bucket, choose Create. You're done, so skip the following steps.

      • If not, choose Next.

    
          Name and region page in the Create bucket wizard.
  4. On the Configure options page, you can configure the following properties and Amazon CloudWatch metrics for the bucket. Or, you can configure these properties and CloudWatch metrics later, after you create the bucket.

    1. Versioning

      To enable object versioning for the bucket, select Keep all versions of an object in the same bucket.

      For more information on enabling versioning, see How Do I Enable or Suspend Versioning for an S3 Bucket?.

    2. Server access logging

      To enable server access logging on the bucket, select Log requests for access to your bucket.

      Server access logging provides detailed records for the requests that are made to your bucket. For more information about enabling server access logging, see How Do I Enable Server Access Logging for an S3 Bucket?.

      
              The create bucket wizard configure options page showing versioning and server
                access logging check boxes.
    3. Tags

      To add a cost allocation bucket tag, enter a Key and a Value. Choose Add another to add another tag.

      You can use cost allocation bucket tags to annotate billing for your use of a bucket. Each tag is a key-value pair that represents a label that you assign to a bucket. For more information about cost allocation tags, see Using Cost Allocation S3 Bucket Tags in the Amazon Simple Storage Service Developer Guide.

      
              The create bucket wizard configure options page showing cost allocation bucket
                tags fields.
    4. Object-level logging

      To enable object-level logging with CloudTrail, select Record object-level API activity by using CloudTrail for an additional cost. For more information about enabling object-level logging, see How Do I Enable Object-Level Logging for an S3 Bucket with AWS CloudTrail Data Events?.

    5. Default encryption

      To enable default encryption for the bucket, select Automatically encrypt objects when they are stored in S3.

      You can enable default encryption for a bucket so that all objects are encrypted when they are stored in the bucket. For more information about enabling default encryption, see How Do I Enable Default Encryption for an Amazon S3 Bucket?.

      
              The create bucket wizard configure options page showing object-level logging
                and default encryption check boxes.
    6. Object lock

      If you want to be able to lock objects in the bucket, select Permanently allow objects in this bucket to be locked.

      Object lock requires that you enable versioning on the bucket. For more information about object locking, see Introduction to Amazon S3 Object Lock in the Amazon Simple Storage Service Developer Guide.

    7. CloudWatch request metrics

      To configure CloudWatch request metrics for the bucket, select Monitor requests in your bucket for an additional cost.

      For more information about CloudWatch request metrics, see How Do I Configure Request Metrics for an S3 Bucket?.

      
              Configure options page showing the CloudWatch metrics check box.
  5. Choose Next.

  6. On the Set permissions page, you manage the permissions that are set on the bucket that you are creating.

    Under Block public access (bucket settings), we recommend that you do not change the default settings that are listed under Block all public access. You can change the permissions after you create the bucket. For more information about setting bucket permissions, see How Do I Set ACL Bucket Permissions?. If you intend to use the bucket to host a static website, you can edit the block public access settings after you create it. For more information, see How Do I Configure an S3 Bucket for Static Website Hosting?

    Warning

    We highly recommend that you keep the default access settings for blocking public access to the bucket that you are creating. Public access means that anyone in the world can access the objects in the bucket.

    If you intend to use the bucket to store Amazon S3 server access logs, in the Manage system permissions list, choose Grant Amazon S3 Log Delivery group write access to this bucket. For more information about server access logs, see How Do I Enable Server Access Logging for an S3 Bucket?.

    
          Set permissions page with default settings.

    When you're done configuring permissions on the bucket, choose Next.

  7. On the Review page, verify the settings. If you want to change something, choose Edit. If your current settings are correct, choose Create bucket.

More Info

On this page: