Doesn anybody have practical experience with implementing a (micro)service based on AWS Lambda?
My team is currently working on an MVP. We started with a monolith and that has worked very well. It's a new business domain and we still have to learn a lot about which bounded contexts make sense and where to draw boundaries between them. Now we want to extract one of the contexts into its own service as a collection of AWS Lambda functions.
Our idea is to create one Java project with shared domain and data access code and multiple Lambda handlers. The idea is to create multiple independent functions based on the same Java project. (We want use an event-based pub/sub model for inter-service communication, so we don't see a need for API Gateway. We'd rather wire the functions up with DynamoDB streams or Kinesis directly.)
We are all convinced that this is worth a try, but we'd like to avoid reinventing the wheel. Does anybody have experience with such an approach and can share some insights, links, etc.? Has anybody tried the Serverless framework with Java?