Installation
This guide will walk you through the steps to install Faast.
Prerequisites
- A Linux machine (x86_64) with a recent version of the Linux kernel (>= 4.15).
- KVM must be installed on your machine.
- A recent version of Docker (>= 18.09) installed on your machine if you want to use Docker.
Get Faast
Download the docker image (recommended)
You can download the latest docker image of Faast from the Docker Hub:
bash
docker pull faastrt/lambdo
You can also build the docker image from the source code:
bash
git clone https://github.com/faast-rt/lambdo
cd lambdo
docker build -t faastrt/lambdo .
You can skip the rest of this section and go to the next page.
Download from the latest release
You can download the latest release of Faast from the releases page (opens in a new tab).
bash
curl -O https://github.com/faast-rt/lambdo/releases/latest/download/lambdo-x86_64-unknown-linux-musl.tar.gz
tar xvf lambdo-x86_64-unknown-linux-musl.tar.gz
You can skip the rest of this section and go to the next page.
Build from source
You can build Faast from the source code.
- You will need to install Rust (via Rustup) and the musl target.
- You will need to install the
pkg-config libudev-dev protobuf-compiler
package on your system.
bash
git clone https://github.com/faast-rt/lambdo
cd lambdo
cargo build -p api --release --target x86_64-unknown-linux-musl
The binary will be available at target/x86_64-unknown-linux-musl/release/api
.
💡
In the next section, you will see how to configure and run Faast.