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

Building serverless applications with reusable Serverless Components

Building serverless applications with reusable Serverless Components

Builds upon the success of the Serverless Framework and introduces Serverless Components. The presentation covers aspects of the component qualities, architecture, usage and finishes off with a demo.

Rupak Ganguly

July 17, 2018

More Decks by Rupak Ganguly

Other Decks in Technology


  1. building serverless applications with reusable serverless components serverless.com Serverless Meetup

    Lviv, Ukraine July 17th, 2018 Rupak Ganguly Enterprise Solutions Architect Photo by Esther Jiao on Unsplash
  2. [email protected] @rupakg Rupak Ganguly enterprise solutions architect

  3. interest in “serverless” from google trends serverless.com

  4. The future of the cloud is serverless serverless.com

  5. serverless definition serverless: though servers exists, the developer does not

    have to think about them serverless.com
  6. serverless qualities zero-administration pay-per-execution auto-scaling event-driven serverless.com

  7. build cloud-native apps quickly, with minimal overhead. serverless inc. Founded

    in 2015, San Francisco, CA serverless.com | @goserverless
  8. the serverless application framework serverless.com framework serverless

  9. build and iterate on serverless applications easily & quickly across

    vendors serverless.com framework serverless
  10. used by the developer community and enterprises alike serverless.com framework

  11. serverless.com serverless framework open-source cli, written in nodejs provider agnostic,

    abstraction layer serverless.yml: configuration file, maps handlers to functions to events functions, events, code & resource mgmt. plugin system to extend & hook into life-cycle events framework serverless
  12. serverless.com # new app, templates sls create # write code

    sls deploy # update code sls deploy function # local testing sls invoke local # debugging sls logs # remote testing sls invoke easy application workflow # rollback sls rollback # analytics sls metrics # cleanup sls remove framework serverless
  13. building serverless applications with the serverless framework is easy but

    it could be easier. serverless.com framework serverless
  14. an easier way to build applications with cloud services serverless.com

    components serverless
  15. simple building blocks that can package cloud/SaaS services, logic &

    automation to build larger composable applications serverless.com serverless components components serverless
  16. component qualities easy composable open serverless serverless.com components serverless

  17. component architecture serverless.com configuration serverless.yml input types & inputs output

    types & outputs variables system implementation index.js commands context & state dependency graph components serverless
  18. serverless.com components serverless configuration serverless.yml type input types output types

    aws-apigateway component
  19. serverless.com components serverless implementation index.js deploy command outputs state aws-apigateway

    component remove command
  20. declarative approach programmatic access nest to create higher-order components &

    apps cli to deploy/remove serverless.com building serverless applications with components components serverless
  21. serverless.com components serverless configuration serverless.yml app type nested faker data

    application lambda component rest api component declarative approach
  22. serverless.com components serverless implementation index.js aws-lambda component load component programmatic

    access deploy component
  23. serverless.com components serverless components CLI retail store application

  24. static website using Hugo serverless.com serverless.com static site serverless

  25. serverless.com components serverless

  26. a serverless ecommerce store application serverless.com serverless.com retail serverless

  27. serverless.com components serverless

  28. serverless.com components serverless demo retail serverless

  29. components roadmap started as an experiment Serverless Framework v2 serverless.com

    components serverless
  30. contribute serverless.com try it out opensource create components submit to

    the registry components serverless
  31. resources serverless.com Serverless Components & Examples repo: http://bit.ly/2unePTa Retail Store

    app: http://bit.ly/2zEHJmP How to write your first Serverless component: http://bit.ly/2mfYFqh How to create a Serverless dynamic site: http://bit.ly/2mfZ7Vv How to create a static blog site: http://bit.ly/2KVOiql How to create a REST API with components: http://bit.ly/2LiRkBa
  32. it’s a wrap questions? [email protected] @goserverless @rupakg follow-up serverless.com