Home / Linux Admin /

Amazon S3 Mount

This will allow you to mount S3 (both Amazon and third parties) buckets as local storage in Linux.

  1. install s3fs
  2. Create a credentials file
    1. in your home directory, create a file called .password-s3fs and place the access and secret keys inside:
      • echo ACCESS_KEY:SECRET_KEY > ~/.passwd-s3fs
    2. make sure this file is secured with no one else having access
      • chmod 600 ~/.passwd-s3fs
  3. Create a mount point
  4. Mount it (the -o url= option is only if you aren't using Amazon as your provider):

this document last modified: July 07 2018 01:55

Home / Linux Admin /