Chapter 8-More Serverless

Hour 1: Rust with Azure Functions

Hour2: Step Functions with Rust

Marco, Polo Rust Step Function

Code here: https://github.com/nogibjj/rust-mlops-template/blob/main/step-functions-rust/README.md

  • create new marco polo lambda cargo lambda new rust-marco

Then build, deploy and invoke: make release make deploy and make invoke:

(.venv) @noahgift ➜ /workspaces/rust-mlops-template/step-functions-rust/rust-marco (main) $ make invoke
cargo lambda invoke --remote \
                --data-ascii '{"name": "Marco"}' \
                --output-format json \
                rust-marco
{
  "payload": "Polo",
  "req_id": "20de1794-1055-4731-9488-7c9217ad195d"
}
  • create new rust polo lambda cargo lambda new rust-polo

Screenshot 2023-03-07 at 12 06 12 PM

Screenshot 2023-03-07 at 12 08 48 PM Walkthrough

GCP Cloud Functions