Sebastien Stormacq

Server Side Serverless in Swift

What if you could write your entire stack in Swift? Learn how to build, package, and deploy serverless applications on AWS Lambda using your existing skills.

Server Side Serverless in Swift
#1about 3 minutes

Understanding the shift to serverless backends for mobile apps

Modern mobile apps rely on backend services, and serverless computing eliminates the cost and maintenance of traditional servers.

#2about 2 minutes

Exploring the four core principles of serverless architecture

Serverless is defined by four key characteristics: no server management, automatic scaling, high availability, and a pay-for-value pricing model.

#3about 3 minutes

An overview of AWS Lambda for serverless compute

AWS Lambda is a managed service that runs your code in response to events, handling scalability and charging only for execution time.

#4about 3 minutes

A quick demo of creating a Lambda function

A walkthrough of the AWS console shows how to create, configure, test, and deploy a simple "hello world" Lambda function using Python.

#5about 5 minutes

How to run Swift code on AWS Lambda

AWS Lambda Custom Runtimes enable running any programming language, and the official Swift server-side library provides the necessary bootstrap code.

#6about 6 minutes

Implementing different handler types in the Swift runtime

The Swift Lambda runtime offers multiple handler protocols, from simple closures for ease of use to high-performance event loop handlers for advanced control.

#7about 4 minutes

Building and packaging a Swift binary for Lambda

Use a Docker container with the Swift compiler for Amazon Linux to build your binary, then package it with all required shared libraries into a zip file.

#8about 5 minutes

Using the Slam tool to scaffold Swift Lambda projects

The `slam` command-line utility simplifies project creation by scaffolding all necessary files, directories, and Docker configurations for a new Swift Lambda function.

#9about 9 minutes

Deploying functions with the Serverless Application Model (SAM)

The AWS Serverless Application Model (SAM) allows you to define your entire serverless application, including functions and gateways, as infrastructure as code for repeatable deployments.

#10about 6 minutes

Calling other AWS services with the Soto Swift SDK

The community-driven Soto project provides a Swift SDK for AWS, enabling your Lambda function to easily interact with other services like Amazon S3.

#11about 3 minutes

Recap of building server-side serverless Swift applications

A summary of the key concepts covered, from understanding serverless principles to building, deploying, and extending Swift applications on AWS Lambda.

Related jobs
Jobs that call for the skills explored in this talk.

Featured Partners

Related Articles

View all articles
CH
Chris Heilmann
With AIs wide open - WeAreDevelopers at All Things Open 2025
Last week our VP of Developer Relations, Chris Heilmann, flew to Raleigh, North Carolina to present at All Things Open . An excellent event he had spoken at a few times in the past and this being the “Lucky 13” edition, he didn’t hesitate to come and...
With AIs wide open - WeAreDevelopers at All Things Open 2025
CH
Chris Heilmann
All the videos of Halfstack London 2024!
Last month was Halfstack London, a conference about the web, JavaScript and half a dozen other things. We were there to deliver a talk, but also to record all the sessions and we're happy to share them with you. It took a bit as we had to wait for th...
All the videos of Halfstack London 2024!
CH
Chris Heilmann
WeAreDevelopers LIVE days are changing - get ready to take part
Starting with this week's Web Dev Day edition of WeAreDevelopers LIVE Days, we changed the the way we run these online conferences. The main differences are:Shorter talks (half an hour tops)More interaction in Q&AA tips and tricks "Did you know" sect...
WeAreDevelopers LIVE days are changing - get ready to take part
BR
Benjamin Ruschin
What Developers Really Need to Create Great Code Demos
Every developer on earth has, at some point, had another developer to thank for a breakthrough, a success, an aha moment they wouldn’t have had without coming across that blog post, that open-source contribution, that reply on socials or that humble ...
What Developers Really Need to Create Great Code Demos

From learning to earning

Jobs that call for the skills explored in this talk.

AWS Developer

AWS Developer

Capitole
Municipality of San Sebastian, Spain

Remote
API
GIT
Python
Terraform
+5
AWS Developer

AWS Developer

Capitole
Municipality of Huelva, Spain

Remote
API
GIT
Python
Terraform
+5