AWS S3
Create an S3 bucket and a least-privilege IAM user, then connect it as a backup destination.
Before you start
You need an AWS account with access to S3 and IAM.
Connect
Create an S3 bucket with any name.
In IAM, open Policies → Create Policy, choose JSON and paste this policy. Replace bucket-name with your bucket.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowListBucket",
"Effect": "Allow",
"Action": "s3:ListBucket",
"Resource": "arn:aws:s3:::bucket-name"
},
{
"Sid": "AllowBucketObjectActions",
"Effect": "Allow",
"Action": ["s3:GetObject", "s3:PutObject", "s3:DeleteObject"],
"Resource": "arn:aws:s3:::bucket-name/*"
}
]
}Review the policy, name it and create it.
Create a user group, add the user to it, and attach the policy under Attached Policies (filter by Customer Managed).
Open the user, go to Security Credentials, choose Create Access Key and select programmatic access.
In wtree Cloud, go to Backups › Storage, click Add destination, enter the values below and click Test connection.
| AWS | wtree Cloud | Example |
|---|---|---|
| Access key | Access key ID | |
| Secret key | Secret access key | |
| Bucket | Bucket | wtree-cloud-backups |
| Region | Region | us-east-1, us-west-2 |
| Endpoint (optional) | Endpoint | https://s3.<region>.amazonaws.com |
The endpoint is shown in the bucket card on the S3 home page.
