Playing around with Lambdas and Cloud Functions
Read related blog posts about AWS Lambda and Serverless at:
http://wittchen.io/deployment-of-the-java-code-to-aws-lambda/
Please note, you need to create your AWS account first and then install and configure Serverless framework. Moreover, each Lambda Function needs to have API GateWay attached in order to be accessible in the public.
go to the one of the project directories and type:
sls deploy
In the case of the Java project, we need to build it first as follows:
./gradlew build
In the case of Kotlin project, we should build it with:
./gradlew shadowJar
If we're missing Gradle Wrapper, but we have Gradle installed in the system, we can go to the project directory and just type:
gradle wrapper