Categories
apple ios

Deploy HTTP Services Written in Swift to AWS in Seconds

With Apple’s new Swift AWS Lambda Runtime

Matheus Cardoso

Recently, Apple introduced the Swift AWS Lambda Runtime. It’s now imaginable to jot down self-contained purposes that run on AWS the use of the similar Swift you employ for iOS construction. This no longer best allows you to reuse the data you have already got of Swift, but in addition percentage code between the server and shopper.

However, the entirety continues to be slightly bit difficult to arrange. To will let you get began sooner, I constructed a start line for writing an HTTP provider in Swift, which does the entirety you want in one script.

Swift Lambda comprises configuration information and scripts to completely automate deploying to AWS in a question of seconds the use of the Serverless Framework. It’s in response to samples and documentation from swift-server/swift-aws-lambda-runtime.