Current thoughts and notes about things I’m learning
Rust Lambda Hello World Tests
This is my third and final post in this series about getting started with writing Lambda’s in Rust. So far, we have created a new lambda, cross compiled it to run in the AWS Lamdba environment, and added some logging so we can debug issues and see how the code is executing. In this final post, we will add tests and setup Github Actions to verify these test on any Pull Request....
Rust Lambda Hello World Logging
In my previous article, I started a tutorial on creating a lambda in Rust. If you missed it, you can catch up on that article here -> Rust Lambda Hello World Lets add some logging Before we go much further with our Rust code, let’s add some logging. We are take advantage of the tracing library which is already integrated into many of the lambda dependencies. Details about the tracing library are out of scope for this article, but you can learn more from the tracing crate docs...
Rust Lambda Hello World
Getting started with AWS Lambda Rust Runtime I just finished a quick tutorial to create a hello world lambda using the AWS Lambda Rust Runtime Github repo for the tutorial If you’re in a rush… You can view the completed source code here: rust_lambda_hello_world Overview I think that Rust is a great fit for serverless and I wanted to start documenting how to use Rust in a lambda. Lambdas are a great opportunity to test out a new language without making a huge commitment in terms of time or resources....
My First Post
I started learning Serverless with Rust. Here is a quick tutorial I started creating, rust_lambda_hello_world. This is a simple “hello world” lambda that uses the AWS Lambda Rust Runtime. It walks through creating the new project, adding crates, and how to cross compile for Amazon Linux 2 on x86. Finally, create a new AWS lambda function and invoke using the cli. It was fun to get this started and there are a lot of additional things I can add around testing, logging....