This README provides instructions on how to set up a cost-effective backup solution using Amazon S3 Deep Archive. Amazon S3 Deep Archive is an extremely low-cost storage option designed for long-term data retention and archiving.
You need aws-cli and borg-backup installed on system
Follow these steps to set up your backup solution with Amazon S3 Deep Archive:
-
Sign up for AWS: If you haven't already, sign up for an AWS account at aws.amazon.com.
-
Create an S3 Bucket: Log in to the AWS Management Console, navigate to the S3 service, and create a new S3 bucket to store your backups.
You also need credential of your aws account, that how the cli script can write in your bucket
// .aws/credential
[default]
aws_access_key_id=
aws_secret_access_key=
//.aws/config
[profile chess]
region=
[default]
region=
Use this storage as cold storage. Normally you access this data for ermegency only. Personnaly i use it as cold storage for my personnal data. It's end-to-end encrypted on my client with borg-backup so i don't bother for my privacy. It's extremely cheap for this use case. Only the retrieval can be expensive, but you're not suppose to do this often.
- Storage Cost: Approximately $0.99 USD per month.
- Data Retrieval Cost:
- Standard Retrieval: Approximately $20.00 USD.
- Bulk Retrieval: Approximately $2.50 USD.
- Request Cost:
- GET, SELECT, and LIST: Approximately $0.50 USD per thousand requests.
- Storage: $0.99 USD per month
- Standard Retrieval: $20.00 USD
- Bulk Retrieval: $2.50 USD
- Storage: $0.99 USD
- Standard Retrieval: $20.00 USD
- Total: $20.99 USD
- Standard Retrieval: 12 hours.
- Bulk Retrieval: 48 hours.