Menu
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.

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, type 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, type 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

      Select Keep all versions of an object in the same bucket. to enable object versioning for the bucket. For more information on enabling versioning, see How Do I Enable or Suspend Versioning for an S3 Bucket?.

    2. Server access logging

      Select Log requests for access to your bucket. to enable server access logging on the 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?.

      
              On the create bucket wizard configure options page you can enable versioning and server access logging.
    3. Tags

      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.

      To add a tag, type a Key and a Value. Choose Add another to add another tag. For more information about cost allocation tags, see Using Cost Allocation S3 Bucket Tags in the Amazon Simple Storage Service Developer Guide.

      
              On the create bucket wizard configure options page you can add cost allocation bucket tags.
    4. Object-level logging

      Select Record object-level API activity by using CloudTrail for an additional cost. to enable object-level logging with CloudTrail. 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

      Select Automatically encrypt objects when they are stored in S3. to enable default encryption for the bucket. 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 S3 Bucket?.

      
              On the create bucket wizard configure options page you can enable 
                object-level logging and default encryption.
    6. CloudWatch request metrics

      Select Monitor requests in your bucket for an additional cost. to configure CloudWatch request metrics for the bucket. For more information about CloudWatch request metrics, see How Do I Configure Request Metrics for an S3 Bucket?.

      
              On the Configure options page you can enable CloudWatch metrics.
  5. Choose Next.

  6. On the Set permissions page, you manage the permissions that are set on the bucket that you are creating. You can grant read access to your bucket to the general public (everyone in the world). Granting public read access is applicable to a small subset of use cases such as when buckets are used for websites. We recommend that you do not change the default setting of Do not grant public read access to this bucket. You can change permissions after you create the bucket. For more information about setting bucket permissions, see How Do I Set ACL Bucket Permissions?

    Warning

    We highly recommend that you do not grant public read access to the bucket that you are creating. Granting public read access permissions means that anyone in the world can access the objects in the bucket.

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

    
          Set permissions page with default settings.
  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: