In this tutorial, we will build a stateful serverless API using Java and Redis on AWS Lambda. The API will simply count the page views and return it as http response.
mvn clean install
. Then deploy to AWS with
serverless deploy
. The last command will output the endpoint URL as below: