Presentation is loading. Please wait.

Presentation is loading. Please wait.

Welcome to the WeWork 200 Portland St, Boston MA.

Similar presentations


Presentation on theme: "Welcome to the WeWork 200 Portland St, Boston MA."— Presentation transcript:

1 Welcome to the WeWork 200 Portland St, Boston MA

2 Sponsor

3

4 Azure Functions with VS Code
Credits: Some pictures from Build Azure.com

5 Who am I? Naval Research labs, TASC Amazon.com Microsoft
AI, Image Understanding and Geometric Reasoning, Expert Systems Amazon.com Helped build Catalogs for book, music, and video Microsoft Consulting services: Azure, SOA, BizTalk, SharePoint, Workflow, Solution Architecture East Region Community lead for Federated Identity Management Mission Hill Technology SOA, Solution Architecture, SharePoint, Azure, OpenID Connect and Oauth, SaaS, IaaS

6 Contact Me Email Phone Twitter Linked In
Phone Twitter @jelmht Linked In

7 Why Azure Functions? How did we get here? Functional Programming
Classes with interfaces, Facades REST and Stateless, Serverless Functions

8 Why Azure Functions? API as architecture Serverless Scalable
API -> Management -> Communication -> presentation A Dream Map zwP3rFMtPgNGxWXHl55MG_1fXo

9 Core Ideas Azure Functions Function Chaining for long running tasks
Micro Chains Communication Queues Durable Functions

10 Service Plans Consumption Plan App Service Plan
Pay based upon resources used Executions, Time, Memory App Service Plan You own the VM Think IasS Linux, boutique images

11 Consumption Plan Scale Controller Auto scales CPU and memory
Adds additional instances of the Function Host Based on number of events that its functions are triggered on Limited to 1.5 GB for each instance Is the Function App All functions within the App share resources Scale at the same time

12 App Service Plan Function Apps on dedicated VMs
Basic, Standard, Premium Similar to Web Apps, API Apps, and Mobile Apps Functions Host always running Supports Linux Decouples cost from execution, time, and memory Pay no more than the cost of the VM

13 App Service Plan Consider when:
Under utilized VMs already in architecture or Expect to run continuously Need more CPU, memory, or time than available in Consumption Plan Need VNET/VPN or larger VM sizes, Linux or need a custom image

14 Runtime Scaling Scale Controller
Heuristic scaling based upon trigger type Bi directional scaling as compute demand changes Different triggers may have different scaling limits Single Function App Only scale to a maximum of 200 instances May process more than a single message and no set limit on concurrent executions New instances only allocated at 10 second intervals

15 Scale Controller

16 Azure Function Chaining

17 Durable Functions

18 Tools you will need or like
NvM NodeJS VS Code Azure Storage Explorer Postman

19 Mind Maps Azure CLI Choices
we3j6XxMdY9cxkO_VT Install rqyXzw0uv-gtEoyXq1pqPFEVnTjm Create Resource Group bihxlZxHLOGNihN2ml_S

20 Mind Maps Initialize VS Code
XTpxITAwYmaBjy6zNdV Modify Runtime Props andhHlvC_9FItln0pv Publish Function App cmBJwmtrFlYxJ0cv

21 Mind Maps Create Storage Account
GDazDnq87GO2POc0hF2RRRZ-P0w0vR Check Runtime ZqE2Ms6BWO9XrN4bdD Create Function App JM9Kj1dKbZ3PqheJFh

22 Mind Maps Delete Resource Group
VXxV2_r2HNczn9V2-Qy Shell Launcher, host.json, Git fAmOOF9FG36YZjJx1D

23 Resources Azure Functions Documentation Azure Functions Resources
Azure Functions Resources Stack Overflow Twitter

24 Resources Getting Started Building Azure Functions in C# with VS Code
Building Azure Functions in C# with VS Code studio-code/

25 Consumption Plan Pricing
Function Pricing Calculator Tool Function App monitor

26 The End Onto our Quest!! Let’s look at some code

27 Consumption Plan (Extra Slide)
Stored on Azure File shares Main storage account No recovery when deleted Triggers Blob trigger can be delayed up to 10 minutes Blob Processing Event Grid Queue message with name

28 Consumption Plan (Extra Slide)
Default time limit 5 minutes scalable to 10 minutes host.json file Billing aggregated across all functions within a Function App Executions Time Memory Scale out automatically Pay when running Even during periods of high load

29 App Service Plan (Extra Slide)
Enable “Always On” setting Similar to Web Jobs Functions runtime goes to idle after a few minutes Only HTTP triggers will wake up your functions Only available in Service App Plan Consumption Plan automatically activates function Apps


Download ppt "Welcome to the WeWork 200 Portland St, Boston MA."

Similar presentations


Ads by Google