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

Azure Functions (in 20 minutes)

Azure Functions (in 20 minutes)

Presented by Chris Gilbert at Brisbane Serverless Meetup.

A (very quick) introduction to Azure Functions. All information out of date a week later.

Chris Gilbert

January 24, 2017
Tweet

More Decks by Chris Gilbert

Other Decks in Technology

Transcript

  1. What we’ll cover  How it executes  How it

    scales  How it’s billed  What you can write it in  What you can write it in  How to debug it  How to deploy it  How to monitor it
  2. How does it execute?  Function as a Service /

    Code as a Service Trigger Code Response Input Output
  3. Triggers How can we make the code run?  Manual

     HTTP (standard and webhook)  Timer  Events  Azure Event Hub  Azure Storage Queue  Azure Storage Blob  SaaS File  Azure Service Bus
  4. Inputs What can we consume?  Azure DocumentDB Document 

    Azure Mobile Table Record  Azure Storage Blog  Azure Storage Table  SaaS Table  SaaS File
  5. Outputs What can we output to?  Azure DocumentDB Document

     Azure Event Hub  Azure Mobile Table Record  Azure Notification Hub  Azure Service Bus  Azure Storage Blob  Azure Storage Queue  Azure Storage Table  HTTP  SaaS File  SendGrid  Twilio SMS
  6. How is it billed? Execution Time  $0.00001/GB-s  100ms

    blocks  400,000 GB-s free per month Total Executions  $0.2547/million executions  1 million executions free per month
  7. An example maybe?  1,536MB memory size  West US

    region  1 second execution time  2,000,000 executions per month  $26.75/month
  8. But you can’t have it both ways! Once you’ve configured

    continuous integration, the portal is read-only