AWS Lambda Express Server Setup!
HTML-код
- Опубликовано: 5 окт 2024
- Hello RUclips!
Today I will be showing you how to setup your express server on AWS Lambda. Why AWS Lambda? Its so much more cost efficient, you only pay for what you use, especially for small scale applications. You would get billed per minute if this were to run on an actual server.
GitHub Code: github.com/flo...
For those who are following this tutorial and not able to make it work pls note :
1) He has "$default" route already created, which you have to create manually.
2) Then, just create "$default" deploy stage. If you don't create it, it will not work and you might get {"message" : not found} error msg when you try to hit the endpoints.
Can you elaborate more on this, I created the $default route and deployed but it still didn't work, maybe I did it wrong?
Very Crisp and Concise Video. 😇😇
Grate Lesson. I solve my issue. Thank you very much
Glad it helped!
Great video. Thanks for this. How would you prevent bots and spammers from causing excessive charges due to lambda call spam?
Amazon has a service called Web Application Firewall. You can use that in front of your API gateway to detect and prevent malicious request. But I wouldn't worry about it to much because AWS lambda cost is super low, $0.20 per 1M requests.
@@tdotcode3783 Thanks!
Thank you! But your screen is too small
Good!
Thanks!