Lambda on Lambda: Serverless Haskell on AWS

Lobsters Hottest Tools

Summary

Jack Kelly provides an end-to-end example and talk slides for deploying Haskell functions as AWS Lambda using OCI containers and OpenTofu.

<p><a href="https://lobste.rs/s/kizott/lambda_on_lambda_serverless_haskell_on">Comments</a></p>
Original Article
View Cached Full Text

Cached at: 05/25/26, 07:05 AM

# Lambda on Lambda: Serverless Haskell on AWS | Blog Source: [http://jackkelly.name/blog/archives/2026/06/24/lambda_on_lambda_serverless_haskell_on_aws/index.html](http://jackkelly.name/blog/archives/2026/06/24/lambda_on_lambda_serverless_haskell_on_aws/index.html) Posted on June 24, 2026 by Jack Kelly Earlier this week, I gave a talk at the[Melbourne Compose Group](https://luma.com/melbourne-compose)\([mailing list](https://groups.google.com/g/melbourne-compose-group)\) about using Haskell to implement[AWS Lambda](https://aws.amazon.com/lambda/)functions\. Lambda is AWS’s “function\-as\-a\-service offering”, where your code runs in an isolated “microVM” on AWS\-managed infrastructure and you pay only for the resources used while your code runs\. As a mature AWS service, Lambda has a lot of features and knobs, and many of the blog posts I’ve read about deploying to Lambda were closer to “draw two circles” than[“how to draw the owl”](https://knowyourmeme.com/memes/how-to-draw-an-owl)\. I’ve wanted to address this gap for a long time\. To prepare for the talk, I built an[end\-to\-end example](https://git.sr.ht/~jack/lambda-on-lambda)of how to build Haskell functions \(plus some useful AWS utilities\) into OCI\-format containers, upload those containers to AWS, and use OpenTofu to configure Lambda Functions that use them\. It’s heavily commented and I hope it’s useful\.[Slides from the talk](http://jackkelly.name/talks/lambda-on-lambda/lambda-on-lambda.pdf)are also available\. The Compose organisers and audience were great — lots of good questions and many of us kept the conversation going over dinner on Lygon St\. If you’re at all interested in FP, I’d recommend checking them out\.

Similar Articles

A curmudgeon tries a language server

Hacker News Top

A developer reflects on their traditional coding workflow and explores how using language servers in Haskell can approximate the interactive experience of Lisp programmers.