Introduction to Azure Functions - Tutorial

26
Sponsored & Brought to you by Introduction to Azure Functions Yochay Kiriati http ://www.twitter.com/yochayk https://www.linkedin.com/in/yochaykiriaty

Transcript of Introduction to Azure Functions - Tutorial

Page 1: Introduction to Azure Functions - Tutorial

Sponsored & Brought to you by

Introduction to Azure Functions

Yochay Kiriati

http://www.twitter.com/yochayk

https://www.linkedin.com/in/yochaykiriaty

Page 2: Introduction to Azure Functions - Tutorial

#Build2016

IntroducingAzure FunctionsYochay Kiriaty@yochaykProgram Manager Microsoft Azure

Page 3: Introduction to Azure Functions - Tutorial

What is Azure Functions?Code Events +

dataAzure

Functions

Page 4: Introduction to Azure Functions - Tutorial

Demo: hello world

Page 5: Introduction to Azure Functions - Tutorial

Azure Functions

code outputinput

Page 6: Introduction to Azure Functions - Tutorial

Supported bindingsType Service Trigger Input OutputSchedule Azure Functions ✔HTTP (REST or WebHook) Azure Functions ✔ ✔

Blob Storage Azure Storage ✔ ✔ ✔Queues Azure Storage ✔ ✔Tables Azure Storage ✔ ✔

Tables Azure Mobile Apps Easy Tables ✔ ✔

No-SQL DB Azure DocumentDB ✔ ✔Streams Azure Event Hubs ✔ ✔Push Notifications Azure Notification Hubs ✔

Page 7: Introduction to Azure Functions - Tutorial

Demo: Triggers and Binding

Page 8: Introduction to Azure Functions - Tutorial

New image resize requestFetch image from storageResize the imageStore the new image in storage

Page 9: Introduction to Azure Functions - Tutorial

New image resize requestFetch image from storageResize the imageStore the new image in storage

Page 10: Introduction to Azure Functions - Tutorial

Demo: Image Resize

Page 11: Introduction to Azure Functions - Tutorial

Demo: Image OCR

Page 12: Introduction to Azure Functions - Tutorial

Building for scale with App Service

Page 13: Introduction to Azure Functions - Tutorial

Development• Languages and Framework• Superior DevOps• Self served• Something else

Apps

Web Apps

Mobile Apps

API Apps Functions

eCommerce Digital Global Presence LOB API / Services / ISVCustom Apps

App Service

Fully Managed Platform• Limitless/Auto • OS and Framework • Load balance• Something else

Enterprise Grade• Enterprise grade SLA• Secure and Compliance• On-Premise Connectivity• Something else

Page 14: Introduction to Azure Functions - Tutorial

• 1st class support• Node/JavaScript• C#

• Experimental support• F#• Python• PHP• Batch• Bash• PowerShell

Supported Languages

Page 15: Introduction to Azure Functions - Tutorial

• Runs on existing App Hosting plans• Run alongside Web, Mobile, and API Apps• Can deploy via existing App Service ARM APIs

• All the features of App Service• Continuous Deployment• Deployment Slots• Remote Debugging

• Run in your own isolated and dedicated environment• App Service Environment helps run dedicated App Services• Run inside of your own VNET, with your own frontend and firewall

Built around App Service

Page 16: Introduction to Azure Functions - Tutorial

• Scaling up to a larger VM for more resources

• Scaling out as simple as a slider bar• Set up auto-scaling rules to handle

additional load while you’re asleep

Scaling on App Service

Page 17: Introduction to Azure Functions - Tutorial

Built to scale

Page 18: Introduction to Azure Functions - Tutorial

Servers when you want them…

Page 19: Introduction to Azure Functions - Tutorial

Servers when you want them…

serverless when you don’t

Page 20: Introduction to Azure Functions - Tutorial

The 0 case without dynamic compute

Page 21: Introduction to Azure Functions - Tutorial

The 0 case with dynamic compute

Page 22: Introduction to Azure Functions - Tutorial

0 to many with dynamic compute

Page 23: Introduction to Azure Functions - Tutorial

Demo: API

Page 24: Introduction to Azure Functions - Tutorial

Demo: API Hub – Files Connectors

Page 25: Introduction to Azure Functions - Tutorial

Wrap Up

Page 26: Introduction to Azure Functions - Tutorial

What’s NextTry Azure Functions @ https://functions.azure.com Try App Service @ https://tryappservice.azure.com Fork us @ https://github.com/azure/azure-webjobs-sdk-script

Contact me@[email protected] https://blogs.msdn.microsoft.com/appserviceteam