Mount s3 storage to any linux ec2 server

SamJain
Dec 15, 2020

--

after Installing s3fs

s3fs my-Bucket /mntpoint -o iam_role=iamRole-fullname,allow_other,umask=0007,uid=userid,gid=usergid

Make a fstab entry so that the mount is intact even if server bounces
userid here is, who has access to the S3 location

#fstab_entry
my-Bucket /mntpoint fuse.s3fs iam_role=iamRole-fullname,allow_other,umask=0007,uid=userid,gid=usergid 0 0

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

SamJain
SamJain

Written by SamJain

Hi, I am Sampada Jain, a system and Cloud Technologies enthusiast. I find learning technologies easy and love to trouble-shoot errors. Passionate Linux learner.

No responses yet

Write a response