S3 mount
Jump to navigation
Jump to search
Rclone
Example S3 Bucket using Oracle Cloud
- create user
s3_document_user
- create customer secret keys
s3_documents_key AACCEESSxxKKEEYY SSEECCRREETTxxAACCEESSxxKKEEYY
- create group
s3_documents_group
- add user to group
s3_document_user -> s3_documents_group
- create policy s3_documents_policy
Allow group s3_documents_group to manage buckets in compartment test Allow group s3_documents_group to manage objects in compartment test
- create a compartement
s3_documents_compartment
- create a bucket inside the compartment
s3_documents
Install
apt-get install rclone
Configure Rclone
- rclone config
[oci_documents] type = s3 provider = Other env_auth = false access_key_id = AACCEESSxxKKEEYY secret_access_key = SSEECCRREETTxxAACCEESSxxKKEEYY endpoint = https://XXXX.compat.objectstorage.eu-amsterdam-1.oraclecloud.com acl = private
Mount using Rclone
mkdir s3_documents rclone mount -vvv --dir-cache-time 10s oci_documents:/s3_documents s3_documents