Amazon Simple Storage Service is storage for the Internet. It is designed to make web-scale computing easier for developers.

Amazon S3 has a simple web services interface that you can use to store and retrieve any amount of data, at any time, from anywhere on the web. It gives any developer access to the same highly scalable, reliable, fast, inexpensive data storage infrastructure that Amazon uses to run its own global network of web sites.

Create Bucket on Amazon S3

Step 1

The first step is to log in to Amazon S3 console page and navigate to spaces and click on Create bucket as shown in the screenshot.

Step 2

Next chose a name and region for your bucket

Step 3

Make sure to tick Block all public access on the Set Permissions step

Step 4

Click on the newly created bucket and from the URL of your browser copy the region parameter. For example, if I created the bucket in Frankfurt, the region is eu-central-1.

Step 5

From the Services tab, go to IAM (Identity and Access Management) page

Step 6

Click Policies under Access Management and Create policy

Step 7

Choose the JSON tab and paste the following policy ( make sure to replace BUCKET_NAME with the name of the bucket created previously

{

"Version": "2012-10-17",

"Statement": [

{

"Sid": "VisualEditor0",

"Effect": "Allow",

"Action": [

"s3:GetAccessPoint",

"s3:PutAccountPublicAccessBlock",

"s3:GetAccountPublicAccessBlock",

"s3:ListAllMyBuckets",

"s3:ListAccessPoints",

"s3:ListJobs",

"s3:CreateJob",

"s3:HeadBucket",

"s3:ListBucket"

],

"Resource": "*"

},

{

"Sid": "VisualEditor1",

"Effect": "Allow",

"Action": "s3:*",

"Resource": [

"arn:aws:s3:::BUCKET_NAME",

"arn:aws:s3:::BUCKET_NAME/*"

]

}

]

}

This policy will allow the user to write and read in our bucket only.

Step 8

From IAM > Users create a user with the name of your choosing that has Programmatic access enabled.

When setting the permissions choose to attach existing policy and search for the policy you created.

Finish the creation and get the access key and the secret key

Step 9

Log in to your Bunnyshell account and go to your organization page (top left under the Bunnyshell logo) -> Backup Providers -> Add Backup Provider -> Amazon S3 and use access key, Secret key, bucket name and location from the previous steps then Save Backup Provider.

Did this answer your question?