MinIO is the best solution we know of to self-host an S3-compatible object
storage. It supports Windows and MacOS (and more), but we will only cover
instructions for Linux here for brevity, although most of the information
still applies to other platforms anyway.
First of all follow the official installation instructions and start up
the server.
You can now upload data into the bucket, either through the UI or with minio's
command line tool.
This policy is for granting bucket-level read/write permissions. Do not forget
to edit the bucket name!
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:GetObject",
"s3:ListBucket",
"s3:PutObject",
"s3:DeleteObject"
],
"Resource": [
"arn:aws:s3:::<BUCKET NAME>",
"arn:aws:s3:::<BUCKET NAME>/*"
]
}
]
}