Upgrade to Pro — share decks privately, control downloads, hide ads and more …

AWS Lambda @ Node.js Meetup #14 Berlin

AWS Lambda @ Node.js Meetup #14 Berlin

Building scalable applications with AWS Lambda.
http://www.meetup.com/Node-js-Meetup-Berlin/events/227691457/

Johannes Boyne

February 23, 2016
Tweet

Other Decks in Technology

Transcript

  1. λ buy-or-sell API complex λ buy-or-sell algorithm JSON result Motivation

    II: • „FinTech“ API • Buy or sell „decisions“ for stocks • „Very Complex“ Algorithms • „Millions“ of Users, Scalable ¯\_()_/¯
  2. How would you build it? • Web application objectives: •

    Scaleable (you’re the next unicorn) • Code-ownership & microservices
  3. Servers … Servers Load Balancer Container Container Container Container Container

    Container Servers … Servers Load Balancer Container Container Container Container Container Container Cross-AZ replication for high availability, across your whole stack
  4. Servers … Servers Load Balancer Container Container Container Container Container

    Container Container Registry Code & Infrastructure Cluster 0010110110101 1010010100100 1101110111001 0010110110101 1010010100100 1101110111001 0010110110101 1010010100100 1101110111001
  5. The Amazon Ecosystem: ecosystem |ˈekōˌsist$m, ˈēkō-| (in general use) a

    complex network or interconnected system 50+ Services AWS == a complex network of interconnected systems
  6. EC2: Elastic Compute Cloud
 „Virtual Servers“ EC2 Container Service
 „Docker

    (orchestration) as a Service“ Lambda
 „Microservices without servers“ • USA West • Oregon • Kalifornien • AWS GovCloud • USA Ost (Virginia) • Südamerika (São Paulo) • EU • Dublin • Frankfurt • Asien-Pazifik • Singapur • Sydney • Tokio • China (Peking) S3
 „Object Storage“ / „Unlimited FTP“ DynamoDB
 „NoSQL DB“ 47 more . . .
  7. AWS Q3 2015 revenue: $2.08 b
 YoY Growth Rate: 81%

    + delivers 1/3 of the US internet traffic
  8. EC2 Instances + Ruby on Rails App. v2 v1 EC2

    Container Service + CMS (Keystone.js) Lambda + API Gateway v3 Server- less Monolith Services CrowdPatent’s infrastructure change
  9. / cc Jay Sandhaus http://de.slideshare.net/AmazonWebServices/arc308-the-serverless-company-using-aws-lambda Evolution of Cloud Compute Toward

    Serverless Evolution of Compute – Public Cloud Infrastructure Instances Application code Evolution of Compute – Containers Infrastructure Instances Application code Containers Evolution of Compute – Serverless Application code Jay Sandhaus CTO, PlayOn!
  10. λ (Lambda) $ Node.js: v0.10.36 Java: Java 8 Python: Python

    2.7 No Servers to Manage Continuous Scaling Subsecond Metering
  11. Where to go next? • APEX • Serverless (aka JAWS)

    may be of interest • Deep Framework may be of interest • My advice: Terraform + APEX