How to treat / Mount the s3 bucket as a local folder on ubuntu server| Mount s3 on EC2

Published: 19 August 2023
on channel: Devops TerraByte
680
15

In this video we will create a one s3 bucket and will mount that s3 bucket on local server.

When we create a local file it gets automatically present in the s3 bucket & if we upload any file on the s3 bucket that will present on the server. This is like a sync up of the s3 bucket and local folder

Commands Executed in this video :-

sudo apt-get install -y fuse
sudo apt-get install -y s3fs
vi .passwd-s3fs
chmod 600 ~/.passwd-s3fs
vi /etc/fuse.conf

For Mount :-
s3fs bucket-name folder-name/ -o allow_other -o umask=0022

Unmount :-
fusermount -u /mnt/mybucket or folder name


Watch video How to treat / Mount the s3 bucket as a local folder on ubuntu server| Mount s3 on EC2 online without registration, duration hours minute second in high quality. This video was added by user Devops TerraByte 19 August 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 68 once and liked it 1 people.