Chapter 8-More Serverless
Hour 1: Rust with Azure Functions
- Guest Lecture Alfredo Deza
- Deploy Rust on 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