Mounting an ObjectStorage Bucket as Filesystem in Oracle Linux 7
In this post, we will explain how to mount an Object Storage bucket as a filesystem on Oracle Linux 7 using s3fs-fuse project and Oracle Cloud Infrastructure's S3 compatible API.
Mount the File System
Make sure there is a Bucket created on OCI account, if not then refer to the official document to create one. Also, remember to enable yum repository ol7_developer_EPEL.
Install s3fs-fuse binary using yum.
# yum install s3fs-fuse
Go to the Oracle Cloud Infrastructure Web Console, click the Profile icon in the top-right corner, and select User Settings. Then -Click Customer Secret Keys, and then click Generate Secret Key. Give the key a meaningful name (for example, s3fs-access), and then click Generate Secret Key. Copy and save the secret key because it won't be shown again.The S3 credentials are created by using an access key and the secret key. The access key is displayed in the Customer Secret Keys area of the Console.