Lambda - breaking Update - testen Sie ihre Lambdas mit binären Bibliotheken jetzt auf Kompatibilität!

Lambda - breaking Update - testen Sie Lambda mit binären Bibliotheken jetzt auf Kompatibilität!

AWS hat gestern am 14.Mai angekündigt, dass die Laufzeitumgebung von Lambda aktualisiert wird auf Amazon Linux AMI 2018.03.

Upcoming updates to the AWS Lambda and AWS Lambda@Edge execution environment | AWS Compute Blog

Das bedeutet, wenn Sie Lambda Funktionen verwenden, die mit binären Bibliotheken arbeiten, kann es sein, dass Sie diese neu kompilieren müssen. Reine Scriptsprachen und die meisten Funktionen sollten problemlos weiterlaufen.

Was tun?

Prüfen Sie ihre Lambdas auf Kompatibilität bis zum 11.Juni 2019!

AWS hat einen Zeitplan veröffentlicht:

d47c52db.png

Spätestens am 24 Juni 2019 werden alle Lambdas von AWS umgestellt - ob sie laufen oder nicht!

Zum Prüfen gibt es mehrere Möglichkeiten:

Prüfung von Lambda, die mit AWS SAM erstellt wurden.

SAM cli verwendet ein Docker Image zum lokalen Test der Funktionen. Mit diesem können die Funktionen gegen das neue AWS Linux getestet werden.

Prüfung direkt auf AWS

AWS stellt einen Opt-In Layer zur Verfügung:

arn:aws:lambda:::awslayer:AmazonLinux1803

Mit diesem kann direkt im AWS Account getestet werden.

Eventuell neu kompilieren

Alle verwendeten Bibliotheken sollten dann auf dem neuen AWS Linux neu kompiliert werden.

Benötigen Sie Hilfe bei der Migration - kontaktieren Sie uns!

Similar Posts You Might Enjoy

Dissecting Serverless Stacks (IV)

Dissecting Serverless Stacks (IV) After we figured out how to implement a sls command line option to switch between the usual behaviour and a way to conditionally omit IAM in our deployments, we will get deeper into it and build a small hack on how we could hand over all artefacts of our project to somebody who does not even know SLS at all. - by Thomas Heinen

Dissecting Serverless Stacks (III)

Dissecting Serverless Stacks (III) The third post of this series showed how to make IAM statements an external file, so we can deploy that one but still work with the sls command. It still involved commenting out things in the configuration, so this post will show how to solve that issue. - by Thomas Heinen

Dissecting Serverless Stacks (II)

Dissecting Serverless Stacks (II) With the output of the last post of this series, we established the base to be able to deliver a Serverless application independent of its needed IAM privileges. So let’s see how this will work out. - by Thomas Heinen