Resource Storage Configuration
BlueRange supports different backends to store binary data like apps, screenshots and other images. The default storage is the SQL database that is used for the rest of the BlueRange data.
As this can cause problems when using large apps, you can switch to two different backends according to your environment.
Attention This is a one time change. If you switch to any other backends for file storage, you cannot switch back again.
MongoDB
You can use the GridFS binary store from MongoDB. Before enabling GridFS
you have to configure a MongoDB database as demonstrated in the example
application.yml
. Finally enable GridFS by setting
getResourceStorageType
to GridFS
.
AWS S3
You can store binaries in AWS S3 object storage. To enable the usage of
S3, set getResourceStorageType
to S3
and provide the additional
settings for BlueRange to be able to access your AWS S3 bucket.
If you do not have a fast internet connection with sufficient upload, it is not recommended to use S3 as a backend. The S3 backend is mainly recommended for BlueRange installations in AWS EC2.
Microsoft® Azure Blob Storage
You can store binaries in Microsoft® Azure Blob Storage.
To enable the usage of Azure Blob Storage, set getResourceStorageType
to AzureStorage
and provide the additional settings for BlueRange to be
able to access your Azure Blob Storage.
If you do not have a fast internet connection with sufficient upload, it is not recommended to use Azure Blob Storage as a backend.