S3 Destinations
AWS S3
Configure S3 buckets for backup storage. This includes setting up access keys, secret keys, bucket names, regions, and endpoints.
AWS provides a simple and cost-effective way to store and retrieve data. It is a cloud-based service that allows you to store and retrieve data from anywhere in the world. This is a great option for storing backups, as it is easy to set up and manage.
- Create a new bucket and set any name you want.
- Search for
IAM
in the search bar. - Click on
Policies
in the left menu. - Click on
Create Policy
. - Select
JSON
and paste the following policy: Make sure to replace the bucket name with your bucket name.
- Click on
Review Policy
. - Assign a name to the policy.
- Click on
Create Policy
. - Click on User Group and assign a Name.
- Click on
Add User to Group
. - Add the user you want to assign to the group.
- In the
Attached Policies
section, filter by typeCustomer Managed
and select the policy you created. - Click on
Attach Policy
. - Go to
Users
and select the user you've assigned to the group. - Go to Security Credentials.
- Click on
Create Access Key
. - Select
Programmatic Access
. - Click on
Create New Access Key
.
Now copy the following variables:
Access Key
->Access Key (Dokploy)
= eg.AK2AV244NFLS5JTUZ554
Secret Key
->Secret Key (Dokploy)
= eg.I0GWCo9fSGOr7z6Lh+NvHmSsaE+62Vwk2ua2CEwR
Bucket
->Bucket (Dokploy)
= eg.dokploy-backups
use the name of the bucket you created.Region
->Region (Dokploy)
= eg.us-east-1, us-west-2, etc
it will depend on the region you are using.Endpoint
->Endpoint (Dokploy) (Optional)
= eg.https://<bucket-name>.s3.<region>.amazonaws.com
you will find this endpoint in the Bucket Card at the Home Page.
Test the connection and you should see a success message.