@marco_parenzan Azure Functions e Logic Apps I tuoi coltellini svizzeri per gestire i tuoi dati in un SQL Database.

Slides:



Advertisements
Similar presentations
Microsoft Confidential. An incubation effort to: Support client -> server communication in native code with a modern C++ API design Support writing Azure-based.
Advertisements

DEV392: Extending SharePoint Products And Technologies Through Web Parts And ASP.NET Clint Covington, Program Manager Data And Developer Services - Office.
Building Android Apps with Mobile Services Speaker Name Speaker Title Speaker Company Twitter:
Building and Diagnosing Applications using Visual Studio and Azure SDK Paul Yuknewicz Principal PM Manager.
Agility Dev TestDeploy Learn Agility.
12/29/2017 3:36 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Microsoft Ignite /4/2018 1:44 PM BRK3105
Going Serverless with AWS Lambda
4/19/ :02 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Working with Logic App Cloud Adapters, Functions, and Storage
4/23/2018 7:04 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Scalable Web Apps Target this solution to brand leaders responsible for customer engagement and roll-out of global marketing campaigns. Implement scenarios.
Azure Primed Randy Pagels Sr. Developer Technology Specialist
A day in the life of an Azure serverless developer
Tulika Chaudharie / Harikharan Krishnaraju
Using Azure Functions to Build Nanoservices
Data-driven serverless apps with Azure functions
Data-driven serverless apps with Azure functions
Mobile App Trends: lifecycle, functions, and cognitive
Introducing Azure Functions
Bill Wilder, CTO, Finomial Corporation
Machine Learning and Office 365 Collaboration
Let’s talk about Conversation Design
Azure Functions and Automation: The SQL Agent in the Cloud
7/6/2018 1:42 PM BRK2391 Making Microsoft AI work for your business with Bing Custom Search and Bing Search API v7 Brian King Group Program Manager Bing.
Introduction to Azure Bot Framework
Microsoft Build /6/2018 4:41 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
9/6/2018 7:14 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS.
@marco_parenzan Azure Functions e Logic Apps: i tuoi coltellini svizzeri per gestire i tuoi dati in un SQL Database.
Changing how people interact with computers
Scalable Web Apps Target this solution to brand leaders responsible for customer engagement and roll-out of global marketing campaigns. Implement scenarios.
Microsoft Azure Service Fabric Overview
Exploring Azure Event Grid
Jeff Hollan Azure Functions – Serverless compute in the cloud
02 | Design and implement database
Leverage the Intelligent Cloud
Microsoft Build /8/2018 5:15 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
Be Better: Achieve Customer Service Excellence and Create a Lean RMA and Returns Process with Renewity RMA and the Power of Microsoft Azure MICROSOFT AZURE.
Azure Event Grid with Custom Events
Accelerate Your Self-Service Data Analytics
11/23/2018 8:30 AM BRK3037 BRK3037: Dive deep on building apps and services with the Office 365 Communications Platform David Newman Senior Program Manager.
Microsoft Connect /24/ :05 AM
Working with Logic App Cloud Adapters, Functions, and Storage
Developing for the cloud with Visual Studio
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
Near Real Time ETLs with Azure Serverless Architecture
12/5/ :36 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Modern cloud PaaS for mobile apps, web sites, API's and business logic apps
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.
Jeff Hollan / Derek Li Program Manager – Microsoft
Technical Capabilities
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.
Enable long running Function Orchestrations
2/24/2019 6:15 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Kevin Lam & Derek Li Introduction To Logic Apps
Welcome to the WeWork 200 Portland St, Boston MA.
5 Azure Services Every .NET Developer Needs to Know
Artificial intelligence for everyone
Server & Tools Business
Bots, so you don't have to be always available to help your customers
Mark Quirk Head of Technology Developer & Platform Group
Azure App Service Web App for Containers
Exploring Cognitive Services
Matthew Farmer Making Azure Integration Services Real
Day 1, Session 4 Building Your Service Catalog
Presentation transcript:

@marco_parenzan Azure Functions e Logic Apps I tuoi coltellini svizzeri per gestire i tuoi dati in un SQL Database

@marco_parenzan .NET, IoT and Azure Developer, Trainer and Consultant Microsoft MVP 2017 for Azure Book Author @ Packt, LSWR Community Lead per 1nn0va

What SQL Database needs

What SQL Database needs SQL Database is Database as a Service It is only the database Vs. SQL20xx Almost language syntax aligned Deprecated features Migrate features to External/Other Azure Services Overlapping features (ex. JSON)

Serverless as glue

Choose your abstraction

Serverless manifesto Function are the unit of deployment and scaling. Scales per request Users cannot over- or under-provision capacity. Never pay for idle (no cold servers/containers or their costs) Trigger-based invocation code run because of an event happened and has to be handled

Serverless as a bridge for SQL Databases Import/Export Other data formats Data manipulations Schedules Other Azure services bridges

What is Azure Serverless A serverless nirvana? Microsoft Azure CTO Mark Russinovich on the future of the cloud https://www.geekwire.com/2017/serverless-nirvana-microsoft-azure-cto-mark-russinovich-future-cloud/

Functions

Azure Functions Process events with Serverless code. Make composing Cloud Apps insanely easy Develop Functions in C#, Node.js, Python, PHP, Batch and more Easily schedule event-driven tasks across services Expose Functions as HTTP API endpoints Scale Functions based on customer demand

Azure Functions architecture Azure Functions is built around the WebJobs SDK runtime. The WebJobs SDK makes it easy to react to events and work with data in a consistent abstracted fashion. App Service Dynamic Runtime WebJobs Core SDK WebJobs Extensions WebJobs Script Runtime Triggers Inputs/ Outputs Language Abstraction Code Config

Platform and scaling App Service offers dedicated and consumption tiers. Dedicated is the existing App Service plan tiers Basic, Standard, Premium Pay based on # of reserved VMs You’re responsible for scale Consumption (Dynamic) Pay per execution model - two meters, three units Number of executions Duration of execution x reserved memory

Supported bindings Type Service Trigger Input Output Schedule Azure Functions ✔ HTTP (REST or WebHook) Blob Storage Azure Storage Queues Tables No-SQL DB Azure CosmosDB Streams Azure Event Hubs Push Notifications Azure Notification Hubs IoT Azure IoT Hub

Supported Languages 1st class support Experimental support Node/JavaScript C# (.NET Framework 4.7.x) F# Experimental support .NET Core Linux Containers Java Python PHP Batch Bash PowerShell

Developing Functions Portal Local runtime Visual Studio 2017 Visual Studio Code Windows (.NET 4.6.1) 1.0 Windows/Linux (.NET Core 2.0) 2.0

Functions Programming Model Trigger (data) Input Input Input Output code Function as a single unit of work Functions are executed per trigger Functions have inputs and outputs Output

Durable Functions Enable “long running” functions while maintaining local state. Simplify complex Function coordination (chaining, etc.) Easily call a Function from another Function All of the above using code-only

Functions and Logic Apps Functions and Logic Apps work great together and that integration will only get better. You can orchestrate Functions using Logic Apps today. Durable Functions overlaps with Logic Apps, one function calling another, but: Offers advance ‘code only’ orchestration ‘like’ capabilities to function Enables "long running" functions Enables "advance" scenarios/patterns which are difficult otherwise: async HTTP, map reduce, actors, etc.

Logic Apps

Shared with Functions Serverless App Service based Triggers (templated)

Unique for Logic Apps «Older»/Mature(?) Implement and orchestrate visually designed integration workflows Orchestrate distributed microservices Or Functions Every action is a an http endpoint Connectors Declarative No code designer for rapid creation (mostly?)

Logic Apps Connectors (120+)

Concepts Simple-to-advanced flow control like conditions, loops, exception handling, and parallel Multiple Patterns Manual Invocation Event Based Scheduled Workflows Triggers Actions Managed APIs Flow structures

Workflow Definition Language “Code Behind” Basic Structure

Pricing Different billing model from Function App No App Service Plan  Per action (each step in a Workflow is an action, also a trigger) More details https://azure.microsoft.com/en-us/pricing/details/logic-apps/ ACTIONS EXECUTED PER MONTH PRICE PER ACTION EXECUTION First 250K actions €0.000675/action 250K–1M actions €0.000338/action 1M–50M actions €0.000127/action 50M–100M actions €0.000076/action 100M+ actions €0.000046/action

Scale & Performance Different billing model from Function App 100MB message size 90 days run duration 1 sec to 500 days recurrence interval 100’000 ForEach items 10’000 actions executions per 5 minutes Request Timeout 120 Seconds Run duration 90 days ForEach items 100,000 Actions executions per 5 minutes Actions per workflow 250 Allowed action nesting depth 5 Triggers per workflow 10

Why do we need “Durable Functions” Enable “long running” functions while maintaining local state. Simplify complex Function coordination (chaining, etc.) Easily call a Function from another Function All of the above using code-only

Cognitive Services

Cognitive Services Search Vision Speech Language Knowledge Microsoft Build 2016 9/18/2018 3:33 AM Cognitive Services Search Access billions of web pages, images, videos, and news with the power of Bing APIs Vision From faces to feelings, allow your apps to understand images and video Speech Hear and speak to your users by filtering noise, identifying speakers, and understanding intent Language Process text and learn how to recognize what users want Knowledge Tap into rich knowledge amassed from the web, academia, or your own data © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

microsoft.com/cognitive Microsoft Build 2016 Search 9/18/2018 3:33 AM Vision Speech Language Knowledge Bing Web Search Bing Web Search Computer Vision Bing Speech Bing Spell Check Bing Spell Check Academic Knowledge Bing Custom Search Bing Custom Search Custom Vision Service Custom Speech Service Linguistic Analysis Custom Decision Service Bing Image Search Bing Image Search Emotion Speaker Recognition Language Understanding Knowledge Exploration Bing Video Search Bing Video Search Face Translator Text Analytics QnA Maker Bing News Search Bing News Search Video WebLM Recommendations Bing Autosuggest Bing Autosuggest Video Indexer Entity Linking Content Moderator microsoft.com/cognitive © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Conclusions

Conclusions Function Logic Apps fast and easy tool to start Great growth potential Lot of investments by Microsoft and the entire Cloud world Bot Framework (and potentially others tools) bonus Logic Apps «Biztalk restart» Declarative/visual advantage Connectors growth

Thanks You can find me at: marco [dot] parenzan [at] 1nn0va [dot] it @marco_parenzan Code at: https://github.com/marcoparenzan/SQLSAT707 Thanks