A Java starter application for writing microservices using Lambda and SQS.
The template will do the following:
- Create a new Lambda function with Java as its runtime.
- Create a new SQS queue.
- Create custom IAM role and permissions to allow the Lambda function to interact with SQS and CloudWatch.
- Login to AWS console and go to Lambda.
- Go to
Applicationsand Click onCreate application. - Select
Serverless applicationtab. - Search for
java-microservices-starterunder Public applications. Ensure to show apps that creates custom IAM roles. - Follow the on screen instructions and deploy the application.
- From the project root, run
sam buildand thensam deploy --guided.