matrix-org / synapse

Synapse: Matrix homeserver written in Python/Twisted.
https://matrix-org.github.io/synapse
Apache License 2.0
11.79k stars 2.13k forks source link

Ability to store files in a CDN network or a S3 type server #1749

Closed sraja415 closed 6 years ago

sraja415 commented 7 years ago

I use Amazon EC2 but I am unable to store files in S3 server. We need functionality where by we can use the storage of servers in a different place like Google Cloud, Amazon S3 etc. instead of worrying about Hard Disk Capacity.

erdii commented 7 years ago

IMHO a generic cloud storage backend with the ability to let files expire to keep costs low would be really nice!

EDIT: I managed to store the media files in s3 via s3fs-fuse but it's more of a hack 😅

valpackett commented 7 years ago

Yeah, FUSE filesystems are a thing but it would be nice to actually let everyone download directly from the storage service instead of the download being essentially proxied through the homeserver.

libcloud supports AWS S3, OpenStack Swift, Google Cloud Storage etc.

neilisfragile commented 6 years ago

Fixed as of 0.27.0 also https://github.com/matrix-org/synapse-s3-storage-provider

oliverjanik commented 6 years ago

Where's documentation for this?