Posts

Showing posts with the label aws roles

How to mount Amazon S3 Bucket into AWS EC2 instance

Image
Step 1 Update all the packages if required (RHEL/CentOS) yum update (Debian/Ubuntu) apt-get update Step 2 Install all the dependencies require to configure (RHEL/CentOS) sudo yum install automake fuse fuse-devel gcc-c++ git libcurl-devel libxml2-devel make openssl-devel (Debian/Ubuntu) sudo apt-get install automake autotools-dev fuse g++ git libcurl4-gnutls-dev libfuse-dev libssl-dev libxml2-dev make pkg-config Step 3 Clone the s3fs repository from the GitHub (RHEL Family and Debian Family) git clone https://github.com/s3fs-fuse/s3fs-fuse.git Step 4 Now change directory to just clone from the GitHub and compile and setup the s3fs-fuse cd s3fs-fuse ./autogen.sh ./configure --prefix=/usr --with-openssl make sudo make install Step 5 Run the following command to check if every set up correctly which s3fs Output /usr/bin/s3fs Step 6 Now, Go to IAM and create a user name "s3user" and give him Programmatic Access and attached the Policy "AmazonS3FullAccess". While creating