- Newest
- Most votes
- Most comments
Hi, Lambda custom runtimes allow you to use whichever runtime you want.
I personally did a project using GnuCobol as a Lambda runtime. The project is here: https://github.com/didier-durand/lambda-cobol It provides you with a full implementation of a Custom Lambda runtime
It was detailled in 2 AWS blog posts:
- https://aws.amazon.com/blogs/opensource/serverless-cobol-rejuvenating-legacy-code-with-open-source-software/
- https://aws.amazon.com/blogs/opensource/serverless-cobol-rejuvenating-legacy-code-with-open-source-software-part-2/
I hope that this helps to implement your own with Swift
Lambda custom runtimes are fully supported by AWS Lambda. The Swift Lambda runtime (to which I contributed and that I am using) is developed by Apple itself. While I agree Apple is a third-party here, it's a significant one (not a dorm room project :-) ) They are quite reactive to provide support when you file an issue on GitHub.
The big downside of using Lambda custom runtime (all of them, not only the Swift one) is that you are in charge to manage it. i.e. if when there is a new version of Swift, or a new version of the runtime library, it is your responsibility to update all the Lambda functions. That's the main difference with the Lambda managed runtime (let's say NodeJS or Python), AWS Lambda updates the runtime automatically for you.
answered 3 years ago
Relevant content
asked 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated a year ago

BTW, on the level of support, AWS will not support a third-party library but will support underlying Lambda runtime as any standard AWS component in case you face issues with its features