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
IAMin the search bar. - Click on
Policiesin the left menu. - Click on
Create Policy. - Select
JSONand 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 Policiessection, filter by typeCustomer Managedand select the policy you created. - Click on
Attach Policy. - Go to
Usersand 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.AK2AV244NFLS5JTUZ554Secret Key->Secret Key (Dokploy)= eg.I0GWCo9fSGOr7z6Lh+NvHmSsaE+62Vwk2ua2CEwRBucket->Bucket (Dokploy)= eg.dokploy-backupsuse the name of the bucket you created.Region->Region (Dokploy)= eg.us-east-1, us-west-2, etcit will depend on the region you are using.Endpoint->Endpoint (Dokploy) (Optional)= eg.https://s3.<region>.amazonaws.comyou will find this endpoint in the Bucket Card at the Home Page.
Test the connection and you should see a success message.