1. Serverless Architecture
Saul Caganoff
With attribution to Mark Boyd and Mehdi Medjaoui
https://medium.com/@APIdays/mapping-the-api-serverless-market-landscape-1d27d72ffc8d#.3g5xyxtco
2. Why Serverless?
• DevOps is too hard
• developers don’t want to have to do the “ops” bit ==> NoOps
• Lean Startups
• want to prove a business idea quickly & cheaply
• Because you can
• new serverless offerings in the market from big platforms to small startups
• Scale and Cost
• Autoscaling built in
• Pay per call (never pay for idle)
3. Global Drivers for Serverless
• Cloud - is now mainstream, easy and cheap
• Microservices - gaining adoption
• Digital Business - technicians and business working together in
integrated teams to digitise their business and deliver value
5. API Serverless Products
• Design an API
• Attach to cloud-based data store
• Add business logic
• Publish
• Manage consumers
https://medium.com/@APIdays/mapping-the-api-serverless-market-landscape-1d27d72ffc8d#.3g5xyxtco
6. E.g. Restlet
• Simple BaaS
• Create a Datamodel
• It will generate a REST-ish API for you
• YAML, JSON, XML
• Swagger documentation
• SDKs
• shell, node, java, python, php, objective-c, go
7.
8.
9. API CRUD Makers
• Transform data sets into APIs
• Structured
• Unstructured
• CRUD
https://medium.com/@APIdays/mapping-the-api-serverless-market-landscape-1d27d72ffc8d#.3g5xyxtco
10. API Funnels
• Aggregate multiple APIs into one
https://medium.com/@APIdays/mapping-the-api-serverless-market-landscape-1d27d72ffc8d#.3g5xyxtco
11. Creation tools and frameworks
• Create and link APIs in the cloud
• Serverless Applications
https://medium.com/@APIdays/mapping-the-api-serverless-market-landscape-1d27d72ffc8d#.3g5xyxtco
12. Squirrelbin Architecture
• Angular SPA
• Hosted on S3
• REST API
• CRUD Lambda Functions
• Storage in dynamoDB
• Execute acorns in Lambda
13. Zombie Survivor Chat
• Decoupling
• separate lambda functions for search, chat and
activity services
• Separate data stores
• dynamoDB
• Data transformations in API Gateway
• Early transformation -> common back-end logic
• Security – service isolation & least privilege
• Dev Lifecycle
• Separate environments
• Mocks for early APIs
• CloudFormation to stitch it all together
14. Serverless Framework
• Node.js application
• Generates CloudFormation templates
• You author a REST-ish API and associated functions
• It deploys to AWS
• Configures Lambda Functions
• Configures API Gateway endpoints