Home Download Docs Code Community

Storage

S3

Amazon S3 is a high-durability key-value store.

To use S3 with Perkeep, you need to:

It is advisable to use a dedicated key/secret for Perkeep:

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Resource": [
                "arn:aws:s3:::YOUR_BUCKET_NAME",
                "arn:aws:s3:::YOUR_BUCKET_NAME/*"
            ],
            "Sid": "Stmt1464826210000",
            "Effect": "Allow",
            "Action": [
                "s3:DeleteObject",
                "s3:GetBucketLocation",
                "s3:GetObject",
                "s3:ListBucket",
                "s3:PutObject"
            ]
        }
    ]
}

Finally, add the s3 config line to your Perkeep server-config.json:

"s3": "ACCESS_KEY:SECRET_KEY:YOUR_BUCKET_NAME"

B2

Backblaze B2 is simple, reliable, affordable object storage.

To use b2 with Perkep, you need to:

It is advisable to create a dedicated Application Key for Perkeep:

Finally, add the b2 config line to your perkeep server-config.json:

"b2": "keyID:applicationKey:bucket"
Website layout inspired by memcached.
Content by the authors.