Presentation is loading. Please wait.

Presentation is loading. Please wait.

1/3/2019 9:40 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS.

Similar presentations


Presentation on theme: "1/3/2019 9:40 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS."— Presentation transcript:

1 1/3/2019 9:40 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

2 Building Serverless Cloud Applications with Azure Functions
1/3/2019 9:40 AM Building Serverless Cloud Applications with Azure Functions Byron Tardif Senior Program Manager App Service / Azure Functions © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

3 BAM!!! Azure Functions Process events with Serverless code.
Make composing Cloud Apps insanely easy Develop Functions in C#, Node.js, F#, and more Easily schedule event-driven tasks across services Expose Functions as HTTP API endpoints Scale Functions based on customer demand Easily integrate with other services Azure Functions BAM!!! Events + data Code © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

4 Language Support Languages Status Notes C# GA
1/3/2019 9:40 AM Language Support Languages Status Notes C# GA C# Script and Class Libraries JavaScript Node, and 8.4.0 F# F# Script and Class Libraries Java Preview Maven, Jenkins, Eclipse, VS Code Supported Additional Experimental Languages: Python, Bash, Powershell, Batch, PHP, TypeScript © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

5 1/3/2019 9:40 AM Demo Hello World © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

6 Customer Success Stories
1/3/2019 9:40 AM Customer Success Stories © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

7 Microsoft 2016 1/3/2019 9:40 AM “We were able to move development along smoothly and cost-effectively, even when unexpected issues arose, by taking advantage of Azure capabilities” JYuki Chiba Design Leader, Advanced Solutions Group Transformed its popular IMAGE WORKS service through Azure serverless technologies. Benefits: Latency reduced by 95% Development time reduced by 75% Higher reliability Ability to add new features and releases faster and more frequently © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

8 Microsoft Tech Summit FY17
1/3/2019 9:40 AM The “evolution” of application platforms © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

9 Microsoft Tech Summit FY17
1/3/2019 9:40 AM What is the right size of servers for my business needs? How do I deploy new code to my server? What happens in case of server hardware failure? What media should I use to keep backup? Which packages should be on my server? Who monitors my App? What size of servers should I buy? How often should I backup my server? How can I increase server utilization? How can I scale my app? Who has physical access to my servers? Which OS should I use? Do I need secondary network connection? Are my server in a secure location? What happens if the power goes out? Who monitors my Servers? Do I need a UPS? What storage I need to use? How many servers do I need? How can I dynamically configure my app? It takes how long to provision a new server? How often should I patch my servers? On-Premises The “evolution” of application platforms © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

10 Microsoft Tech Summit FY17
1/3/2019 9:40 AM What is the right size of servers for my business needs? How can I increase server utilization? How many servers do I need? How can I scale my app? How often should I patch my servers? How do I deploy new code to my server? How often should I backup my server? Which OS should I use? Which packages should be on my server? Who monitors my App? On-Premises IaaS The “evolution” of application platforms © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

11 Microsoft Tech Summit FY17
1/3/2019 9:40 AM What is the right size of “servers” for my business needs? How can I increase “server” utilization? How many “servers” do I need? How can I scale my app? On-Premises IaaS PaaS The “evolution” of application platforms © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

12 Microsoft Tech Summit FY17
1/3/2019 9:40 AM How do I architect my app? Serverless, the platform for next gen apps On-Premises IaaS PaaS Serverless The “evolution” of application platforms © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

13 Abstraction of servers
What is “serverless” Abstraction of servers Sub-second billing Event-driven scale

14 Benefits of “serverless”
Manage less Micro-pricing Ease of scale

15 Serverless application platform components
Development Platform IDE support Event Grid Manage all events that can trigger code or logic Logic Apps Design workflows and orchestrate processes Functions Execute your code based on events you specify Integrated DevOps Local Development Monitoring Database Storage Security IoT Analytics Intelligence Visual Debug History

16 Ways to Run Functions Azure Stack Consumption App Service Plan
1/3/2019 9:40 AM Ways to Run Functions Consumption Serverless App Service Plan Free, Basic, Standard, Premium App Service Environment Network Isolation Azure Stack On Premises Azure Functions Runtime (preview) Functions on your Server Pay only for what you use! Metering is per execution and per GB Second. Your own dedicated cloud environment with network isolation for apps, higher scale, and the ability to connect securely to local vNets. Leverage cloud innovations in on-premises infrastructure. Azure Stack brings the power of Azure to your own data centers. Run your Azure Functions on your local server (without the rest of Azure) All the advantages of Functions with the SLA and ‘always on’ features of an App Service Plan. © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

17 Consumption Plan The Consumption Plan option
Pay for what you use without the need to reserve compute resources. Function Apps are assigned to compute processing instances that are scaled dynamically by the platform. Functions can have multiple parallel executions minimizing the total time needed to process requests. Cost is driven by the number of executions and by accounting for memory size used and total execution time across all functions in a Function App as measured in gigabyte-seconds. Selection guidance Good option if your functions run at elastic scale with potentially intermittent executions.

18 App Service Plan The App Service Plan option
Function Apps run on dedicated VMs, just like Web Apps work today for Basic, Standard, or Premium SKUs. Dedicated VMs are allocated to your apps and they are always available whether code is being actively executed or not. Selection guidance Good option if you have existing, under-utilized VMs that are already running other code or Good option if you expect to run functions continuously or almost continuously

19 What is the “Functions” programming model?
Function as the unit of work Functions are executed; they start and finish Functions have triggers Functions can have inputs and outputs (bindings) © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

20 1/3/2019 9:40 AM Proxies © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

21 Deployment and management isolation
1/3/2019 9:40 AM Deployment and management isolation customers.azurewebsites.net products.azurewebsites.net orders.azurewebsites.net Customers API calls Products Orders © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

22 HttpTrigger function endpoints
1/3/2019 9:40 AM Function app B /products Function2 /products /orders Function app A /customers Function1 Function app C /orders Function3 Key: HttpTrigger function endpoints API proxy endpoints © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

23 1/3/2019 9:40 AM Tooling © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

24 Azure Functions Tooling Options
1/3/2019 9:40 AM Azure Functions Tooling Options Portal (with Kudu) Visual Studio VS Code CLI © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

25 Development tools Monitoring: App Insights
1/3/2019 9:40 AM Development tools Monitoring: App Insights Local debugging: VS, VS Code Run locally: X-Plat CLI Publish: VSTS, Maven CD: GitHub, BitBucket, Jenkins… Outer loop Inner loop © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

26 Demo Coding with Azure Functions in Visual Studio 1/3/2019 9:40 AM
© Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

27 Monitoring Monitor Alert Diagnose Learn What is my app doing?
1/3/2019 9:40 AM Monitoring Monitor What is my app doing? Alert Is my app unhealthy? Diagnose Why is it unhealthy? Learn What was my app doing? © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

28 Azure Application Insights
1/3/2019 9:40 AM Azure Application Insights Extensible Application Performance Management (APM) Rich data: Metrics, Traces, Exception tracking, Dependencies, Page Views, User data, custom events Easy to use graph/alerts, powerful analytics portal, integration with PowerBI and other analytics services © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

29 Demo Monitoring a Rapidly Scaling Function 1/3/2019 9:40 AM
© Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

30 Demo Photo Mosaic 1/3/2019 9:40 AM
© Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

31 Architecture SPA Function App storage/index.html /RequestMosaic
Blob Storage - images Save image Settings Queue trigger SPA Blob Storage storage/index.html / storage/index.html /RequestMosaic /api/RequestMosaic /Settings /api/Settings Function App

32 Azure Functions is an Open Source project
1/3/2019 9:40 AM Azure Functions is an Open Source project Azure WebJobs SDK script - the Azure Functions runtime Azure WebJobs SDK - the "core" of the Azure Functions runtime and many bindings Azure WebJobs SDK extensions - the repositories of many bindings Azure Functions CLI - the command line tool for Azure Functions Azure Functions Portal - the UX for the Functions development portal Azure Functions templates - the templates which show up the Azure Functions portal Azure Functions samples - repository for some samples on how the runtime works © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

33 1/3/2019 9:40 AM 5 Minutes for Q&A © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

34 Final Thoughts Try Azure Functions!
1/3/2019 9:40 AM Final Thoughts Try Azure Functions! Functions is robust, mature, and serves critical customer workloads Engage with us on Tug of war demo: Photo Mosaic © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.


Download ppt "1/3/2019 9:40 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS."

Similar presentations


Ads by Google