logic apps and azure functions

24
#gib2017 #gib2017 2017 - Brisbane Dan Toomey | Mexia @daniel2me Logic Apps & Azure Functions

Upload: daniel-toomey

Post on 05-Apr-2017

143 views

Category:

Technology


4 download

TRANSCRIPT

Page 1: Logic Apps and Azure Functions

#gib2017 #gib2017

2017 - Brisbane

Dan Toomey | Mexia@daniel2me

Logic Apps & Azure Functions

Page 2: Logic Apps and Azure Functions

#gib2017

Who am I?• Principal Consultant, Mexia• Microsoft Azure MVP• MCSA, MCT, MCPD, MCTS BizTalk &

Azure• Pluralsight Author• www.mindovermessaging.com• @daniel2me

Page 3: Logic Apps and Azure Functions

#gib2017

Evolution of the Cloud (Compute)Pre-Cloud

B.Y.O. ServersIaaS PaaS “Serverless”

Business AppFunc Task Func

Business AppFunc Task Func

FuncTask

Func

Managed

Page 4: Logic Apps and Azure Functions

#gib2017

What Is “Serverless”?

Servers arefully-abstracted

Scaling is event-drivennot resource-driven

Pay only for what you use

AvailabilitySpeed

Page 5: Logic Apps and Azure Functions

#gib2017

Benefits of “Serverless”

Do lessManage less

Ease of scale Pay per executi

on

Page 6: Logic Apps and Azure Functions

#gib2017

“Serverlessness” of Logic Apps and FunctionsNo need to worry about VMs/PaaS VMsNo need to worry about resources but eventsDevOps focus on code, deployment and managing the app, but not the platform. Pay per action or execution time. Born, live and die on the cloud (develop, test and ship)

Page 7: Logic Apps and Azure Functions

#gib2017

Logic Apps and Functions in Integration

Implement and orchestrate visually designed integration workflowsOrchestrate distributed microservices100+ Connectors (Protocols, SaaS apps and services, and hybrid)

B2B Integrations with AS2 and EDI

Languages supported: C#, F#, Node.js,Php, PowerShell, Python, bash, batch. Implement code-based microservicesDifferent Trigger, Input and Output bindingsSynchronous and Asynchronous execution

Page 8: Logic Apps and Azure Functions

#gib2017

Logic Apps Connectors (100+)SaaS Apps and Services Azure and Power Apps

Protocols

Hybrid

B2B, EDI, AS2 and XML

Page 9: Logic Apps and Azure Functions

#gib2017

For everything else

Azure Functions(Serverless)

API Apps(PaaS)

Page 10: Logic Apps and Azure Functions

#gib2017

Creating a Function

Page 11: Logic Apps and Azure Functions

#gib2017

Creating a Function

Page 12: Logic Apps and Azure Functions

#gib2017

Developing a Function

Page 13: Logic Apps and Azure Functions

#gib2017

Integrating a Function

Page 14: Logic Apps and Azure Functions

#gib2017

Azure Functions Triggers, Inputs and OutputsType / Service Trigg

erInput Output

Schedule üHttp Call ü ü üAzure Blob Storage ü ü üAzure Event Hubs ü ü üAzure Storage Queues ü ü üAzure Service Bus Messaging ü ü üAzure Storage Tables ü üAzure Mobile Apps Tables ü üAzure DocumentDB ü üAzure Notifications Hubs üTwilio SMS Message üSendGrid emails (not fully documented) üCloud File Storage SaaS, such as Box, DropBox, OneDrive, FTP (not fully documented)

ü

Page 15: Logic Apps and Azure Functions

#gib2017

Testing a Function

Page 16: Logic Apps and Azure Functions

#gib2017

Managing a Function

Page 17: Logic Apps and Azure Functions

#gib2017

Timer-based processing

Azure service event processing

Scenarios:

Page 18: Logic Apps and Azure Functions

#gib2017

Serverless web application architecturesSaaS event processing

Scenarios:

Page 19: Logic Apps and Azure Functions

#gib2017

Real-time stream processingReal-time bot messaging

Scenarios:

Page 20: Logic Apps and Azure Functions

#gib2017

Microsoft Azure iPaaS

Logic Apps

API Management

FunctionsService Bus

Connectors

HTTPFTP HTTP Swagger RSSHTTPResponse

HTTPRequest

SFTP SMTP

Webhook

appFigures Asana Basecamp 3 Bitly Blogger

Campfire Dropbox

Box

Dynamics 365 Dynamics 365for Financials

Dynamics 365for Operations

Easy Redmine

Facebook GitHub Google Calendar

GoToMeetingGoogle TasksGoogle Sheets

HideKey HipChat Insightly Instagram Instapaper

Bing Search Buffer

Chatter DocuSign

FreshDesk Google Drive

Harvest HelloSign JIRA

Azure and Power Apps Services

SaaS Apps and Services Protocols

BizTalk Server DB2 Informix SharePoint SQL Server File System WebsphereMQ

SAPConnector

Hybrid ConnectivityB2B, EDI, AS2 and XML

API/Web App Azure DocumentDB

Azure ML AzureFunctions

Azure BlobStorage

NestedLogic App

Service BusPower BI

Azure Queues

Resource Manager

Congnitive SvcFace API

Cognitive SvcText Analytics

Common DataService

Event HubsCognitive SvcLUIS

SQL Azure

API Apps

Page 21: Logic Apps and Azure Functions

#gib2017© 2016 Microsoft Corporation. All rights reserved. Microsoft

Ignite

Questions?

Page 22: Logic Apps and Azure Functions

#gib2017

Lab #4Logic Apps + Azure Functions + Azure Storage

Page 23: Logic Apps and Azure Functions

#gib2017

Lab #4 PrerequisitesAzure SubscriptionAzure Storage Explorer (http://storageexplorer.com)Postman (https://www.getpostman.com/) Outlook.com email accountTableCustomerDiscount.csv (in your setup files or use link in lab doco)

Page 24: Logic Apps and Azure Functions

#gib2017

Lab #4 Steps1. Create Storage Account2. Create Storage Blob

Container3. Create Storage Table4. Provision the Function App5. Build a custom function6. Provision a Logic App7. Build Logic App Definition8. Test the Solution

HTTP Request

OutlookOutlook OutlookOutlook

Functional Call

Approval

Storage table

Storage blobStorage blob

Query

Logic App

Function

Store