A demonstration deployment of Haskell on AWS Lambda
A demonstration has been created to showcase how to deploy Haskell applications on AWS Lambda using OCI container images. The project emphasizes a structured approach to infrastructure as code and CI/CD processes, providing recommendations for effective deployment. It also highlights limitations, such as the focus on x86_64-linux architecture and the need for proper AWS credentials management.
- ▪The demonstration provides an end-to-end guide for building and deploying Haskell applications on AWS Lambda.
- ▪It recommends using a two-workspace pattern to separate infrastructure code from the build and deployment lifecycle.
- ▪The demo is limited to x86_64-linux Lambda functions, which may not be cost-effective compared to aarch64-linux alternatives.
Opening excerpt (first ~120 words) tap to expand
#Lambda on Lambda: Serverless Haskell on AWS This repository is an end-to-end demonstration of how to build OCI container images for deployment to AWS Lambda, as well as OpenTofu workspaces to provision the AWS resources. The container images can also run under Docker for local testing. It is designed to be a "concept sketch" of what real infrastructure might look like: more than a ClickOps guide that won't scale, but not a full end-to-end deployment where it's too hard to understand all the moving parts. The idea is that you will be able to map each part of this demonstration onto your IaC and CI/CD processes in a way that makes sense for your tools.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at Sr.