Dart on AWS Lambda

Aseem Wangoo
Flutter Community
Published in
6 min readDec 21, 2021

--

Dart on AWS Lambda

Article here: https://flatteredwithflutter.com/dart-on-aws-lambda/

We will cover briefly:

  1. Dart runtime for AWS Lambda
  2. Write lambda (using Dart)
  3. Adding a POST endpoint
  4. Deploy lambda on AWS

Note: This article assumes the reader has an AWS account and knows about the serverless framework

Dart on AWS Lambda

Dart runtime for AWS Lambda

With the introduction of custom AWS Lambda runtimes, it is possible to implement a runtime in any programming language.

AWS Lambda provides an HTTP API for custom runtimes to receive invocation events and send response data back within the Lambda execution environment.

Using the custom AWS Lambda runtime, we can also run Dart on Lambda with the recently published runtime for the Dart programming language.

  • AWS released a pub package aws_lambda_dart_runtime that packages the dart runtime to build lambda functions with AWS events.

--

--