AWS S3 Tutorial: Create S3 Bucket and Basic Features

Create S3 Bucket Tutorial

Create S3 Bucket and Basic Features

In this tutorial i will show you how to create your first s3 bucket, S3 overview, versioning, how to use permissions and access control list .

Create S3 Bucket
  1. Login to your console
  2. Search for S3 service inside AWS services search box
  3. Select 'create bucket'
  4. Choose a bucket name 'name cannot be changed after this step'
  5. Choose the region.
  6. If you don't want to go through any advanced options proceed by selecting 'create'.
S3 Console Overview

S3 Overview

  1. Search for a bucket by it's name
  2. Number of created buckets.
  3. Number of buckets' regions.
  4. Sort buckets.
S3 Versioning

Versioning is an option which will keep a history of all your files history, you can edit and save the file and still have all history saved in the history with ability to restore and check them all.

Enable Versioning
  1. Select bucket
  2. Select properties
  3. Click on versioning and enable it then save.

Access file different version.

AWS S3 Versioning

  1. Select bucket
  2. Select file
  3. Check all available version from the top 'version dropdown'
S3 Permissions

In S3 you can restrict or add your own permissions by using ACL , Bucket Policy or IAM.

Bucket policy vs ACL

Bucket policy example:

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Principal": {
        "AWS": ["arn:aws:iam::111122223333:user/Alice",
                "arn:aws:iam::111122223333:root"]
      },
      "Action": "s3:*",
      "Resource": ["arn:aws:s3:::my_bucket",
                   "arn:aws:s3:::my_bucket/*"]
    }
  ]
}

ACL example:

  1. Select bucket.
  2. Choose permissions tab.
  3. Under access control list you can add user and permissions as well as manage groups.

You can make it public and choose everyone can access the bucket and either read and write or read only.

 

Create your first S3 Bucket and use Permissions and ACL

 


Subscribe to
for video tutorials updates