Streamlined Serverless Development
Previously, we covered how to convert our code into a serverless architecture by replacing ECS, RDS, and VPC services with API Gateway, Lambda functions, and DynamoDB. But there’s still room for improvement in the development process.
Even though using serverless technologies simplifies maintenance after deployment, we can still optimize the way we work on the code locally.
In this chapter, we’ll be covering the following topics:
- Common problems with serverless development
- Running Lambda application logic locally and integrating it with a local express server
- How to run AWS services locally using the LocalStack toolset
By the end of this chapter, you will be aware of the problems in serverless-oriented development, and your code will have been streamlined to the point where you will be able to develop infrastructure as code (IaC) and test it locally before deploying it to AWS.