Back to Browse

API Gateway Custom Authorizers with Rust & AWS Lambda

1.6K views
Feb 26, 2023
13:14

Hi, I'm James. Welcome to another video in this series on building serverless applications on AWS with Rust. When building API's with Amazon API Gateway there are a couple of options for authorization. One of which, is the ability to define an AWS Lambda function to provide your authorization logic. Typically, you will want auth to add as little overhead to your application as possible, both from a cost and performance perspective. This is a perfect use case for Rust & AWS Lambda. High performance with a low memory footprint enables developers to add low latency custom authorization to their API's using Rust & Lambda. Links GitHub Link - https://github.com/jeastham1993/rust-on-serverless/tree/main/src/axum-lambda-server-side-rendering Install Rust - https://www.rust-lang.org/tools/install Install Cargo Lambda - https://www.cargo-lambda.info/guide/getting-started.html Install AWS SAM - https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/install-sam-cli.html API Gateway Custom Authorizers - https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-use-lambda-authorizer.html Web - https://jameseastham.co.uk Twitter - https://twitter.com/plantpowerjames LinkedIn - https://www.linkedin.com/in/james-eastham/

Download

1 formats

Video Formats

360pmp421.2 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

API Gateway Custom Authorizers with Rust & AWS Lambda | NatokHD