Slide 1

Slide 1 text

Serverless Computing - just a hype? An introduction to Azure Functions

Slide 2

Slide 2 text

Robert Schlaeger Developer [email protected] @RobAnybody_

Slide 3

Slide 3 text

Sebastian Jensen Developer [email protected] @tsjdevapps

Slide 4

Slide 4 text

Serverless?! http://www.commitstrip.com/en/2017/04/26/servers-there-are-no-servers-here/

Slide 5

Slide 5 text

What are Azure Functions? Code Events + Data Azure Functions

Slide 6

Slide 6 text

Some Benefits Abstraction of Servers Sub-second billing Speed & Availability Instant Scale Focus on Logic Different Languages

Slide 7

Slide 7 text

Language Support

Slide 8

Slide 8 text

Local Testing

Slide 9

Slide 9 text

Local Testing

Slide 10

Slide 10 text

Local Testing

Slide 11

Slide 11 text

Hello World/Name – C#

Slide 12

Slide 12 text

Hello World/Name – JS

Slide 13

Slide 13 text

Hello World/Name – F#

Slide 14

Slide 14 text

Demo

Slide 15

Slide 15 text

Triggers • Defines the invocation of the function • Must have exactly one trigger • A trigger has some associated data with it • Contains the payload that triggered the functions

Slide 16

Slide 16 text

Bindings • Means of connecting to data from the code • 2 types of bindings: Input Bindings and Output Bindings • Bindings are optional • Can have multiple input and output bindings

Slide 17

Slide 17 text

Voice Assistant: Alexa • Amazon • April 2014 • Echo Family • Windows-PCs later this year… Alexa

Slide 18

Slide 18 text

Wording: Skill • Voice Experiences, which can be developed by third parties • Extends the available functions • "Voice Apps" with focused functionality • Are currently available for free • Be activated or deactivated via voice commands or companion apps

Slide 19

Slide 19 text

Demo

Slide 20

Slide 20 text

Pros of Azure Functions • Azure Functions are cheap. • Azure Functions are simple for simple scenarios. • The amount of code you write in a function will probably be less than writing the same behavior outside of Azure Functions.

Slide 21

Slide 21 text

Cons of Azure Functions • The languages and the runtimes for Azure Functions are not specialized. • Deploying, authoring, testing, and executing a function is difficult outside of Azure. • Startup time of the function is sometimes a little bit slow.

Slide 22

Slide 22 text

Resources • Azure Functions – https://azure.microsoft.com/en-us/services/functions/ • Cognitive Services – https://azure.microsoft.com/en-us/services/cognitive-services/ • Botframework – https://dev.botframework.com/ • Slides & Code – https://github.com/tsjdev-apps/meetup-azurefunctions-demos

Slide 23

Slide 23 text

Any questions?

Slide 24

Slide 24 text

Thank you for your interest! www.medialesson.de