FUNCTION URLs - Authenticating and Securing | AWS Lambda | .NET ON AWS | AWS Serverless | Amazon
HTML-код
- Опубликовано: 5 авг 2024
- Hey 👋A AWS Lambda Function URL is a dedicated HTTP(S) endpoint for your Lambda function.
When enabling Function URLs Lambda automatically generates a unique URL endpoint. Once you create a function URL, its URL endpoint never changes. Function URLs are a good choice for a single-function microservice with a public endpoint that doesn’t require the advanced functionality of API Gateway.
In this video let's learn how to set up authentication on Function URLs using AWS_IAM Auth Type. Once enabled we will see how to use IAM User credentials to invoke the Function URL securely. We will see this using Postman and also from another .NET application. I will also show how to use credentials configured in the environment the application is running on.
00:00 Introduction
01:30 Recap of Function URL
02:19 AWS_IAM Auth Type
03:04 Making POST Request
03:55 Adding IAM User
04:53 Request from Postman
06:15 IAM Permissions
08:54 Request from .NET App
🔗Postman - www.postman.com/
🔗AwsSignatureVersion4 NuGet library - github.com/FantasticFiasco/aw...
Additional Watching
📹Function URLs - • AWS Lambda - FUNCTION ...
📹AWS Lambda - • AWS LAMBDA For The .NE...
📹Lambda Udemy Course - bit.ly/aws-lambda-udemy
📹AWS Credentials - • AWS CREDENTIALS: How T...
📹AWS CloudWatch Logs - • Amazon CLOUDWATCH LOGS...
📹AWS CloudFormation - • AWS CLOUDFORMATION - B...
📹AWS Series - • .NET on AWS
Come say hi! ✋
🌍 Blog - rahulpnath.com/
✉ Subscribe to my Newsletter - www.rahulpnath.com/subscribe
🐦Twitter - / rahulpnath
📸Instagram - / rahulpnath
🛠️ Uses rahulpnath.com/uses
🎥 Recording Setup and Workflow - www.rahulpnath.com/blog/youtu... Хобби
man, u r my hero
Great to see you back here Rafik. Thank you!
thans a lot!
Thank you Shawn! Hope you are liking the AWS Series bit.ly/aws-net-series
Awesome video! Is it possible to throttle Lambda Function URL for specific users?
You might have to switch to first class API Gateway to achieve for specific users docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-request-throttling.html
Not sure if you can achieve that with Function URLs
@@RahulNath Unfortunately, API Gateway won't help me because of 29s timeout limit. My requests take about 50s to process and cannot be reduced, thats why I have to use Function URLs. So that critical functionality missed here and there.
@@MikeNugget is it possible to move the processing of the request async via messages ? What is the business scenario - any more details in that side ?