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

What_is_serverless_anyway_.pdf

 What_is_serverless_anyway_.pdf

This is a talk a gave at JoziJS in Johannesburg about serverless functions.

Peter-John Welcome

October 19, 2018
Tweet

More Decks by Peter-John Welcome

Other Decks in Technology

Transcript

  1. Why serverless functions? • Load balancing and scaling is not

    really that important as a developer. • Authenticated access to providers services (Google ML API’s/ Microsoft Cognitive Services) • Fully managed system
  2. What is serverless good for? • Web hooks • Creating

    API's • Callbacks from 3rd party services • Lightweight data transfers • IOT
  3. Cloud Functions Integration • Http Endpoints • Firebase host for

    dynamic serving of content • Crashlytics • Cloud pub/sub • Firebase Auth,Cloud Messaging, Analytics ,Cloud Storage, RT Database , Firestore
  4. Time Demo $ npm install -g firebase-tools $ npm install

    --save gcloud $ npm i -g azure-functions-core-tools https://aws.amazon.com/lambda/
  5. Running Locally $ firebase serve --only functions, hosting (Https endpoint

    functions) $ firebase experimental: functions : shell --port 11111 ( function triggers- Firebase)
  6. Resources to get started • https://www.youtube.com/watch?v=2ZGYLblGZQA • https://www.youtube.com/watch?v=JenJQ6gc14U • https://www.youtube.com/watch?v=837zPKooaaU

    • https://cloud.google.com/functions/ • https://aws.amazon.com/lambda/ • https://docs.microsoft.com/en-us/azure/azure-f unctions/ • https://serverless.com/blog