How can we help?

Setup AWS S3 with SnapShooter

Learn how to Setup AWS S3 with SnapShooter

Simon Bennett]
Simon Bennett
Last Updated: Aug 26, 2020
Table of Contents

# AWS S3

AWS is the industries leader in cloud storage. Prices depend on region and usage.


# Creating a New Bucket

  1. Login to your AWS Console
  2. In top menu select services
  3. Search for S3 and open S3
  4. Press New Droplet Button
  5. Choose your bucket name (e.g. s3.snapshooter.io)
  6. Choose your backup region
    • You can choose a region close to your server to increase speed or further away if you want to mitigate risk
  7. Under Configure Options leave as set
  8. Under Set permissions, leave Block all public access checked.
  9. Under Review press create

# Creating a New IAM User

  1. Leave S3 and find IAM from the top services menu and search
  2. Press Users on left sidebar
  3. Add User
    • user name (e.g. snapshooter)
    • Access Type Programmatic access
  4. Permissions ignore and press Next:tags
  5. Optional Setup Tags
  6. Next Review
  7. Create User
  8. View Details SAVE SECRET KEY, will never be shown again
  9. In IAM find the user list and click on your new user
  10. Press Add Inline Policy

    Add Inline Policy

  11. Choose JSON Editor

    Paste the following:

    {
        "Version": "2012-10-17",
             "Statement": [
                 {
                     "Effect": "Allow",
                     "Action": [
                         "s3:ListBucket",
                         "s3:DeleteObject",
                         "s3:GetObject",
                         "s3:PutObject",
                         "s3:PutObjectAcl"
                     ],
                     "Resource": [
                       "arn:aws:s3:::BUCKET_NAME/*",
                       "arn:aws:s3:::BUCKET_NAME"
                     ]
                 }
             ]
     }

    Replace BUCKET_NAME with the newly created bucket name e.g.

    {
       "Version": "2012-10-17",
       "Statement": [
           {
               "Effect": "Allow",
               "Action": [
                   "s3:ListBucket",
                   "s3:DeleteObject",
                   "s3:GetObject",
                   "s3:PutObject",
                   "s3:PutObjectAcl"
               ],
               "Resource": [
                 "arn:aws:s3:::s3.snapshooter.io/*",
                 "arn:aws:s3:::s3.snapshooter.io"
               ]
           }
       ]
    }

    Then press Create Policy (give it a useful name)


# Attaching S3 to SnapShooter

  1. Go back to SnapShooter
  2. https://snapshooter.io/dashboard/settings/storage/attach
  3. Choose a Friendly Name
  4. Select AWS Storage Provider
  5. Select the correct s3 region selected before
  6. Paste in saved access key and secret access key
  7. Enter the correct bucket name
  8. Press save
  9. We will check the API key is valid and works before allowing you to save. Once complete your ready to setup and backup process that uses external storage

Did you find this article helpful?