Announcing Swift AWS Lambda Runtime

I am pleased to announce the launch of a new open-source Swift AWS Lambda Runtime. Details can be found on

The post is authored by @tomerd, but the work was brought forth by several members of the community, with a particular shout out to @fabianfett.

Questions about the post can be asked here.


Well done, big step to serverless computing.

1 Like

This is super cool, the APIs in the blog post are :100:.

I think @tomerd's bio has a couple typos.

Tom Doron is a member of the Swift Core Team and the Swift Server Work Group . He manages a team working on server-side Swift libraries at Apple.

This is really awesome news, especially for iOS developers that don't want to deal with server deployment and maintenance!!!

Also, is this code sample supposed to say "decoding" instead of "encoding"?

// Response, uses Codable for transparent JSON encoding
private struct Response: Codable {
  let message: String

And is it necessary for the types to conform to Codable rather than the more specific protocols?

Sorry, that was the corrected version.

1 Like

is this code sample supposed to say "decoding" instead of "encoding"?

the response in this case is on the server side, so being encoded into JSON bytes that will sent to the client

is it necessary for the types to conform to Codable rather than the more specific protocols?

Encodable and Decodable are sufficient:

This is fantastic news!

Awesome job! This is really exciting.

This sounds great! I am a complete n00b at Backend dev and I only know the ultra basics of AWS Lambdas.

Maybe we could add just a section to the blog, explaining in one or two sentences what this would mean for me as an iOS app developer? That would be very helpful IMO. Would something like the following statement be correct? - “thanks to this new project you can easily yourself write a Backend yourself for your iOS/macOS apps“. This would have help promting this great project to Backend ignorant fools like me :)



Can anyone recommend a good tutorial for clueless idiots like myself?


Well done! Awesome.

Hi, I adapted a demo example previously made with my framework Swift-Sprinter to work with the new runtime.
The demo deploys a Serverless REST API using swift-aws-lambda-runtime and aws-sdk-swift.

@Sajjon @kiel Try out this.

@tomerd if you like it I can contribute to adapt it and put it in the official repository.


Hey can you provide a blog where for first time learners, where we can follow the steps to achieve building our own lambda functions in AWS.


Hi @Dheeraj, @Sajjon and everyone interested,

I've just published a getting started guide on my website, that hopefully addresses most of your questions.

Let me know if I missed anything...


that would be awesome!


This is excellent and it might save me from having to split backend implementations (previously using Go, JavaScript, Python, and etc.)!!

I know there is a community-driven AWS Swift SDK. Are there any efforts, related to this AWS Lambda Runtime project, to create an official AWS Swift SDK?

Most of the Lambda functions I write utilize multiple AWS services. This Lambda support is a huge step forward. Getting an official SDK (and having that SDK baked in to the Swift Lambda environment) will really round-out this into a operationally successful tool in many developer’s tool belts. :sunglasses:

Take a look at:

1 Like
Terms of Service

Privacy Policy

Cookie Policy