https://github.com/pwittchen/serverless-lambda-playground
Playing around with serverless solutions, lambdas, cloud functions, etc.
https://github.com/pwittchen/serverless-lambda-playground
aws cloud cloud-functions functions lambda serverless
Last synced: 3 months ago
JSON representation
Playing around with serverless solutions, lambdas, cloud functions, etc.
- Host: GitHub
- URL: https://github.com/pwittchen/serverless-lambda-playground
- Owner: pwittchen
- License: apache-2.0
- Created: 2017-12-31T11:53:28.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-07-20T20:28:17.000Z (over 6 years ago)
- Last Synced: 2024-12-29T12:16:20.424Z (over 1 year ago)
- Topics: aws, cloud, cloud-functions, functions, lambda, serverless
- Language: Java
- Homepage:
- Size: 24.4 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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](https://aws.amazon.com) account first and then install and configure [Serverless](http://serverless.com) 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
----------
- [video tutorial](https://www.youtube.com/watch?v=71cd5XerKss)
- [AWS Console](https://console.aws.amazon.com)
- [Serverless](https://serverless.com/)