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

Introduction to Cloud Functions

Introduction to Cloud Functions

An Introduction talk about Google Cloud Functions done at GDGJohannesburg

Peter-John Welcome

February 07, 2018

More Decks by Peter-John Welcome

Other Decks in Technology


  1. Why Cloud Functions? • Auto Scaling up and down based

    on load • Pay as you go • Authenticated access to Firebase and Google Services (ML/ NLP) • Fully managed system
  2. How does it work? Built on express, which is a

    node web serving framework. • Http endpoints • Handles firebase event.
  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. Running Locally $ firebase serve --only functions, hosting (Https endpoint

    functions) $ firebase experimental: functions : shell --port 11111 ( function triggers- Firebase)