Dual Spring Boot and AWS Lambda Project
Sometimes, we need to convert an existing Spring Boot application to AWS Lambda function, often due to upgrade in technology or company's new direction to the sky.. I mean cloud and beyond... In some extremely rare case we might be forced to write a dual Spring Boot and AWS Lambda project, that is a project that can run as a Spring Boot application in its embedded Tomcat container and also can be uploaded as AWS Lambda function. This usually happens when one of the developer in the team has had one too many "discussions" about Spring Boot or Lambda that he proceeded to create dual app while the rest of the team going round and round in circle. Luckily, awslabs has answer to that, they call it Serverless Java Container : https://github.com/awslabs/aws-serverless-java-container Here is my simple example on how to achieve the dual Spring Boot x AWS Lambda application: The source: https://github.com/overtakerx/springbootawslambdademo contains a simple typical S