We'll use a serverless Lambda to back the API and host in AWS cloud.
Serverless.com Docs: https://docs.serverless.com/
Logging: https://docs.aws.amazon.com/lambda/latest/dg/java-logging.html#java-logging-log4j2
Sample Java Lambda: https://github.com/serverless/examples/tree/master/aws-java-simple-http-endpoint
Mongo connection pooling in Lambda:
https://dzone.com/articles/how-to-use-mongodb-connection-pooling-on-aws-lambd
https://stackoverflow.com/questions/37415469/how-we-can-use-jdbc-connection-pooling-with-aws-lambda