When working on an application domain, it is beneficial to use the microservices software design pattern. Loosely coupled with other services — enables a team to work independently the majority of time on their service(s) without being impacted by changes to other services and without affecting other services

When it comes to hosting, it is possible to combine this pattern with a serverless framework, such as lambda to create serverless microservices.

Lambda is supposed to be used for small functions, and maintaining this pattern is key to not over-engineering or complicating your code.

To effectively manage the problem now, and for the future addition of Lambda functions within your microservice, there are multiple ways in which you can do this.