3 ms·
Yes, I understand that, but it doesn't account for all the moving parts of the Lambda service (like container re-use, warmup time, deployment steps...) that hav
by vincentdm 8y ago
Yes, I understand that, but it doesn't account for all the moving parts of the Lambda service (like container re-use, warmup time, deployment steps...) that have no local equivalent AFAIK. But maybe I'm overestimating their importance...
- scarface74 8y agoDeployment to a production environment is usually different than running locally. I have a CloudFormation script to handle deployments. Well, I also have a yml file that builds my Lambda package with CodeBuid since I develop on Windows and Python packages with binary dependencies don't work on Linux based lambdas. The CodeBuild step will package the Linux versions of the packages.
- eikenberry 8y agoYou can replicate some of the live-like environment using SAM[1] and SAM-local[2]. Combined with services like ngrok[3] you can even test remote hooks and such. [1] https://github.com/awslabs/serverless-application-model https://github.com/awslabs/serverless-application-model [2] https://github.com/awslabs/aws-sam-cli https://github.com/awslabs/aws-sam-cli [3] https://ngrok.com/ https://ngrok.com/ or http://serveo.net/ http://serveo.net/