Save 37% off PRO during our Black Friday Sale! »

Serverless & Web Development: love at first sight ❤

Serverless & Web Development: love at first sight ❤

Yet another Serverless Overview, focused on web development use cases.

Alex will describe what Serverless means, what alternatives are available in the public Clouds and in the open-source worlds, its advantages & disadvantages, etc.

36ca8ae7e19067021d0e39c0b72acc2a?s=128

Alex Casalboni

October 11, 2017
Tweet

Transcript

  1. clda.co/madlabs-serverless Serverless & Web Development ❤ Love at first sight

    ❤ 10/11/2017
  2. About Me @alex_casalboni clda.co/madlabs-serverless Computer Science Background Sr. SoBware Engineer

    & Web Developer Cloud Evangelist @ Cloud Academy Serverless Italy Meetup Co-Organizer
  3. Serverless @ Italy meetup.com/Serverless-Italy milan.jeffconf.com (every 3rd Thursday @ Mikamai!)

    (a couple of weeks ago!) clda.co/madlabs-serverless
  4. clda.co/serverless-italy Call for Speakers! clda.co/madlabs-serverless

  5. Agenda What is Serverless? Pros & Cons Web use cases

    Let’s build something! clda.co/madlabs-serverless
  6. What is Serverless? Esiste davvero una definizione precisa? clda.co/madlabs-serverless

  7. Serverless DefiniUon(s) “Serverless compu?ng is a cloud compu?ng execu?on model

    in which the cloud provider dynamically manages the alloca?on of machine resources.” [Wikipedia] “Ephemeral compute power that comes into existence on request and disappears immediately aGer use.” [Tech Radar] “Applica?ons where some amount of server-side logic is s?ll wriIen by the applica?on developer but run in stateless compute containers that are event-triggered, ephemeral, and fully managed by a 3rd party.” [Mike Roberts] “A Serverless solu?on is one that costs you nothing to run if nobody is using it.” [Paul Johnston] clda.co/madlabs-serverless
  8. I know what you are thinking… There is always a

    server somewhere,
 you just don't have to worry about it :) clda.co/madlabs-serverless
  9. FaaS is everywhere! fnproject.io open.iron.io hook.io webtask.io openwhisk.org openfaas.com aws.amazon.com/lambda

    funcUons.azure.com cloud.google.com/funcUons clda.co/madlabs-serverless
  10. But Serverless != FaaS Distributed micro services Event-driven architecture ElasUcity

    everywhere Dev-friendly Ops clda.co/madlabs-serverless
  11. Serverless Tools github.com/aws/chalice clda.co/amazon-sam dawson.sh gordon.readthedocs.io gosparta.io blog.zappa.io serverless.com/framework apex.run

    claudiajs.com Chalice Framework clda.co/madlabs-serverless
  12. Pros & Cons Vantaggi e svantaggi del mondo serverless clda.co/madlabs-serverless

  13. Serverless advantages Infinite scalability Transparent availability Almost-zero maintenance Dev-friendly Ops

    Cheap (PAYG) Flexible (BYOC) Decoupled services Failure IsolaUon clda.co/madlabs-serverless
  14. Serverless disadvantages Design/Thinking shiB Real Decoupling Distributed Monitoring/Debugging Trust in

    your vendor Devs must learn Ops Pioneering is challenging It’s a moving target Immature Tooling clda.co/madlabs-serverless
  15. Web use cases Qualche scenario interessante legato al mondo dello

    sviluppo web clda.co/madlabs-serverless
  16. 1) RESTful APIs + + Amazon API Gateway (HTTP Trigger)

    AWS Lambda (FaaS) Amazon DynamoDB (elasUc database) clda.co/madlabs-serverless
  17. 2) Event-driven architectures + Amazon S3 (Object Storage) AWS Lambda

    (FaaS) clda.co/madlabs-serverless
  18. 3) Stream processing + Amazon Kinesis (Streaming Buffer) AWS Lambda

    (FaaS) clda.co/madlabs-serverless
  19. 4) Edge compuUng + Amazon CloudFront (CDN) AWS Lambda@Edge (FaaS

    at the Edge) clda.co/madlabs-serverless
  20. (Lambda@Edge) clda.co/madlabs-serverless

  21. 5) End-to-end data pipeline clda.co/madlabs-serverless

  22. Let’s build something! Finalmente un po’ di codice :) clda.co/madlabs-serverless

  23. < demo > clda.co/madlabs-serverless

  24. Grazie =) Domande? 10/11/2017 clda.co/madlabs-serverless