Skip to content

Playing around with serverless solutions, lambdas, cloud functions, etc.

License

Notifications You must be signed in to change notification settings

pwittchen/serverless-lambda-playground

Repository files navigation

serverless-lambda-playground

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/

requirements

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.

deployment

go to the one of the project directories and type:

sls deploy

building JVM projects

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

References