mounting-s3-bucket-locally-on-ubuntu mounting-s3-bucket-locally-on-ubuntu Mounting s3 Bucket Locally on Ubuntu .. contents:: Install, Configure, and Test s3cmd Install: .. code-block:: bash sudo apt-get update sudo apt-get install s3cmd Configure: .. code-block:: bash s3cmd –configure follow the prompts. You will need to prepare your Access Key ID and Access Key Secret. list buckets: .. code-block:: bash s3cmd ls list inside a bucket .. code-block:: bash s3cmd ls Install, Configure, and test s3fs-fuse Install dependencies: .. code-block:: bash sudo apt-get install fuse-utils build-essential libcurl4-openssl-dev libxml2-dev libfuse-dev Download sourcecode: .. code-block:: bash wget http://s3fs.googlecode.com/files/s3fs-1.61.tar.gz tar -xzvf s3fs-* Build sourcecode: .. code-block:: bash cd s3fs-* ./configure sudo make sudo make install Configure s3fs password file: .. code-block:: bash sudo vim /root/.passwd-s3fs sudo chmod 600 /root/.passwd-s3fs Format should be: : Test: .. code-block:: bash sudo s3fs Add to fstab to mount during boot: .. code-block:: bash s3fs#mybucket /mnt/s3 fuse allow_other,url=https://s3.amazonaws.com 0 0