Access S3 buckets with RClone
Last updated
Was this helpful?
Last updated
Was this helpful?
You can access the contents of your S3 bucket(s) inside your Nuvolos applications using the . The steps required to set up your access are:
Create AWS Access key for your user
Create and attach AWS policy to enable access for your user to the S3 bucket(s)
Enable RClone add-on and create config file
Set up Nuvolos secrets
Follow the to generate a new access key for your user. You'll need the generated access key and secret key in step 4.
You need to grant access to the user corresponding to the access key to the S3 buckets that you want to use on Nuvolos. There are 2 common scenarios:
In this case, you want to access multiple buckets in your Nuvolos application at the same time. Below is an template that grants the required privileges for two buckets called BUCKET_NAME_1
and BUCKET_NAME_2
:
After restarting your application, your AWS bucket(s) will be accesible under /rclone
on the applications file system.
In this case, you want to access a single bucket in your Nuvolos application. Below is an template that grants the required privileges for a bucket called BUCKET_NAME
:
Attach either policy to your user according to .
You need to enable the for every application separately where you want the S3 buckets mounted. You also need to have the following configuration file at ~/.config/rclone/rclone.conf
in the apps where you need mounting:
You need to add your AWS access key to the , under the following names:
If you have followed to set up your policy, you'll need to tell the RClone add-on to mount that particular bucket only. This can be done by setting the following secret or environment variable: