Replacing FastAPI with Rust: Part 6 — AWS Lambda

The Rust mascot ‘Ferris the Crab’ holds the logos for FastAPI and Rust and is smooshing them together.
Cover image created by me using Ferris the Crab, the Rust logo, and the FastAPI logo.

This post is part of a series. If you haven’t already, you may want to read the previous post before continuing.

The last blog post was a bit long, so I figured I’d take a bit of a break and tackle a shorter topic. In this post, we’ll take a look at two different methods to deploy our Rocket application to AWS Lambda: the SAM CLI and AWS CDK.