- Crafting Lambda Functions In Rust (e-book)
- Posts
- 🦀 Chapters 3 and 4 are here!
🦀 Chapters 3 and 4 are here!
Let's build a URL shortener with SAM, API Gateway, and DynamoDB
If you are reading this is probably because you bought a copy of the e-book “Crafting Lambda Functions in Rust” by Luciano Mammino and James Eastham: A practical guide on how to build efficient, sustainable, cost-effective serverless AWS solutions with the Rust programming language. If not, and this topic sounds interesting to you, check out the book website at rust-lambda.com.
Hello, dear serverless friend 👋
We have been quiet for some time, but we have good news! After working relentlessly for over a month and producing 60 commits, 63 new pages, 42 new code snippets, and 2 new challenges, we are excited to announce a new rich release of Crafting Lambda Functions in Rust! 🎉
🗞️ What’s new
This release features 2 new chapters: Chapter 3 Infrastructure as Code with SAM and Chapter 4 Integrating with external systems.
In these 2 chapters, we will build a rudimentary yet fully functional URL shortener using, of course, Lambda & Rust but also API Gateway and DynamoDB. We do that by using Infrastructure as Code (IaC) using SAM. Yes, that lovely and happy squirrel you see there is the SAM mascot!
Finally, we will learn all the intricacies of using the AWS SDK for Rust and how to use the Reqwest crate to make arbitrary HTTP requests from our Lambda functions. We will use this knowledge to create a little scraper that can fetch information about the links we create in our application.
Of course, we also took this opportunity to fix various typos and make various improvements around the book. Special thanks to Michael Di Prisco, Roberto Gambuzzi, and Richard Davison for their awesome suggestions! Please keep sending us your suggestions and corrections through our Discord community, by email, or by reaching out to us on our social channels!
Doesn’t this sound like the perfect summer read?! 🤓 ☀️
📦 How to get the new release
If you already own a copy of Crafting Lambda Functions in Rust, getting the new release should be a breeze!
Go to Gumroad, login, and visit your product library
This is the list of the products you have purchased, you should see “Crafting Lambda functions in Rust (e-book)“ in there.
If you click on it you will get to a page with all the download links
You will find all the updated code examples in our code repository.
Let us know if you have any trouble with this! We are here to help!
👂 We want to hear your feedback
It’s really important to us to hear your feedback. Even if you don’t have any suggestions about the content, let us know what you think about the book so far! Which parts did you like the most? Was there something you didn’t like? Was there something you wish we had included? Don’t be shy and reach out on Discord with your precious feedback!
If you feel particularly generous, you can also leave us a review on Gumroad. That would help us a lot! 🤩
🔮 What’s next
We are going to rejig a bit the chapter structure! We have figured out that we can probably provide you with a better experience by focusing on code structure and testing next, so this will be the focus for chapters 5 and 6! The idea is to keep building our URL shorter application and show you how we can make it better and closer to a “production-ready™️” serverless application!
A small spoiler for you. We have some professional reviewers who will join us on this project soon! We can’t wait to share their names with you!
Stay tuned! 😁
— Luciano & James
Reply