4 ms·
Does this mean one can connect to a specific Lambda directly without having an API gateway and/or ELB in front?
by nnx 5y ago
Does this mean one can connect to a specific Lambda directly without having an API gateway and/or ELB in front?
- StreamBright 5y agoI dont think so.
- Dunedan 5y agoYes you can, however you need IAM credentials which permit invoking the AWS Lambda Function and you need to sign the request using SigV4 with these credentials. There is a somewhat incomplete answer on Stack Overflow for a similar question: https://stackoverflow.com/a/57809234 https://stackoverflow.com/a/57809234
- tupac_speedrap 5y agoNot right now but I did read that AWS were planning to allow use of lambdas like this without a ELB fronting them in the future.
- tyingq 5y agoThey accidentally released (then later pulled back) some documentation about "Lambda Function URLs" back in November, so I imagine they are close: https://web.archive.org/web/20211119230509/https://docs.aws.amazon.com/lambda/latest/dg/invocation-urls.html https://web.archive.org/web/20211119230509/https://docs.aws....
- WatchDog 5y agoThis change doesn't really do anything to remove the need for an API gateway or ELB. However, with some Javascript it has always been possible to call a lambda directly from a web browser, it's just a bit complicated, and you can't use it to act like a general http webserver, the way you can with a lambda "proxy" integration. https://www.mbejda.com/invoking-aws-lambdas-on-the-browser-client/ https://www.mbejda.com/invoking-aws-lambdas-on-the-browser-c...
- lysecret 5y agoI was always doing that using the python boto3 api. Just recently switched to API Gateway for some public endpoints and rest apis.