ENREGISTRER EN TANT QUE PDF
Lyve Cloud Object Storage Resources Guide 
Lyve Cloud Object Storage Resources Guide 

Cet article vous a-t-il été utile ?

S3FS

S3FS (fuse) is certified for use with Lyve Cloud Object Storage.

Configuration instructions are provided below. See also: How to Mount S3 Bucket on CentOS and Ubuntu using S3FS.

Configure S3FS

Your Lyve Cloud access key and secret key are required to configure S3FS.

  1. Replace the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY with your actual Lyve Cloud access key and secret key values.

$  <your-password-file> AWS_ACCESS_KEY_ID:AWS_SECRET_ACCESS_KEY

  1. Make sure that the file has proper permission:

$ chmod 600 <your-password-file>

  1. Run the following command to mount s3fs:

s3fs-bucket <your-local-folder> -o passwd_file=<your-password-file> -o url=https://s3.<region>.sv15.lyve.seagate.com

where:

  • <your-password-file> is a file containing your S3 access and secret keys.
  • <your-local-folder> is the folder containing your files where you want to sync with S3 bucket.
  • <region> is the appropriate Lyve Cloud region, for example, us-east-1.

Once the mountpoint is working, sync all objects from s3fs-bucket to mount folder, for example:

# ls  -l s3-bucket
total 2197
-rw-r-----. 1 root root 1121955 Nov 19 12:43 Pic-1.png
-rw-r-----. 1 root root  479053 Nov 19 12:43 Pic-2.png
-rw-r-----. 1 root root  645935 Nov 19 12:43 Pic-3.png
-row-r--r--. 1 root root    1465 Nov 19 09:01 README.md