Build a Serverless REST API with Rust & AWS Lambda

Published: 12 February 2023
on channel: James Eastham
4,306
117

Hi, I'm James. Welcome to another video in this series on building serverless applications on AWS with Rust.

In this tutorial, you will learn how you can deploy a more complete serverless API with multiple endpoints. Each API endpoint is handled by its own individual Lambda function, but we deploy all functions from the same codebase, Rust project and SAM Template.

00:00 - Introduction
00:30 - What are we building
01:30 - Binary Targets
02:30 - Project Structure Changes
03:00 - Add a Shared Struct
04:10 - Update Cargo.toml
05:10 - Implement the GET handler
08:25 - Compile the code
09:10 - Update the SAM template
10:00 - Deploy & Test
11:15 - Using Shared code


Links
GitHub Link - https://github.com/jeastham1993/learn...
Install Rust - https://www.rust-lang.org/tools/install
Install Cargo Lambda - https://www.cargo-lambda.info/guide/g...
Install AWS SAM - https://docs.aws.amazon.com/serverles...
Binary Targets - https://doc.rust-lang.org/cargo/refer...

Web - https://jameseastham.co.uk
Twitter -   / plantpowerjames  
LinkedIn -   / james-eastham  


On this page of the site you can watch the video online Build a Serverless REST API with Rust & AWS Lambda with a duration of hours minute second in good quality, which was uploaded by the user James Eastham 12 February 2023, share the link with friends and acquaintances, this video has already been watched 4,306 times on youtube and it was liked by 117 viewers. Enjoy your viewing!