Mounting S3 Object Storage Files
It is possible to mount S3 Object Storage to your VPS/VDS or personal computer. This way you can access the files and folders of your S3 Object Storage like a local drive. This makes usage more convenient.
All you will need is:
access_key
secret_key
- Contabo's S3 URL
For access_key
, secret_key
and the S3 URL please check here.
Example values
access_key
= 82046e8110804a43bf29c1ae426a724dsecret_key
= 82e69bd7a52076c527154297a76c2233- S3 URL = https://eu2.contabostorage.com
Linux
goofys
For Linux goofys can be used which offers better performance than s3fs-fuse. Please follow the install instructions. In the following example we consider the mount path to be /mnt/foo
and the bucket to be mounted foo
. Please make sure that you set up your ~/.aws/credentials
file with the proper values.
sudo mkdir /mnt/foo
echo 'goofys#foo /mnt/foo fuse _netdev,allow_other,--file-mode=0666,--dir-mode=0777,--endpoint=eu2.contabostorage.com 0 0' | sudo tee -a /etc/fstab
s3fs-fuse
For Linux s3fs-fuse can be used. Please follow the install instructions. In the following example we consider the mount path to be /mnt/foo
and the bucket to be mounted foo
sudo echo 82046e8110804a43bf29c1ae426a724d:82e69bd7a52076c527154297a76c2233 > /etc/passwd-s3fs
sudo chmod 600 /etc/passwd-s3fs
sudo mkdir -p /mnt/foo
sudo echo "foo /mnt/foo fuse.s3fs _netdev,allow_other,use_path_request_style,url=https://eu2.contabostorage.com 0 0" >> /etc/fstab
sudo mount -a
Windows
For Windows there are several tools out there. Here two ones are described.
Air Live Drive
Please follow installation instructions from Air Live Drive. Once installed and started please perform following steps.
- Click on
Add Cloud Disk
. The following screen should appear - Select
S3
. The following screen should appear - Please specify following data
- For
REST endpoint
the S3 URL, e.g.https://eu2.contabostorage.com
- For
Access Key ID
youraccess_key
, e.g.82046e8110804a43bf29c1ae426a724d
- For
Secret Access Key
yoursecret_key
, e.g.82e69bd7a52076c527154297a76c2233
- Please check
Use Path style addressing model
- Click
OK
- Click
Connect
- For
- You are done. The drive with the specified letter should show the contents of your S3 Object Storage
Mountain Duck
Please follow installation instructions from Mountain Duck. Once installed and started please perform following steps.
- You should see a screen like the following. If you don't see it then right click in the toolbar on the duck icon and select
Open Connection
. - Please specify following data
- For
Server
the S3 URL without protocol, e.g.eu2.contabostorage.com
. Please note NOT to enter withhttps://
- For
Port
specify443
- For
Access Key ID
youraccess_key
, e.g.82046e8110804a43bf29c1ae426a724d
- For
Secret Access Key
yoursecret_key
, e.g.82e69bd7a52076c527154297a76c2233
- Click
OK
- For
- That's it. The drive with the specified letter should show the contents of your S3 Object Storage