4 ms·
This is a really cute use for Lambda, and a great working example of the kinds of limitations one could expect to bump into. I was recently asked to evaluate L
by _wmd 10y ago
This is a really cute use for Lambda, and a great working example of the kinds of limitations one could expect to bump into.
I was recently asked to evaluate Lambda for use in hosting a bunch of existing web sites, and just from README.md, I'm glad I backed the hell away from that pandora's box before opening it.
- RhodesianHunter 10y agoYeah, that's not really what it's intended for so that makes sense. Lambdas are great for anything you can wire them up to in AWS, but using them with API Gateway is a pain. For things like processing files or images as they appear in an S3 bucket, feeding or eating from a queue, replacing CRON jobs or small ETLs, and about a dozen other uses I have found them to be amazing.
- Ysx 10y agoBinary uploads are a new APIG feature[1] awaiting Serverless support[2]. Surprised WWW-Authenticate headers aren't passed through. May be possible with custom authorizers[3], though it's extra complexity. --- [1] https://aws.amazon.com/blogs/compute/binary-support-for-api-integrations-with-amazon-api-gateway/ https://aws.amazon.com/blogs/compute/binary-support-for-api-... [2] https://github.com/serverless/serverless/issues/2797 https://github.com/serverless/serverless/issues/2797 [3] http://docs.aws.amazon.com/apigateway/latest/developerguide/use-custom-authorizer.html http://docs.aws.amazon.com/apigateway/latest/developerguide/...