|
|
@@ -1,12 +1,21 @@ |
|
|
|
|
|
<!-- |
|
|
|
|
|
SPDX-FileCopyrightText: 2022 Slavi Pantaleev |
|
|
|
|
|
SPDX-FileCopyrightText: 2024 - 2025 Suguru Hirahara |
|
|
|
|
|
|
|
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-or-later |
|
|
|
|
|
--> |
|
|
|
|
|
|
|
|
# Storing Matrix media files on Amazon S3 with Goofys (optional) |
|
|
# Storing Matrix media files on Amazon S3 with Goofys (optional) |
|
|
|
|
|
|
|
|
If you'd like to store Synapse's content repository (`media_store`) files on Amazon S3 (or other S3-compatible service), you can let this playbook configure [Goofys](https://github.com/kahing/goofys) for you. |
|
|
|
|
|
|
|
|
The playbook can install and configure [Goofys](https://github.com/kahing/goofys) for you. |
|
|
|
|
|
|
|
|
|
|
|
Goofys makes it possible to store Synapse's content repository (`media_store`) files on Amazon S3 (or other S3-compatible service) object storage. |
|
|
|
|
|
|
|
|
Another (and better performing) way to use S3 storage with Synapse is [synapse-s3-storage-provider](configuring-playbook-synapse-s3-storage-provider.md). |
|
|
|
|
|
|
|
|
See the project's [documentation](https://github.com/kahing/goofys/blob/master/README.md) to learn what it does and why it might be useful to you. |
|
|
|
|
|
|
|
|
Using a Goofys-backed media store works, but performance may not be ideal. If possible, try to use a region which is close to your Matrix server. |
|
|
|
|
|
|
|
|
**Note**: as performance of a Goofys-backed media store may not be ideal, you may wish to use [synapse-s3-storage-provider](configuring-playbook-synapse-s3-storage-provider.md) instead, another (and better performing) way to mount a S3 bucket for Synapse. |
|
|
|
|
|
|
|
|
If you'd like to move your locally-stored media store data to Amazon S3 (or another S3-compatible object store), we also provide some migration instructions below. |
|
|
|
|
|
|
|
|
If you'd like to move your locally-stored media store data to Amazon S3 (or another S3-compatible object store), you can refer our migration instructions below. |
|
|
|
|
|
|
|
|
## Adjusting the playbook configuration |
|
|
## Adjusting the playbook configuration |
|
|
|
|
|
|
|
|
|