Starting with AWS Lambda can be challenging, especially when optimizing and streamlining the development process. While running functions directly in the AWS Console is the simplest and quickest approach, it becomes tedious when adding packages, as it requires zipping and uploading them to the console — a method that is rarely used in practice.
Various strategies are explored here to make Lambda development faster and more efficient:
- Bypassing CloudFormation
- Running Lambda locally
- Practicing test-driven development (TDD).
According to Yan Cui’s blog post titled ‘My testing strategy for serverless applications’, using an emulator like localstack is a waste of time and breaks in a mysterious way. However, using a combination of different testing strategies can increase confidence before deployment.
















