Quantcast
Channel: Active questions tagged amazon-s3 - DevOps Stack Exchange
Viewing all articles
Browse latest Browse all 76

s3fs to mount S3 bucket with iamrole on non-aws machine

$
0
0

I am trying to mount S3 bucket on my on-premises CentOS-6 server using s3fs as below:

[roots@myhost ~]# s3fs bucket-name /mnt/s3mnt -o  uid=1001,gid=1001,allow_other,umask=022,iam_role=iam-role,use_cache=/tmp 

This gives error :

s3fs: unable to access MOUNTPOINT /mnt/s3mnt: Transport endpoint is not connecteddebug :     set_moutpoint_attribute(3293): PROC(uid=0, gid=0) - MountPoint(uid=0, gid=0, mode=40777)s3fs_init(2597): inits3fs_check_service(2896): check services.RequestPerform(1524): ### CURLE_OPERATION_TIMEDOUT    RequestPerform(1617): ### retrying...    RemakeHandle(1288): Retry request. [type=-1][url=http://169.254.169.254/latest/meta-data/iam/security-credentials/iam-role][path=]    RequestPerform(1620): Failed to reset handle and internal data for retrying.s3fs: Failed to check IAM role name(iam-role).

Please let me know if somebody did it successfully.Tried with endpoint parameter and URL parameter but it says:

fuse: unknown option `endpoint=ap-northeast-1'

Any suggestion is highly appreciated. Thank you.


Viewing all articles
Browse latest Browse all 76

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>