Posted On: Oct 19, 2022
Follow the steps given below to mount s3 to the ec2 instance
apt-get update
sudo apt-get install automake autotools-dev fuse g++ git libcurl4-gnutls-dev libfuse-dev libssl-dev libxml2-dev make pkg-config
git clone https://github.com/s3fs-fuse/s3fs-fuse.git
cd s3fs-fuse autogen.sh ./configure --prefix=/usr --with-openssl make sudo make install
which s3fs
touch /etc/passwd-s3fs vim /etc/passwd-s3fs Your_accesskey:Your_secretkey
sudo chmod 640 /etc/passwd-s3fs
mkdir /mys3bucket s3fs your_bucketname -o use_cache=/tmp -o allow_other -o uid=1001 -o mp_umask=002 -o multireq_max=5 /mys3bucket
Never Miss an Articles from us.
Amazon S3 (Simple Storage Service) is a simple web service interface that allows huge amount of data storage and retrival from anywhere from the internet.Its provides developers highly scalable, relia...
In S3 bucket you can store unlimited volume of data and number of objects. A single Amazon S3 objects can be a size of range 0 bytes to 5 terabytes. In single upload request You can put an object of a...
use aws s3 ls --recursive command on aws CLI to list all files or objects under the specified directory or prefix...