mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[GH-ISSUE #1336] Bucket url is not resolving with both IAM role and Access Keys #717
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#717
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @StayOvr on GitHub (Jul 20, 2020).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/1336
Hi there,
I followed the link https://cloudacademy.com/blog/s3-ftp-server/ and this github repo to setup FTP server on EC2 and mount the s3 bucket.
FTP seems working fine, but mounting the s3 bucket step is failing. Initially we tried with IAM role which has permissions on the S3 bucket, but it says couldn't resolve the host. Now i am trying with access key/secret key( i created an iam role and got the keys) - still same issue. Can you please check and suggest what could be the issue ?
[ec2-user@ip-xx-xx-xx-xx ~]$ sudo /usr/local/bin/s3fs s3uploads \
[INF] s3fs.cpp:s3fs_destroy(3557): destroy
@sqlbot commented on GitHub (Jul 20, 2020):
-o url="https://s3-us-east-1.amazonaws.com"isn't correct. The tutorial also appears to be partially incorrect.Some Amazon S3 regions support
s3-${region}.amazonaws.comfor legacy reasons, but us-east-1 does not. The canonical form iss3.${region}.amazonaws.com-- a dot, not a dash, afters3.You should find that
-o url="https://s3.us-east-1.amazonaws.com"works as expected, or gives a different error if you have other issues to resolve also.https://docs.aws.amazon.com/general/latest/gr/s3.html
@StayOvr commented on GitHub (Jul 20, 2020):
Thanks for catching the issue, i corrected the region part and able mount and upload the objects.
@gaul commented on GitHub (Oct 10, 2020):
Please reopen if symptoms persist. Thanks for your help @sqlbot!