Re:Lambda on hard mode: serverless HTTP in Rust
by lukevp on Saturday March 16, 2024 @08:11PM
(#39730619)
Function URLs aren’t part of lambda, they’re just a thin abstraction around API Gateway v2 (http APIs) that allow all calls, and have randomly generated domains, so you’re not gaining anything and losing some functionality by doing this instead of running an API GW with lambda proxy integration yourself. If setting up API GW is too difficult, you could use SAM or Serverless Framework to automatically provision it. Then you can have a real domain, SSL, failover, endpoint validation, etc.
Re:Lambda on hard mode: serverless HTTP in Rust
by arrakeenrevived on Saturday March 16, 2024 @09:21PM
(#39731043)
>so you’re not gaining anything and losing some functionality by doing this instead of running an API GW
You're gaining the fact that Function URLs are free while APIGW can be pretty costly, as well as the fact that Function URLs are fantastically less complex than APIGW if your use cases fit it.
Re:Lambda on hard mode: serverless HTTP in Rust
by tlarkworthy on Sunday March 17, 2024 @02:01AM
(#39732269)
Function URLs are not limited to 30 seconds. That's massive
fundamentally it's a HTTPS server too, you can actually invoke them with direct HTTPS calls, no SDK required. [1]
[1]: https://docs.aws.amazon.com/lambda/latest/dg/urls-invocation...