This module enables any AlibabaCloud OSS bucket to be used as remote storage drive for the Magento media files.
Most of the configuration the module uses will be taken from the main TijsDriven_AlibabaCloud
module configuration.
Check that module to see how to configure. Once configuration is done successfully, no additional work should be needed
to use the OSS as the media remote storage.
'remote_storage' => [
'driver' => 'tijsdriven-alibabacloud-oss',
'prefix' => '',
'config' => [
'region' => 'oss-cn-hangzhou',
'bucket' => 'my-oss-bucket',
]
]
Magento will use the OSS bucket automatically for the pub/media
folder. Also, for example the
.maintenance.flag
will be stored on the OSS so all Magento instances will be aware the system
is in maintenance mode.