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

Serveless microservices in JS

Serveless microservices in JS

Lightning talk given at DotJS Paris in December 2015.

We've covered microservices architecture using AWS Lambda and Serverless framework (ex- JAWS).

Nicolas Grenié

December 07, 2015
Tweet

More Decks by Nicolas Grenié

Other Decks in Technology

Transcript

  1. Serverless
    Microservices in JS
    DotJS
    Paris, Dec. 7th, 2015
    Nicolas Grenié
    @picsoung
    Hacker in Residence at 3scale.net

    View full-size slide

  2. @picsoung
    You are already
    doing micro-services

    View full-size slide

  3. @picsoung
    You are already
    (kind of)
    doing micro-services

    View full-size slide

  4. @picsoung
    App

    View full-size slide

  5. @picsoung
    App
    SMS
    Payment
    Map
    Email
    server
    Backend
    UI

    View full-size slide

  6. @picsoung
    Kill the
    monolith

    View full-size slide

  7. @picsoung
    Each service
    performs a
    single action

    View full-size slide

  8. @picsoung
    Services are
    independent

    View full-size slide

  9. @picsoung
    Easier to
    maintain

    View full-size slide

  10. @picsoung
    Easily
    scalable

    View full-size slide

  11. @picsoung
    Containerizable

    View full-size slide

  12. @picsoung
    You don’t
    need servers

    View full-size slide

  13. @picsoung
    AWS Lambda

    View full-size slide

  14. @picsoung
    event-driven
    compute
    resource

    View full-size slide

  15. @picsoung
    automatic
    scaling

    View full-size slide

  16. @picsoung
    extend other
    AWS sevices

    View full-size slide

  17. @picsoung
    logs and
    analytics

    View full-size slide

  18. @picsoung
    pay
    per
    use

    View full-size slide

  19. @picsoung
    from $ to ¢

    View full-size slide

  20. @picsoung
    API gateway to
    be called from
    outside

    View full-size slide

  21. @picsoung
    structures
    and
    best practices
    for
    serveless applications

    View full-size slide

  22. @picsoung
    $ jaws project create

    View full-size slide

  23. @picsoung
    $ jaws module create greetings hello

    View full-size slide

  24. @picsoung
    $ jaws dash

    View full-size slide

  25. @picsoung
    creates Lambda function
    maintain roles (IAM)
    regions/stages
    s3 bucket for backups

    View full-size slide

  26. @picsoung
    easier to code serverless

    View full-size slide

  27. @picsoung
    easier to maintain

    View full-size slide

  28. @picsoung
    team collaboration

    View full-size slide

  29. @picsoung
    serverless
    micro-services
    are the next thing

    View full-size slide

  30. @picsoung
    what
    will you
    build?

    View full-size slide

  31. Nicolas Grenié
    @picsoung
    Hacker in Residence at 3scale.net
    Serverless
    Microservices in JS
    DotJS
    Paris, Dec. 7th, 2015

    View full-size slide