The following are recommended best practices for using AWS Lambda: For more information about best practices for Lambda applications, see Application design in Serverless Land. You can also reach out to your AWS account team and request an architectural review. Function code Separate the Lambda handler from your core logic. This allows you to make a more unit-testable function. In Node.js this may