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

Serverless Computing @ Javaland 2017

Serverless Computing @ Javaland 2017


Niko Köbler

March 27, 2017

More Decks by Niko Köbler

Other Decks in Technology


  1. COMPUTING (WITH INFRASTRUCTURE) Niko Köbler So ware-Architect, Developer & Trainer

    | | SERVERLESS AWS niko@n-k.de www.n-k.de @dasniko
  2. @dasniko

  3. http://www.jug-da.de @JUG_DA

  4. DISCLAIMER This is silver bullet, no standard, but opinionated! NO

  5. None
  6. None
  7. None
  8. This is what actually means... serverless

  9. None
  10. None
  11. Serverless is about the of servers. Build and run applications

    servers. management without thinking about
  12. OF COMPUTING Physical Servers in datacenters Virtual Machines in datacenters

    Virtual Machines in Cloud Containers on Virtual Machines Serverless as the unit of compute EVOLUTION
  13. None
  14. None
  15. COMPUTE Functions are the unit of deployment and scaling. No

    machines, VMs, or containers visible in the programming model. Permanent storage lives elsewhere. Scales per request; Users cannot over- or under-provision capacity. Never pay for idle (no cold servers/containers or their costs). Implicitly fault-tolerant because functions can run anywhere. BYOC - Bring Your Own Code. Metrics and logging are a universal right. SERVERLESS MANIFESTO
  16. ? Unit of deployment and scale! PaaS FaaS is as

    DevOps NoOps PAAS vs. vs.
  17. None
  18. AWS Event Driven JVM-based languages (Java 8), JavaScript (Node.js), Python,

    C#, (more to come) Versions, Encrypted Environment Variables, Step Functions Pay as you use - in 100ms blocks (e.g. 100ms w/ 128MB memory = USD 0.000000208) LAMBDA
  19. None
  20. AWS EVENTS S3 Cloud Watch Config AWS IoT Cognito SES

    API Gateway (no complete list) LAMBDA DynamoDB Cloud Formation Kinesis Code Commit SNS Echo / Alexa Cron
  21. None
  22. GATEWAY "Reverse Proxy" hides possible multiple service calls (aka "service

    composition", ESB?) distributes requests to proper service instances "Mock" services Authentication / Authorization Caching, Throttling, DDoS attack protection, etc. API
  23. None
  24. DYNAMO Fully Managed NoSQL Data Store Schemaless Data Model DynamoDB

    Streams Record TTL Seamless Scalabiltiy, "no limits" Pay by Read-/Write-Capacity-Units and used storage, not by time DB
  25. None
  26. Example CASES USE


  28. None
  29. None
  30. API Gateway with , Push and SNS SQS



  33. Provider since Environment AWS Lambda 2014 JavaScript, Python, Java, C#

    Microso AzureFunctions 2016 JavaScript, Python, Java, C#, PHP Google CloudFunctions 2016 JavaScript IBM Bluemix w/ OpenWhisk* 2014 JavaScript, Python, Swi * Apache OpenWhisk is also available for on-premise usage as OSS under ASL2 COMPETITORS
  34. THE FRAMEWORK Manages all the Cloud-Resources and Deployment. SERVERLESS serverless.com

  35. BUT POWERFUL No need to run/manage Application Servers Fast results,

    minimal effort, minimal TTM(!) Low costs, minimal financial risk Automatic Scalabiltiy and Availability "out-of-the-box" SERVERLESS
  36. None
  37. # BUCH / entwickler. / ~ summer 2017 SERVERLESS serverlessbuch.de

    @serverlessbuch press
  38. THANK ! ANY ? Slides: Niko Köbler So ware-Architect, Developer

    & Trainer | | YOU QUESTIONS http://bit.ly/serverless-javaland niko@n-k.de www.n-k.de @dasniko
  39. LINKS AWS Lambda: Amazon API Gateway: Amazon DynamoDB: Google Cloud

    Functions: Microso Azure Functions: IBM OpenWhisk: Apache OpenWhisk: Serverless Framework: https://aws.amazon.com/lambda https://aws.amazon.com/api- gateway https://aws.amazon.com/dynamodb https://cloud.google.com/functions https://azure.microso .com/services/functions https://developer.ibm.com/openwhisk https://github.com/openwhisk http://serverless.com