Run Swift on Amazon Linux

I provide Swift binaries that can be installed on Amazon Linux 2. Based of these binaries I also offer Dockerimages for your convenience at DockerHub and AWS Lambda layers to run your Swift executables natively in Lambda. The layers can be downloaded from S3 or can directly be utilized in your preferred region by accessing the Swift layer's arn.

All scripts and Dockerfiles involved in building the artifacts are public on GitHub. Feel free to use them in whatever way you want. If you run into any problems, please reach out via GitHub issues.

Please note: The Lambda layer does not include a bootstrap file.

Releases

Swift 5.1.4

Date: February 16, 2020
Tag: swift-5.1.4-RELEASE

Binaries for installation: Download from S3
Docker Image: fabianfett/amazonlinux-swift:5.1.4

Lambda Layer: Download from S3
Arn: arn:aws:lambda:<region>:426836788079:layer:Swift:9

Previous Releases

Date: December 13, 2019
Tag: swift-5.1.3-RELEASE

Binaries for installation: Download from S3
Docker Image: fabianfett/amazonlinux-swift:5.1.3

Lambda Layer: Download from S3
Arn: arn:aws:lambda:<region>:426836788079:layer:Swift:8

Date: December 6, 2019
Tag: swift-5.1.2-RELEASE

Binaries for installation: Download from S3
Docker Image: fabianfett/amazonlinux-swift:5.1.2

Lambda Layer: Download from S3
Arn: arn:aws:lambda:<region>:426836788079:layer:Swift:7

Swift Version to Lambda Layer Version

Swift Version Lambda Layer Version Arn
5.1.4 arn:aws:lambda:<region>:426836788079:layer:Swift:9
5.1.3 arn:aws:lambda:<region>:426836788079:layer:Swift:8
5.1.2 arn:aws:lambda:<region>:426836788079:layer:Swift:7

The layers are not available in: