News for hackers. Stuff that matters.
Re:New for AWS Lambda – Container Image Support by mcintyre1994 on Tuesday December 01, 2020 @01:01PM (#25267800)
This is awesome! Last I looked into it AWS' SAM tooling for running locally actually worked by using third-party docker images that were somehow built by ripping the file system from Lambda, and hooking your code up as a volume (and optionally adding layers as volumes) and then pointing `aws lambda invoke` commands at it. It was all built on https://hub.docker.com/r/lambci/lambda/

Having official base images, being able to think about lambdas as just a docker container in terms of tooling, and losing all the complexity associated with Lambda's custom code deployment logic will be a massive win.

Re:New for AWS Lambda – Container Image Support by Corrado on Tuesday December 01, 2020 @02:49PM (#25269059)
Agreed! Testing AWS Lambda functions that have any complexity to them at all is frustrating. Even using the SAM tools, I found it difficult to test reliably. Specifically, things like environment variables and bundled executables were a pain to get exactly correct. I'm looking forward to using containers in Lambda functions and improving the tooling.
Re:New for AWS Lambda – Container Image Support by julianwood on Tuesday December 01, 2020 @02:42PM (#25268976)
Yes, with the new container image support, you can use the same docker or ECR images to build, and test your functions locally, and run them on Lambda. Consistent images is super useful.