Skip to content

AWS Lambda with Rust runtime

After analyzing existing options to run on AWS Lambda, was decided to try out with Rust language. It seems to be easier to setup and provides about the best price per request value comparable with C/C++/Go.

Tutorial plan

For each of the lesson I will try to make corresponding commit with name of lesson.

Let's start

First you need to get RustUp and install Rust with Cargo.

Second step will be installing cargo-lambda:

bash
cargo install cargo-lambda

All rights reserved. This tutorial is provided solely for educational purposes. You are free to adapt and modify the code examples to suit your needs. The tutorial text remains proprietary. Any reproduction, distribution, or publication, in whole or in part, without the author’s prior written consent is strictly prohibited.