Create a new S3 Bucket

Create a new S3 Bucket

  1. Find and select S3.

0001

  1. Select Buckets, then select Create bucket.

0002

  1. Select AWS Region as the region which you are using.
  • In the Bucket name section, enter a valid name.

0003

  1. Select Create bucket.

0004

  1. Click the bucket you have created.

0005

  1. Select the Permissions tab.

0006

  1. In the Block public access section, select Edit.

0007

  1. Uncheck all then select Save change.

0008

  1. Select Edit bucket policy.

0009

  1. Enter the Policy as below:

0010

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "Statement1",
            "Effect": "Allow",
            "Principal": {
                "AWS": "*"
            },
            "Action": [
                "s3:List*",
                "s3:Get*",
                "s3:Put*"
            ],
            "Resource": [
                "arn:aws:s3:::fcj-aws-eb-lab",
                "arn:aws:s3:::fcj-aws-eb-lab/*"
            ]
        }
    ]
}
  • In the Principal block, we allow all AWS Services to perform all actions stated with List, Get and Put on the S3 bucket and objects inside it.
  1. Click Save change.

0011