from zero to wicked useful in about an hour HELLO my name is

Slides:



Advertisements
Similar presentations
Attie Naude 14 May 2013 Windows Azure Mobile Services.
Advertisements

What’s New in Windows Azure A platform overview + how it can fit into my development shop today… New England Microsoft Dev Group 06-June-2013 (6:30-8:30.
T Sponsors Sameer Chabungbam Principal Program Manager, Microsoft Connector API Apps BizTalk Summit 2015 – London ExCeL London | April 13th & 14th.
Except where noted, slide deck is © 2014 Development Partners Software Corporation Runbooks Automating.
Welcome to Azure App Services! Amie Seisay
Welcome to Azure App Services! Amie Seisay
Windows Azure Web Sites Second-generation PaaS Boston Cloud Meetup 14-January-2014 (00:30) Boston Azure User Group
Building and Diagnosing Applications using Visual Studio and Azure SDK Paul Yuknewicz Principal PM Manager.
A Lap around Azure API Apps. Customer Challenges What are API Apps? Creating and Consuming an API App using VS Adding authentication API Connectors Swagger.
Copyright © New Signature Who we are: Focused on consistently delivering great customer experiences. What we do: We help you transform your business.
Windows Azure and iOS Chris Risner Windows Azure Technical Evangelist Microsoft
PRESENTS TECHNOLOGY PARTNER INTEGRATION DAY MICROSOFT GTSC, Bengaluru September 10, 2016 Tulika Chaudharie / Harikharan Krishnaraju Escalation Engineer,
PowerApps and Microsoft Flow for SharePoint Developers Brian T. Jackett Sr. Premier Field Engineer, Microsoft.
11/19/2017 9:41 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Serverless in Office 365 Build services with Azure Functions
Building Azure Logic Apps
WPC057 - Introduzione a PowerApps e Microsoft Flow
1/27/2018 5:13 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
IT06 – HAVE YOUR OWN DYNAMICS NAV TEST ENVIRONMENT IN 90 MINUTES
Stephen W. Thomas Integration MVP
Building ARM IaaS Application Environment
Working with Logic App Cloud Adapters, Functions, and Storage
Stress Free Deployments with Octopus Deploy
Deploying Web Application
Microsoft Dynamics CRM and Azure Service Bus Integration
Gain visibility into your apps with Azure Application Insights
Tulika Chaudharie / Harikharan Krishnaraju
Using Azure Functions to Build Nanoservices
Developing Hybrid Apps on Microsoft Azure Stack
6/17/ :27 AM BRK3341 Unlock extensibility by connecting your service to PowerApps and Microsoft Flow Theresa (Tessa) Palmer–Sr. Program Manager Sunay.
Introducing Azure Functions
Bill Wilder, CTO, Finomial Corporation
A Gentle Introduction to Azure
Jeff Hollan / Kevin Lam Program Manager / Principal Program Manager- Microsoft Bringing Logic Apps into DevOps with Visual Studio and monitoring.
7/19/2018 9:40 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Microsoft Ignite /22/2018 3:27 PM BRK2121
Microsoft Build /6/2018 4:41 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Exploring Azure Event Grid
The New Breed: OMS, Flow, and Power BI Integration
9/20/ :55 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Kevin Lam / Jeff Hollan Powerful Integration and Workflow Automation
Using Microsoft Flow with Power BI
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
Azure Event Grid with Custom Events
Working with Logic App Cloud Adapters, Functions, and Storage
Near Real Time ETLs with Azure Serverless Architecture
Modern cloud PaaS for mobile apps, web sites, API's and business logic apps
Learn. Imagine. Build. .NET Conf
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
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.
Microsoft Build /14/2019 8:42 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Saranya Sriram Developer Evangelist | Microsoft
Serverless Architecture in the Cloud
2/19/2019 9:06 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Microsoft Flow Approvals 101
Deep Dive into Azure API Apps and Logic Apps
Kevin Lam & Derek Li Introduction To Logic Apps
Welcome to the WeWork 200 Portland St, Boston MA.
Microsoft Azure Managing Users & Resources with Azure Resource Manager
Getting Hands-On with Azure Logic Apps
Power BI Streaming Datasets with MS Flow
5 Azure Services Every .NET Developer Needs to Know
Working with Logic App Cloud Adapters, Functions, and Storage
Preview Version 1.7 ( ) OUTDATED (April 2017) – Azure DevOps not listed, for example, and AKS is not there,
Day 2, Session 2 Connecting System Center to the Public Cloud
Office 365 Development July 2014.
Why You Really Need Azure Functions
Michael Stephenson Microsoft MVP - Azure
Alex Karcher 5 tips for production ready Azure Functions
Presentation transcript:

Serverless Azure A Gentle Introduction to Microsoft Azure Logic Apps & Functions from zero to wicked useful in about an hour HELLO my name is Bill Wilder Granite State SharePoint Users Group Thu 07-Sep-2017 6:00-7:30 PM Bill Wilder, CTO, Finomial Corporation

8x recipient cto author founder

Goals: By the end of this talk… Demystify Logic Apps and Functions (aka Function Apps, Azure Functions, Functions as a Server (FaaS)). Realize that Logic Apps and Functions are completely independent of each other, but can be used together. Both are serverless technologies.

Logic Apps

@ServerlessAzure LiveSlide Site https://twitter.com/serverlessazure

Just hitting this URL (behind the scenes) via HTTP GET to invoke the Logic App: https://prod- 11.northcentralus.logic.azure.com:443/workflows/786d9f6792f643bd87 7cc2e863ae4425/triggers/manual/paths/invoke?api-version=2016-06- 01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=bSl6WTGbTSJe2phH XPporWYFbgRp6w6ZD0NH8eBVLnc LiveSlide Site https://prod-11.northcentralus.logic.azure.com/workflows/786d9f6792f643bd877cc2e863ae4425/triggers/manual/paths/invoke?api-version=2016-06-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=bSl6WTGbTSJe2phHXPporWYFbgRp6w6ZD0NH8eBVLnc

@ServerlessAzure LiveSlide Site https://twitter.com/serverlessazure

Logic Apps – the new component model Triggers + Actions = Logic App

Triggers + Actions = Logic App Triggers  Some event – web hook, timer, user action, etc. + Actions  Your response to trigger – based on trigger & data = Logic App  Serverless Software Component

How is this possible? Connectors A Component Model for the Cloud The code behind Triggers & Actions Front simple microservers or whole systems Ecosystem is blooming Gallery of Microsoft-maintained connectors Community-contributed connectors are available You can create your own connectors (via Open API (Swagger)) Well-defined Logic App Workflow Definition Language https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-workflow-definition-language

Triggers Timer User action Action from some other system Queue Message, Blob Creation, Webhook/HTTP Call Examples: tweet, email, slack, calendar event, something changed Business event: User signed up on my website Code event: New version of file checked into GitHub Azure event: A new VM was provisioned

Actions Call an API Trigger more actions Use data from triggers for filtering/decisions Pass along data from triggers in carrying out actions Can be custom Huge gallery New component model for software developers

Demo Time Build the tweeter we just experienced Build other integrations (dangerous ad hoc demos ) HTTP 202 JSON Schema Workflow Definition Language Use trigger data & conditional processing Logic App Workflow Definition Language https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-workflow-definition-language https://en.wikipedia.org/wiki/ISO_8601#Durations https://jsonschema.net/#/editor { "type": "object", "properties": { "tweet": { "type": "string" }

JSON Schema example (tweet) { "type": "object", "properties": { "tweet": { "type": "string" }

Sharepoint + Logic Apps https://docs.microsoft.com/en-us/azure/connectors/connectors- create-api-sharepointonline

Function Apps

Function Apps are Code with Triggers Timer User action Action from some other system Queue Message, Blob Creation, Webhook/HTTP Call (Look familiar?)

Error Handling Try it Retry it Deal with the failure Track with logging & telemetry Monitor with alerts & dashboards “Scopes” https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps- exception-handling

Azure Function that returns 500 75% of calls https://gist.github.com/codingoutloud/151976063b1e9367369f1505f 6cca66e

Sharepoint + Functions https://dev.office.com/sharepoint/docs/apis/webhooks/sharepoint- webhooks-using-azure-functions

Demo Errors/Retries What happens if there’s an error? Command Line Azure Function Monitoring https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-create-api-app#webhook-triggers

Serverless

Serverless Computing is characterized by… Deployment units are small, loosely-coupled components More “no server configuration” than PaaS Cloud-friendly pay-by-the-drink billing https://martinfowler.com/articles/serverless.html https://twitter.com/adrianco/status/736553530689998848

“Multiple Triggers” One trigger type can be assigned per Logic App Many parallel instances of your Logic App can fire to absorb load Limits? https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-limits- and-config Why would you want to limit it? Singleton available https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-limits-and-config

Pricing Logic Apps Azure Functions Consumption https://azure.microsoft.com/en-us/pricing/details/logic-apps/ Azure Functions Consumption or App Service Plan https://azure.microsoft.com/en-us/pricing/details/functions/ https://commons.wikimedia.org/wiki/File:Gold_Currency_Symbols.svg

Flow vs. Logic Apps https://portal.office.com/myapps https://flow.microsoft.com/ Flow is “civilian” version of Logic Apps: “Grow up to Azure Logic Apps” https://flow.microsoft.com/en-us/blog/q2-2017- update/ Same connectors: https://docs.microsoft.com/en- us/azure/connectors/apis-list Same underlying core Comparison by Microsoft: https://docs.microsoft.com/en- us/azure/azure-functions/functions-compare-logic-apps-ms-flow-webjobs

–Microsoft Announcement on May 31, 2017 BizTalk vs. Logic Apps “To simplify the customer experience across our enterprise integration services, we have incorporated the Azure BizTalk Services capabilities into Logic Apps and Azure App Service Hybrid Connections.” –Microsoft Announcement on May 31, 2017 https://azure.microsoft.com/en-us/updates/azure-biztalk-services- simplifying-our-azure-offerings/ https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps- enterprise-integration-overview https://channel9.msdn.com/Events/Ignite/Australia-2017/CLD224 http://www.alliedc.com/azure-logic-apps-vs-biztalk-a-comparison-between-old-and-new-integration-platforms/ https://social.msdn.microsoft.com/Forums/en-US/de98495a-9395-4468-933c-92bedf7d80da/logic-apps-vs-biztalk-server?forum=biztalkgeneral

PowerApps vs. Logic Apps https://powerapps.microsoft.com/en-us/tutorials/getting-started/ https://www.carlosag.net/downloads/PowerApps-Connectors-Reference.pdf

Zapier vs. Logic Apps

IFTTT vs. Logic Apps

Dev & Deploy Visual Studio (2015+) - https://docs.microsoft.com/en- us/azure/azure-functions/functions-develop-vs Azure Portal ARM Templates PowerShell REST API

Official Twitter Accounts (pretty sure ) @LogicAppsIO @AzureFunctions @AzureApiManagement @PowerApps @CosmosDB

NuGet Packages Conference session (video) on making NuGet packages for Azure Functions: https://channel9.msdn.com/Events/Iglooconf/Iglooconf- 2017/Azure-Functions-NuGet-Superpowers One answer to reusing code within Azure Functions (and within other systems too). Another answer is to reuse ’services’ – like Azure Functions 

Postman Just a tool, but a popular/handy one https://www.getpostman.com/ Useful for testing HTTP actions, including API calls Free Slack channel – https://postmancommunity.slack.com/ @postman

RequestBin Just a tool, but a popular/handy one https://requestb.in/ Useful for inspecting HTTP webhook payloads and workflow steps Free @requestbin - https://twitter.com/requestbin

{JSON:Schema} https://jsonschema.net/#/editor @JSONSchema

Scheduler https://cronwtf.github.io/ https://crontab.guru/#0_*/5_*_*_*

Duration – per ISO 8601 https://en.wikipedia.org/wiki/ISO_8601#Durations PT5M PT2D PT36H PT36H vs. P1DT12H

Logic Apps Workflow Definition Language

Only Scratching the Surface! Potential follow-up topics: Azure API Apps DevOps Experience Monitoring (and. so. many. more.) https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-create-api-app#webhook-triggers

Find this slide deck here Questions? See you at Boston Azure bostonazure.org Find this slide deck here Bill Wilder @codingoutloud codingoutloud@gmail.com blog.codingoutloud.com linkedin.com/in/billwilder

Subliminal  … 0.25