Attach S3 buckets to your apps
CloudBucketConfig
.name
field in the CloudBucket
constructor must be the name of the
bucket you created in the cloud provider.read_only
flag to True
. This will prevent any writes to the bucket.
region
field in the CloudBucketConfig
. This option can be important when mounting AWS buckets.
From mountpoint’s documentation:
Amazon S3 buckets are associated with a single AWS Region. Mountpoint attempts to automatically detect the region for your S3 bucket at startup time and directs all S3 requests to that region. However, in some scenarios like cross-region mount with a directory bucket, this region detection may fail, preventing your bucket from being mounted and displaying Access Denied or No Such Bucket errors.