DEV Community

Cover image for LAPD - Lambda Python Deployment for special "get out of jail" cases
Gernot Glawe for AWS Community Builders

Posted on

2

LAPD - Lambda Python Deployment for special "get out of jail" cases

Sometimes you develop with a framework that is restrictive, or an environment which is event more restricted.

Get out of jail with zipping your own Lambda package.

Without packaging requirements.txt each time, but just adding it to the zip you wayyy faster. So fast High Speed Police will come.

Did you know you can also download the code from the lambda function itself? Then you got also the correct dependencies. Because sometimes if C libraries involved, it has to be linux. And not everybodys Laptop is Linux, is it? :)

https://github.com/megaproaktiv/lapd

So enjoy this little helper, you might not need it. But in a special project it saved me a lot of time.

Because its GO, you can just copy your binary from https://github.com/megaproaktiv/lapd/releases/tag/v0.1.2

Top comments (0)

Best Practices for Running  Container WordPress on AWS (ECS, EFS, RDS, ELB) using CDK cover image

Best Practices for Running Container WordPress on AWS (ECS, EFS, RDS, ELB) using CDK

This post discusses the process of migrating a growing WordPress eShop business to AWS using AWS CDK for an easily scalable, high availability architecture. The detailed structure encompasses several pillars: Compute, Storage, Database, Cache, CDN, DNS, Security, and Backup.

Read full post