Oracle Cloud

Oracle cloud provides S3 compatible object storage. To use it follow the instructions in the Amazon S3 docs on how to configure DEFAULT_FILE_STORAGE and STATICFILES_STORAGE and set the following configurations on settings.py

  • Create a Customer Secret Key
  • Use generated key as AWS_SECRET_ACCESS_KEY
  • And the value in the Access Key column as AWS_ACCESS_KEY_ID
  • Set AWS_STORAGE_BUCKET_NAME with your bucket name
  • Set AWS_S3_REGION_NAME with the current region

And last but most importantly set the AWS_S3_ENDPOINT_URL with:

https://{ORACLE_NAMESPACE}.compat.objectstorage.{ORACLE_REGION}.oraclecloud.com

The ORACLE_NAMESPACE value can be found on the bucket details page