News for hackers. Stuff that matters.
Re:Software Infrastructure 2.0: A Wishlist by lijok on Tuesday February 27, 2024 @03:04PM (#39529046)
Maybe I’m misunderstanding something but what you’re describing is what AWS Lambda has been able to do for a long time now. You can run an api in a docker container with no Lambda-specific code.
Re:Software Infrastructure 2.0: A Wishlist by dmattia on Tuesday February 27, 2024 @03:33PM (#39529472)
My understanding is that your docker image must have the lambda runtime interface client installed on the image in order to work.

It's not a huge step usually to add the RIC, but it's a bit more tied in to AWS than CloudRun is, which can run arbitrary docker images, if I understand.

Re:Software Infrastructure 2.0: A Wishlist by lijok on Tuesday February 27, 2024 @03:57PM (#39529830)
That's right - you have to package awslabs/aws-lambda-web-adapter into your docker image which proxies the API-GW/ALB requests through.