Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Building Serverless Web Applications with OpenWhisk

5,018 views

Published on

http://heidloff
https://github.com/nheidloff/openwhisk-serverless-webapp
https:// bluemix.net/openwhisk

Published in: Software
  • Be the first to comment

Building Serverless Web Applications with OpenWhisk

  1. 1. Building Serverless Web Applications with OpenWhisk bluemix.net/openwhisk Niklas Heidloff, IBM Developer Advocate @nheidloff July 2017
  2. 2. What is ‘Serverless’ and ‘Function as a Service’ ?Serverless •  Existence of servers is hidden from developers •  Code is executed on-demand in an auto-scaled, managed environment through event driven triggers •  Encourages and simplifies developing microservice-oriented solutions via functions @nheidloff
  3. 3. Why Serverless for Web Applications ?Serverless •  Often cheaper than other server-side compute options since you only pay for the exact duration your code is executing •  Easier to operate than other compute options –  Example: Auto-scalability –  Example: Built-in API management •  Serverless functions can be built with JavaScript skills which web developers have @nheidloff
  4. 4. Apache OpenWhiskServerless @nheidloff
  5. 5. DemosDemo •  Creation of simple JavaScript actions •  Web actions for anonymous access •  API management, including OAuth access •  Angular application accessing protected action @nheidloff Annotations in orange
  6. 6. Demo @nheidloff Create JavaScript Action
  7. 7. Demo @nheidloff Synchronous Action
  8. 8. Demo @nheidloff Asynchronous Action
  9. 9. Demo @nheidloff Invocation Results
  10. 10. Demo @nheidloff Local Development and CLI
  11. 11. Demo @nheidloff Monitoring and Logs
  12. 12. Demo @nheidloff Web Actions for anonymous Access
  13. 13. Demo @nheidloff Built-in API Management
  14. 14. Demo @nheidloff Require User Authentication
  15. 15. Demo @nheidloff Analytics for APIs
  16. 16. Demo @nheidloff API Explorer
  17. 17. Demo @nheidloff Creation of Google Application
  18. 18. Demo @nheidloff Simple Angular Sample App
  19. 19. Demo @nheidloff Angular Code to invoke the login
  20. 20. Demo @nheidloff Google Authentication OAuth Dance
  21. 21. Demo @nheidloff Simple Angular Sample App
  22. 22. Demo @nheidloff Angular Code to invoke Action
  23. 23. Demo @nheidloff Simple Angular Sample App
  24. 24. Discussion github.com/nheidloff/openwhisk-serverless-webapp heidloff.net bluemix.net/openwhisk Niklas Heidloff, IBM Developer Advocate @nheidloff July 2017

×