Se ha denunciado esta presentación.
Utilizamos tu perfil de LinkedIn y tus datos de actividad para personalizar los anuncios y mostrarte publicidad más relevante. Puedes cambiar tus preferencias de publicidad en cualquier momento.

Hop on the serverless adventure - International Javascript London

466 visualizaciones

Publicado el

Serverless is the new black – I can deploy my application to the cloud without ever worrying about infrastructure. We all remember the days when we had to spend hours and hours configuring and ebugging web servers when all we wanted was to just code and test our app. Those days are long gone and it’s time for us to unlearn how to provision and manage infrastructure while focusing on building and scaling applications.

Publicado en: Software
  • Hello! Get Your Professional Job-Winning Resume Here - Check our website!
    ¿Estás seguro?    No
    Tu mensaje aparecerá aquí

Hop on the serverless adventure - International Javascript London

  1. 1. Hop on the server less adventure Simona Cotin
  2. 2. Simona Cotin Cloud Dev Advocate @ Microsoft @simona_cotin
  3. 3. @simona_cotin WHAT IS SERVERLESS?
  4. 4. @simona_cotin–Martin Fowler “Serverless architectures refer to applications that significantly depend on third-party services (known as Backend as a Service or "BaaS") or on custom code that's run in ephemeral containers (Function as a Service or "FaaS")”
  5. 5. @simona_cotin Codepen by awesome @sarah_edo
  6. 6. @simona_cotin •Reacts to events •Autoscales •‘Pay as you go’
  7. 7. @simona_cotin
  8. 8. @simona_cotin Photo by Charlotte Coneybeer on Unsplash
  9. 9. @simona_cotin Photo by Uroš Jovičić on Unsplash Execution time limit
  10. 10. @simona_cotin Functions are stateless
  11. 11. @simona_cotin Cold start
  12. 12. @simona_cotin “Serverless computing has made its way into the enterprise because it simplifies deployment and allows developers to focus more on application features than on tasks such as provisioning VMs. Emerging uses for serverless technology include image processing, task management, workflows and notifications.”
  13. 13. @simona_cotin Because it’s awesome! Why Node.js?
  14. 14. @simona_cotin •Javascript has a rich ecosystem of libraries and tools •Enable FE developers to build scalable backends •Large use base - javascript is the English of languages Why Node.js?
  15. 15. @simona_cotin •Lightweight - helps reduce cold start •Commonly run in a distributed, horizontally scaled fashion •Scripting means no compilation required to start from a portal •Runs equally easy on most OS’s Why Node.js?
  16. 16. @simona_cotin Serverless providers •Azure Functions •Amazon Lambda •Google Cloud Functions •Auth0 Webtask •Ibm Openwhisk
  17. 17. @simona_cotin What can I do with serverless?
  18. 18. @simona_cotin Hello world
  19. 19. @simona_cotin Timer Run background tasks
  20. 20. @simona_cotin Web hook
  21. 21. @simona_cotin Web API Implement CRUD operations
  22. 22. @simona_cotin Web API
  23. 23. @simona_cotin Web API Pluralsight course with John Papa GitHub repo
  24. 24. @simona_cotin Data processing
  25. 25. @simona_cotin Data processing Demo by Sarah Drasner (follow her on Twitter!!) Article: exploring-data-with-serverless- and-vue-part-i/
  26. 26. @simona_cotin How do I get started?
  27. 27. @simona_cotin Create function - portal
  28. 28. @simona_cotin
  29. 29. @simona_cotin
  30. 30. @simona_cotin Local debugging - prerequisites •Node v8.0+ ◦ Older versions of node will be supported soon. •.NET Core 2.0 •Azure Core Function Tools 2.0 npm install --global azure-functions-core- tools@core

  31. 31. @simona_cotin Local debugging
  32. 32. @simona_cotin Create function - cli
  33. 33. @simona_cotin Create function - cli
  34. 34. @simona_cotin
  35. 35. @simona_cotin Publish function
  36. 36. @simona_cotin Publish function
  37. 37. @simona_cotin
  38. 38. @simona_cotin Git deployment
  39. 39. @simona_cotin Git deployment
  40. 40. @simona_cotin Git deployment - setup
  41. 41. @simona_cotin Git deployment - setup
  42. 42. @simona_cotin –
  43. 43. @simona_cotin • Event driven code • Autoscales • Only pay for what you’re using/Pay as you go
  44. 44. @simona_cotin Resources • • • • and-vue-part-i/ •
  45. 45. @simona_cotin –
  46. 46. @simona_cotin –Joe Emison “the thing that distinguishes the best, fastest, most efficient engineering organizations is how little code they actually write”