Attachments and recycle bins can be stored in S3
XWiki now optionally supports storing attachments, deleted attachments and deleted pages in Amazon S3 or S3-compatible storage as it is provided by many cloud providers and open source implementations. This eliminates the need for a shared file system in clustering setups. Even with S3, XWiki currently still needs permanent file storage, we'll continue removing the need for permanent file storage in the next releases.
By default, XWiki still uses the file system for storing attachments, deleted attachments and deleted pages, and we have no plans to discontinue support for it. Currently, S3 support needs to be installed explicitly before enabling it. When configured, existing data is migrated on the first start. See how to configure the S3 blob store for details.