Weap.io Docs
  • Home
  • Overview
    • What are Provider Snapshots?
    • What are Database Backups?
    • What are File Backups?
  • Provider snapshots
    • Alibaba Cloud
      • Get started
    • AWS EC2
      • Get started
    • AWS Lightsail
      • Get started
    • DigitalOcean
      • Get started
      • Multi-region replication
      • Trigger manual snapshots
    • Exoscale
      • Get started
    • Google Cloud Platform
      • Get started
    • Hetzner
      • Get started
    • OVH
      • Get started
    • Scaleway
      • Get started
    • UpCloud
      • Get started
  • Database backups
    • MySQL backups
      • Get started
      • Encrypted MySQL backups
      • Exclude certain tables from the backups
    • PostgreSQL backups
      • Get started
      • Auto-synchronize your PostgreSQL databases
    • How to decrypt a database backup
  • File Backups
    • Get started
  • Storages
    • Overview
    • How to connect your AWS S3 storage
    • How to connect your Backblaze B2 storage
    • How to connect your Azure Blob Storage
    • How to connect your SFTP storage
  • Encryption keys
    • How to generate an encryption key
Powered by GitBook
On this page
  • 1. Create a new S3 bucket
  • 2. Create a new IAM user
  • 3. Attach S3 permissions to the IAM user
  • 4. Add the storage to Weap.io

Was this helpful?

  1. Storages

How to connect your AWS S3 storage

Lear how to connect your AWS S3 storage to Weap.io

PreviousOverviewNextHow to connect your Backblaze B2 storage

Last updated 4 years ago

Was this helpful?

Connecting your AWS S3 storage is very simple and quick.

1. Create a new S3 bucket

Log in into your AWS console, open the S3 service and click the Create Bucket button. Give a name to your bucket and select a region. In our case we used weap-backups as the name of the bucket and the region eu-central-1.

The other options are ok like they are. The option Block all public access should be checked.

Scroll at the bottom of the page and click the button Create Bucket.

2. Create a new IAM user

Open the IAM service, go to the users section and click the button Add user

Give a name to the user, check the option Programmatic access and click the button Next: Permissions.

Skip the permissions page by clicking the button Next: Tags. We will not add any tag. Click the button Next: Review. Finally, click the button Create user. Save the Access key ID and Secret access key because are visible only once.

3. Attach S3 permissions to the IAM user

Again in the IAM service, search for the user you just created and open it. On the user page, click Add inline policy.

Choose the JSON editor and paste the policy below.

Replace weap-backups with the name of the bucket you created at step 1 (if you used a different name).

{
    "Version": "2012-10-17",
         "Statement": [
             {
                 "Effect": "Allow",
                 "Action": [
                     "s3:*"
                 ],
                 "Resource": [
                   "arn:aws:s3:::weap-backups/*",
                   "arn:aws:s3:::weap-backups"
                 ]
             }
         ]
 }

Click the button Review policy and give it an intuitive name. Next, click the button Create policy.

4. Add the storage to Weap.io

Open your Weap.io dashboard and go to the Storages settings. Click the Add storage button and fill the form with the details from the previous steps.

Congratulations! Your S3 storage is now connected to Weap.io and can be used to store your & backups.

Database
File