
Sebastien Stormacq
Apr 28, 2021
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.
8 days ago
Senior Java Developer

Picnic Technologies B.V.
Amsterdam, Netherlands
Senior
1 month ago
Architekt für Cloud Security - AWS (w|m|d)

zeb consulting
Remote
Junior
Intermediate
Senior
1 month ago
Senior Software Engineer

Aeon
Winterthur, Switzerland
Remote
Senior