4. Backend as a Service
and
Function as a Service
Datascript, 13.12.2016 4
5. Backend as a Service (BaaS)
» Firebase - DB + Auth
» Hoodie - Offline first, PouchDB
» Algolia - Search
» Auth0 - SSO, Token Based Auth
» Kinvey - Mobile Backend as Service
» Syncano - Assemble your backend
Datascript, 13.12.2016 5
6. Function as a Service (FaaS)
» Amazon Lambda & API Gateway (Nov'14)
» IBM Bluemix Openwhisk (Feb'16)
» Google Cloud Functions (Feb'16)
» Azure Functions (Mar'16)
» Webtask.io (Mar'15)
Datascript, 13.12.2016 6
12. AWS Serverless Application
Model (AWS SAM)
» https://github.com/awslabs/serverless-application-model
» AWS SAM is a model used to define serverless applications on
AWS.
» Specification
» AWS SAM is based on AWS CloudFormation.
Datascript, 13.12.2016 12
18. Apex - http://apex.run
» in golang support nodejs, golang, python, java
» optional terraform support
» multiple deployment targets for different environments
» idempotent deployments
» author @tjholowaychuk
Datascript, 13.12.2016 18
19. Serverless - http://www.serverless.com
» in NodeJS, actual version 1.3.0
» support aws-nodejs, aws-python, aws-java-gradle, aws-java-
maven, aws-scala-sbt, aws-csharp
» config in serverless.yml
» support env variables (support added into Lambda in
November'16)
» AWS CloudFormation
Datascript, 13.12.2016 19
20. Zappa - https://zappa.gun.io
» in Python support Python
» https://github.com/Miserlou/lambda-packages
» https://github.com/Miserlou/django-zappa
Datascript, 13.12.2016 20
23. ClaudiaJS
» NodeJS
» Claudia is not trying to change the way you structure or run
projects.
» Deployment utility
» https://github.com/claudiajs/claudia
Datascript, 13.12.2016 23
24. AWS Serverless Express
» extends ExpressJS
» NodeJS 4.3 LTS
» https://github.com/awslabs/aws-serverless-express
» cannot use native packages
» currently no support for binary data (AWS Gateway have
support from Nov'16)
Datascript, 13.12.2016 24
25. Security
» https://github.com/vandium-io/vandium-node
» Powerful input validation, Forces values into correct types
» JSON Web Token (JWT) verification and validation
» Cross Site Request Forgery (XSRF) detection when using JWT
» SQL Injection (SQLi) detection and protection
» Environment variable mapping,
» Free resources post handler execution
» Handles uncaught exceptions
» Promise support
Datascript, 13.12.2016 25
36. API Gateway & Lambda problems
» limit 6MB on Lambda response
» API Gateway don't support gzip
» problems with with strange 500 errors without
» not parsable error object from Lambda into API Gateway
» API Gateway template system (based on Velocity templates)
» problem with local testing API Gateway
Datascript, 13.12.2016 36