Download - Logic Apps and Azure Functions
#gib2017 #gib2017
2017 - Brisbane
Dan Toomey | Mexia@daniel2me
Logic Apps & Azure Functions
#gib2017
Who am I?• Principal Consultant, Mexia• Microsoft Azure MVP• MCSA, MCT, MCPD, MCTS BizTalk &
Azure• Pluralsight Author• www.mindovermessaging.com• @daniel2me
#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
#gib2017
What Is “Serverless”?
Servers arefully-abstracted
Scaling is event-drivennot resource-driven
Pay only for what you use
AvailabilitySpeed
#gib2017
Benefits of “Serverless”
Do lessManage less
Ease of scale Pay per executi
on
#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)
#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
#gib2017
Logic Apps Connectors (100+)SaaS Apps and Services Azure and Power Apps
Protocols
Hybrid
B2B, EDI, AS2 and XML
#gib2017
For everything else
Azure Functions(Serverless)
API Apps(PaaS)
#gib2017
Creating a Function
#gib2017
Creating a Function
#gib2017
Developing a Function
#gib2017
Integrating a Function
#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)
ü
#gib2017
Testing a Function
#gib2017
Managing a Function
#gib2017
Timer-based processing
Azure service event processing
Scenarios:
#gib2017
Serverless web application architecturesSaaS event processing
Scenarios:
#gib2017
Real-time stream processingReal-time bot messaging
Scenarios:
#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
#gib2017© 2016 Microsoft Corporation. All rights reserved. Microsoft
Ignite
Questions?
#gib2017
Lab #4Logic Apps + Azure Functions + Azure Storage
#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)
#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