[GH-ISSUE #529] automount at boot *and* using IAM role #300

Closed
opened 2026-03-04 01:44:10 +03:00 by kerem · 2 comments
Owner

Originally created by @ezeeetm on GitHub (Feb 7, 2017).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/529

I know we can do

s3fs mybucket /path/to/mountpoint -o iam_role="auto"

to use the IAM instance profile role associated with the instance. We can also create an FSTAB entry to automount on boot. But there is no way to pass -o iam_role="auto" to FSTAB entry.

Is there a way to use FSTAB (or perhaps an s3fs config file) to get the iam_role="auto" to persist so the FSTAB entry can use it?

Originally created by @ezeeetm on GitHub (Feb 7, 2017). Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/529 I know we can do s3fs mybucket /path/to/mountpoint -o iam_role="auto" to use the IAM instance profile role associated with the instance. We can also create an FSTAB entry to automount on boot. But there is no way to pass -o iam_role="auto" to FSTAB entry. Is there a way to use FSTAB (or perhaps an s3fs config file) to get the iam_role="auto" to persist so the FSTAB entry can use it?
kerem 2026-03-04 01:44:10 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@bjay1404 commented on GitHub (Feb 10, 2017):

This is what the FSTAB entry should look like

s3fs#bucketname /PATHtoLocalMount fuse _netdev,iam_role=nameofiamrolenoquotes

<!-- gh-comment-id:278982869 --> @bjay1404 commented on GitHub (Feb 10, 2017): This is what the FSTAB entry should look like s3fs#bucketname /PATHtoLocalMount fuse _netdev,iam_role=nameofiamrolenoquotes
Author
Owner

@ggtakec commented on GitHub (Mar 19, 2017):

@ezeeetm
You can use fstab entry like @bjay1404
(@bjay1404 thanks)

<!-- gh-comment-id:287637339 --> @ggtakec commented on GitHub (Mar 19, 2017): @ezeeetm You can use fstab entry like @bjay1404 (@bjay1404 thanks)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/s3fs-fuse#300
No description provided.