An AWS Lambda alternative for Rust and C++ services
Rust functions from the repository, not from a ZIP.
On AWS Lambda, Rust and C++ run on an OS-only runtime: you build the binary with a runtime client, package it and attach an IAM execution role. LILY takes the GitHub repository instead, compiles it into WebAssembly functions and runs them directly on bare metal. Each function scales on its own load, and EU customers can stay on servers in Germany.
On this page
Why teams look for an AWS Lambda alternative
Rust and C++ arrive as a binary you package yourself
Lambda has managed runtimes for Java, Python, Node.js, .NET and Ruby. Rust and C++ compile to a native binary that runs on an OS-only runtime, and the binary must include a runtime interface client; AWS lists the C++ client as experimental.[2]
For Rust, AWS points to Cargo Lambda for building and deploying, a third-party open-source extension to Cargo.[1]
Each function also runs under an IAM execution role, which grants it permission to reach AWS services such as CloudWatch Logs.[4]
Start-up time is billed too
Since 1 August 2025, Lambda counts the INIT phase in billed duration for on-demand functions on managed runtimes packaged as ZIP archives. Functions on custom runtimes and container images were already billed for it.[5]
Duration is billed at $0.0000166667 per GB-second and requests at $0.20 per million in the AWS example prices, after a free tier of one million requests and 400,000 GB-seconds a month.[6]
AWS Lambda and LILY side by side
AWS Lambda facts as AWS Lambda publishes them, checked 22 November 2026. LILY facts as our docs and pricing page state them.
| Compared | AWS Lambda | LILY |
|---|---|---|
| What you deploy | A ZIP archive or container image per function, with its own configuration.[1] | A GitHub repository, from the console or with lly deploy in a clone. |
| Rust and C++ | Native binaries on an OS-only runtime with a runtime interface client; AWS marks the C++ client experimental.[2][1] | Compiled from your repository in full, together with C. |
| Permissions | An IAM execution role per function.[4] | Every function runs in its own isolated WebAssembly runtime. |
| Billing | Requests plus GB-seconds of duration, INIT phase included.[6][5] | A monthly plan sets the frame and credits bill what actually ran. |
| HTTP routing | A function URL, or an API gateway, configured for the function.[3] | Routing is set up from what the program does. Each app gets a lilylabs.app address. |
| Free use | One million requests and 400,000 GB-seconds a month.[6] | A free tier with a fixed quota and no card. |
- What you deploy
- AWS LambdaA ZIP archive or container image per function, with its own configuration.[1]
- LILYA GitHub repository, from the console or with
lly deployin a clone. - Rust and C++
- AWS LambdaNative binaries on an OS-only runtime with a runtime interface client; AWS marks the C++ client experimental.[2][1]
- LILYCompiled from your repository in full, together with C.
- Permissions
- AWS LambdaAn IAM execution role per function.[4]
- LILYEvery function runs in its own isolated WebAssembly runtime.
- Billing
- AWS LambdaRequests plus GB-seconds of duration, INIT phase included.[6][5]
- LILYA monthly plan sets the frame and credits bill what actually ran.
- HTTP routing
- AWS LambdaA function URL, or an API gateway, configured for the function.[3]
- LILYRouting is set up from what the program does. Each app gets a lilylabs.app address.
- Free use
- AWS LambdaOne million requests and 400,000 GB-seconds a month.[6]
- LILYA free tier with a fixed quota and no card.
Moving an app from AWS Lambda to LILY
A Rust HTTP service on Lambda moves with its repository. LILY compiles it from the source, detects the app and shows its variables and port before the first deploy.
- 1
Connect the GitHub repository in the console, or run lly deploy in a clone of it.
- 2
Confirm the apps LILY detected, with their variables and the port they listen on.
- 3
LILY builds from GitHub and follows the build until the app is live on a lilylabs.app address. Add your own domain when you are ready.
# install, then sign in
curl -fsSL https://get.lilylabs.io/install.sh | sh
lly login
# in a clone of your GitHub repository
lly deploy
lly attach <app>Commands as the CLI docs list them. The console walks through the same steps in the browser, described in How to deploy on LILY.
When AWS Lambda is the better choice
Your functions react to S3 uploads, SQS queues or DynamoDB streams. Lambda's event sources inside AWS are its strength, and LILY does not connect to them natively.
Your functions are written in Java or .NET, which Lambda runs on managed runtimes, or in Python, which LILY does not support yet.
What LILY runs today
- C, C++ and Rust compile to it in full.
- Most JavaScript runs too, Next.js included.
- Python is not supported yet.
- Apps that ship as Docker images or need GPUs are not a fit yet.
Yes. AWS documents Rust on Lambda as a native binary built with the Rust runtime client and deployed to an OS-only runtime, often with Cargo Lambda, a third-party tool.
Push it to GitHub, then connect the repository in the console or run lly deploy in a clone. LILY detects the app, shows its variables and port for you to confirm, compiles it and follows the build until it is live.
Since 1 August 2025, the INIT phase counts toward billed duration for on-demand functions on managed runtimes with ZIP packaging. Custom runtimes and container images were already billed for it.
LILY is live in early beta and changes quickly. Every release is listed in the changelog.
Sources, checked 22 November 2026
- [1] AWS Lambda Developer Guide, Building Lambda functions with Rust
- [2] AWS Lambda Developer Guide, Lambda runtimes
- [3] AWS Lambda Developer Guide, Creating and managing Lambda function URLs
- [4] AWS Lambda Developer Guide, Defining Lambda function permissions with an execution role
- [5] AWS Compute Blog, AWS Lambda standardizes billing for INIT Phase
- [6] AWS, AWS Lambda pricing
AWS Lambda is a trademark of its owner. LILY is not affiliated with or endorsed by AWS Lambda. Prices and limits change; the linked pages are the current word.