Lambda Best Practices?
Customer has a question about using Lambda:
"Do you have any best practice/recommendations/online material for using Lambda and specifically how one can manage it through their landscape. At the moment, we manually turn the Lambda functions off before a release and then back on manually."
Is there a recommendation on how they can optimize this?
Hello,
We have best practices documented here
On top of that I would recommend looking at the Well Architected Serverless Lens, which has a lot of recommendations for running production grade serverless apps.
There are many services, tools, and frameworks that can help you deploy your apps / functions. To start off with I recommend taking a look at features such as:
- Stages for API Gateway
- Versions and Aliases for Lambda
- Using SAM and Safe Deployments
- AWS Step Functions: Workflows for development and testing
- Serverless CICD reference deployment
ServerlessLand also has a ton of resources.
Relevant questions
Using DocumentDB with Lambda: connection pooling
Accepted Answerasked a year agocloudwatch bill with lambda is high. Any insights into why this is the case and how to control costs?
Accepted Answerasked 3 years agoELB logging/monitoring best practices
Accepted Answerasked 2 years agotrigger CodePipeline on schedule
Accepted Answerasked 5 years agoSimple(?) question regarding Lambda, EC2 and user data
asked 2 years agoAuthorization header (what about in form parameter?)
asked 3 years agoLambda Best Practices?
Accepted Answerasked 2 years ago[On-Premise] Best practice on connecting to on-premise
Accepted Answerasked a year agoBest practice of secrets rotation on multi region database
Accepted AnswerHow to create a lambda layer for a CodeStar project?
asked 3 years ago