Slide 1

Slide 1 text

Serverless with Azure Functions Hossam Barakat Senior Consultant at Readify @hossambarakat_

Slide 2

Slide 2 text

@hossambarakat_ • What is Serverless? • What is Azure Functions? • Development • Deployment • Monitoring • Pricing Model Agenda

Slide 3

Slide 3 text

@hossambarakat_ What is Serverless? $

Slide 4

Slide 4 text

@hossambarakat_ What is Azure Functions? Event driven serverless compute

Slide 5

Slide 5 text

@hossambarakat_ Azure Functions Architecture

Slide 6

Slide 6 text

@hossambarakat_ Development Options • Azure Portal • Visual Studio 2017 Preview • Azure Function Core Tools

Slide 7

Slide 7 text

@hossambarakat_

Slide 8

Slide 8 text

@hossambarakat_ Emotion API File Name Emotions random name happy Emotions Recogniser

Slide 9

Slide 9 text

@hossambarakat_ Deployment

Slide 10

Slide 10 text

@hossambarakat_ Visual Studio

Slide 11

Slide 11 text

@hossambarakat_ Function Core Tools

Slide 12

Slide 12 text

@hossambarakat_ Continuous Deployment

Slide 13

Slide 13 text

@hossambarakat_ CI/CD

Slide 14

Slide 14 text

@hossambarakat_ ARM Template Resource Deployment

Slide 15

Slide 15 text

@hossambarakat_ Deployment Slots Production

Slide 16

Slide 16 text

@hossambarakat_ Deployment Slots Production UAT

Slide 17

Slide 17 text

@hossambarakat_

Slide 18

Slide 18 text

@hossambarakat_ Monitoring

Slide 19

Slide 19 text

@hossambarakat_ • Extensible Application Performance Management (APM) • Monitor request rates, response times, failure rates, exceptions,… • Custom events • Easy to use analytics portal • Built-in alerts • Integration with PowerBI and other analytics services Azure Application Insights

Slide 20

Slide 20 text

@hossambarakat_

Slide 21

Slide 21 text

@hossambarakat_ • App Service Plan • Dedicated VMs • Pay based on number of VMs • You are responsible of scaling • Consumption Plan • Dynamic Hardware • Pay based on execution • Platform is responsible of scaling Pricing

Slide 22

Slide 22 text

@hossambarakat_ • Azure Functions development experience and usage of triggers and bindings • Azure Functions deployment (Content, Infrastructure- as-code) • Monitoring Azure Functions using Application Insights Summary

Slide 23

Slide 23 text

@hossambarakat_ • https://martinfowler.com/articles/serverless.html • https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference • https://azure.microsoft.com/en-us/services/cognitive-services/emotion/ • https://blogs.msdn.microsoft.com/appserviceteam • https://github.com/Azure/app-service-announcements • https://github.com/Azure/azure-webjobs-sdk-script • https://github.com/Azure/azure-quickstart-templates References

Slide 24

Slide 24 text

@hossambarakat_ Questions?

Slide 25

Slide 25 text

@hossambarakat_ Thanks