doc/INSTALL.md
We recommend installing Mountpoint for Amazon S3 by downloading and installing prebuilt packages using the command line, or using the Mountpoint for Amazon S3 CSI driver for Kubernetes. Other installation options are also available.
Mountpoint for Amazon S3 is only available for Linux operating systems.
The instructions for downloading and installing Mountpoint for Amazon S3 depend on which Linux operating system you are using.
Mountpoint is available directly in the Amazon Linux 2023 repository since AL2023 version 2023.9.20251110.
sudo dnf install mount-s3
mount-s3 --version
mount-s3 1.21.0+1.amzn2023
To download and install Mountpoint for Amazon S3 on RPM-based distributions, including Amazon Linux, follow these steps:
Download the Mountpoint for Amazon S3 package using the appropriate command for your architecture:
wget https://s3.amazonaws.com/mountpoint-s3-release/latest/x86_64/mount-s3.rpm
wget https://s3.amazonaws.com/mountpoint-s3-release/latest/arm64/mount-s3.rpm
Optionally, you can verify authenticity and integrity of the downloaded file. Identify the appropriate signature link depending on your architecture:
https://s3.amazonaws.com/mountpoint-s3-release/latest/x86_64/mount-s3.rpm.aschttps://s3.amazonaws.com/mountpoint-s3-release/latest/arm64/mount-s3.rpm.ascThen see Verifying the signature of the Mountpoint for Amazon S3 package below.
Install the package by entering the following command:
sudo yum install ./mount-s3.rpm
Verify that Mountpoint for Amazon S3 is successfully installed by entering the following command:
mount-s3 --version
You should see output similar to the following:
mount-s3 1.0.0
To download and install Mountpoint for Amazon S3 on DEB-based distributions, follow these steps:
Download the Mountpoint for Amazon S3 package using the appropriate command for your architecture:
wget https://s3.amazonaws.com/mountpoint-s3-release/latest/x86_64/mount-s3.deb
wget https://s3.amazonaws.com/mountpoint-s3-release/latest/arm64/mount-s3.deb
Optionally, you can verify authenticity and integrity of the downloaded file. Identify the appropriate signature link depending on your architecture:
https://s3.amazonaws.com/mountpoint-s3-release/latest/x86_64/mount-s3.deb.aschttps://s3.amazonaws.com/mountpoint-s3-release/latest/arm64/mount-s3.deb.ascThen see Verifying the signature of the Mountpoint for Amazon S3 package below.
Ensure that package index files are up to date by running the following command:
sudo apt-get update
Install the package by entering the following command:
sudo apt-get install ./mount-s3.deb
Verify that Mountpoint for Amazon S3 is successfully installed by entering the following command:
mount-s3 --version
You should see output similar to the following:
mount-s3 1.0.0
To download and install Mountpoint for Amazon S3 on SLES, follow these steps:
Download the Mountpoint for Amazon S3 package using the appropriate command for your architecture:
wget https://s3.amazonaws.com/mountpoint-s3-release/latest/x86_64/mount-s3.suse.rpm
wget https://s3.amazonaws.com/mountpoint-s3-release/latest/arm64/mount-s3.suse.rpm
Optionally, you can verify authenticity and integrity of the downloaded file. Identify the appropriate signature link depending on your architecture:
https://s3.amazonaws.com/mountpoint-s3-release/latest/x86_64/mount-s3.suse.rpm.aschttps://s3.amazonaws.com/mountpoint-s3-release/latest/arm64/mount-s3.suse.rpm.ascThen see Verifying the signature of the Mountpoint for Amazon S3 package below.
Install the package by entering the following command:
sudo zypper refresh && sudo zypper --no-gpg-checks install -y ./mount-s3.suse.rpm
Verify that Mountpoint for Amazon S3 is successfully installed by entering the following command:
mount-s3 --version
You should see output similar to the following:
mount-s3 1.0.0
To download and install Mountpoint for Amazon S3 on other Linux distributions, follow these steps:
Install the necessary dependencies. Consult your operating system documentation to install the FUSE and libfuse (v2) packages.
Download the Mountpoint for Amazon S3 package using the appropriate command for your architecture:
wget https://s3.amazonaws.com/mountpoint-s3-release/latest/x86_64/mount-s3.tar.gz
wget https://s3.amazonaws.com/mountpoint-s3-release/latest/arm64/mount-s3.tar.gz
Optionally, you can verify authenticity and integrity of the downloaded file. Identify the appropriate signature link depending on your architecture:
https://s3.amazonaws.com/mountpoint-s3-release/latest/x86_64/mount-s3.tar.gz.aschttps://s3.amazonaws.com/mountpoint-s3-release/latest/arm64/mount-s3.tar.gz.ascThen see Verifying the signature of the Mountpoint for Amazon S3 package below.
Install the package by entering the following command:
sudo mkdir -p /opt/aws/mountpoint-s3 && sudo tar -C /opt/aws/mountpoint-s3 -xzf ./mount-s3.tar.gz
Add the mount-s3 binary to your PATH environment variable. To do so, add the following line to your $HOME/.profile file:
export PATH=$PATH:/opt/aws/mountpoint-s3/bin
After adding this line, enter the following command:
source $HOME/.profile
Verify that Mountpoint for Amazon S3 is successfully installed by entering the following command:
mount-s3 --version
You should see output similar to the following:
mount-s3 1.0.0
To verify the authenticity and integrity of a downloaded Mountpoint for Amazon S3 package, follow these steps:
gpg command) on your host if it is not already available. GnuPG is installed by default on Amazon Linux AMIs.wget https://s3.amazonaws.com/mountpoint-s3-release/public_keys/KEYS
gpg --import KEYS
gpg --fingerprint [email protected]
673F E406 1506 BB46 9A0E F857 BE39 7A52 B086 DA5A
signature-link, use the appropriate signature link from the sections above.
wget signature-link
signature-filename from the previous step.
gpg --verify signature-filename
gpg --verify mount-s3.rpm.asc
Good signature. If the output includes the phrase BAD signature, re-download the Mountpoint for Amazon S3 package file and repeat these steps. If the issue persists, do not finish installing Mountpoint for Amazon S3. The output may include a warning about a trusted signature. This does not indicate a problem, only that you have not independently verified the Mountpoint for Amazon S3 public key.To use Mountpoint for Amazon S3 with applications running in a Kubernetes cluster, we recommend installing and using the Mountpoint for Amazon S3 CSI driver. You can install the CSI driver on a self-managed Kubernetes cluster by following its installation instructions, or if you use Amazon EKS, it is also available as an EKS managed add-on.
You can run Mountpoint for Amazon S3 in a Docker container using our provided Dockerfiles. We don't recommend this option, as running a FUSE file system like Mountpoint inside a container requires giving the container broad root-level privileges to your host system.
See Running Mountpoint for Amazon S3 in a Docker container for instructions on using Mountpoint with Docker.
We recommend always installing the latest Mountpoint for Amazon S3 release, but if you need to install a previous version, you can find links to them on the GitHub Releases page.
You can build Mountpoint for Amazon S3 from source. However, binaries built in this way are not officially supported by AWS.
sudo yum install -y fuse fuse-devel cmake3 clang git pkgconfig
sudo apt-get install -y fuse libfuse-dev cmake clang git pkg-config
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && source "$HOME/.cargo/env"
git clone --recurse-submodules https://github.com/awslabs/mountpoint-s3.git
cd mountpoint-s3
cargo build --release
target/release/mount-s3. Optionally, you can install this binary by copying it to the /usr/bin directory:
sudo cp target/release/mount-s3 /usr/bin/