Optimal Lambda use cases and anti-patterns
Now that we've looked at the AWS Lambda function as code service in detail, let's look at when it is best used and where Lambda is not the best choice. This is essential information to understand both as an AWS professional and while pursuing your AWS DevOps professional certification.
The Lambda service from AWS is very flexible, affordable, and interacts with a vast number of AWS services. It also allows you to write your code in many different languages that you feel comfortable with and use them as your runtime environment.
So, let's move on and look at some of the scenarios where Lambda would serve us best.
AWS Lambda optimal use cases
As more and more teams start to look at serverless solutions and patterns, let's look at where using the Lambda service makes sense.
You want to concentrate on the code and not the underlying infrastructure
If you or your team wants to concentrate on the features...