Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Serverless-Szenarien mit Azure Functions & Co. - Integration-as-a-Service

Serverless-Szenarien mit Azure Functions & Co. - Integration-as-a-Service

Wie bitte? Microsofts Azure-Cloud auf der W-JAX? Ja, in der Tat. Denn nicht immer muss oder soll es AWS oder GCP sein. Azure bietet mittlerweile eine holistische Plattform für so gut wie jede Cloud-Anforderung an. Auch und vor allem in den Bereichen Cloud-native und Serverless Functions investiert Microsoft sehr viel. In dieser Session zeigt Christian Weyer neben den Grundlagen vor allem typische Anwendungsszenarien für Azure Functions. Der Fokus soll dabei auf eventgetriebenen Integrationslösungen und Workflowszenarien liegen – hier bedarf es nicht immer Unmengen von Code, um ans Ziel zu kommen. Lehnen Sie sich also zurück und sehen Sie "die andere Cloud" in Action. Keine Angst vor Azure!

Christian Weyer

November 09, 2017
Tweet

More Decks by Christian Weyer

Other Decks in Programming

Transcript

  1. 2 § Co-founder, co-owner and CTO at Thinktecture AG §

    Focus on § Mobile & web-based application architectures § Interoperability, cross-device § Pragmatic end-to-end solutions § Cloud-native architectures § Microsoft MVP for ASP.NET (Architecture) ASPInsider, AzureInsider § Google GDE for Web Technologies § [email protected] § ! @christianweyer Christian Weyer Integration-as-a-Service Serverless-Szenarien mit Azure Functions & Co.
  2. 3 § Event-Driven Integration § Azure Cloud § Serverless in

    Azure § Azure Functions § Azure CosmosDB § Azure EventGrid § Azure Logic Apps § Summary Serverless-Szenarien mit Azure Functions & Co. Integration-as-a-Service Topics
  3. 5 § Need of integrating systems, applications, services, data §

    EAI: Enterprise Application Integration § B2B: Business-to-Business communication § B2C: Business-to-Consumer communication § Possible approaches & patterns § Microservices, Nanoservices, Picoservices – WTF? § Event-driven integration § Free choice of technical platform & framework § Can the Cloud offer value here? § Without having to always worry about too many (unnecessary) details… Serverless-Szenarien mit Azure Functions & Co. Integration-as-a-Service Integration-as-a-Service ?
  4. 7 § Why Azure? § Look beyond one’s own nose

    § Microsoft has always been strong in the enterprise § It is no longer “Windows Azure” J § Ca. 35% of VMs running on Linux (increasing) § Strong developer tooling § Very broad availability worldwide § German Azure as sovereign Cloud Serverless-Szenarien mit Azure Functions & Co. Integration-as-a-Service Azure Cloud
  5. 10 § We can choose from a continuum § VM

    ➔ § Containers ➔ § Orchestrators ➔ § PaaS ➔ § Serverless Serverless-Szenarien mit Azure Functions & Co. Integration-as-a-Service Evolution to Cloud Compute Continuum PaaS IaaS On-Premises Serverless
  6. 12 § Azure Functions § Serverless Compute § Azure CosmosDB

    § Serverless Database § Azure Event Grid § Serverless Events § Azure Logic Apps § Serverless Workflows § Azure IoT Hub § Serverless IoT § ... and more ... https://azure.microsoft.com/en-us/overview/serverless-computing/ Serverless-Szenarien mit Azure Functions & Co. Integration-as-a-Service Serverless in Azure (Serverless != FaaS-only)
  7. 14 § Azure Functions is code being triggered by an

    event § Focused code + events § Basic principles enable powerful use cases § Events § Triggers § Bindings § (New) Runtime built on .NET Core § Available for self-hosting § Two ways of operation § Cost-optimized, automatic scale § Always-on, via Azure App Service Serverless-Szenarien mit Azure Functions & Co. Integration-as-a-Service Azure Functions: Functions-as-a-Service
  8. 15 § In portal, via CLI, or in IDE §

    Visual Studio wizards for pre-compiled Functions § Local tooling & runtime available § Debugging locally or remote § Multiple language bindings supported § C# § F# § JavaScript, TypeScript (node.js) § Python § Php § Java (preview) § Bash, Batch, PowerShell Serverless-Szenarien mit Azure Functions & Co. Integration-as-a-Service Developing Functions
  9. 16 § Incoming event triggers function § Input bindings enable

    easy access to data from various data sources § Output bindings offer easy access to outbound data sinks Serverless-Szenarien mit Azure Functions & Co. Integration-as-a-Service Triggers & Bindings
  10. 18 § Azure Portal § Azure CLI § PowerShell §

    Visual Studio wizards § Continuous integration § Git § GitHub § Bitbucket § VSTS § DropBox, OneDrive Serverless-Szenarien mit Azure Functions & Co. Integration-as-a-Service Deployment Options
  11. 20 § Globally distributed, elastically scalable § Fully managed by

    Azure § Multi-model database § Key-value, document, graph § Multiple APIs § DocumentDB, with SQL & JS APIs § MongoDB API § Table Storage API § Graph Database with Gremlin API § No database schema management Serverless-Szenarien mit Azure Functions & Co. Integration-as-a-Service Cosmos DB: A database with many faces
  12. 21 § Building event-driven architectures with Cosmos DB § Subscribe

    to collection changes § Use as input binding in Functions Serverless-Szenarien mit Azure Functions & Co. Integration-as-a-Service Cosmos DB Change Feed
  13. 23 § Fully-managed centralized event routing service (preview) § Simplifies

    development of event-based applications § Simplifies creation of serverless workflows § Manages all routing of events § From any source, to any destination, for any application § Eventing, not enterprise messaging § Enables direct event filtering using event type, prefix or suffix § Your application will only need to receive the events you care about § Same underlying model for different use-cases § System-provided events § Custom application-specific events Serverless-Szenarien mit Azure Functions & Co. Integration-as-a-Service Event Grid
  14. 26 § Basic Idea: bring serverless functionality to non-coders §

    Low-code, No-code § No-code: ‘citizen developers’ / business users who can build functional but generally limited apps without having to write a line of code § Low-code: professional developers, streamlining and simplifying their work – delivering enterprise-class applications with little or no hand-coding § Graphical designer for rapid creation § With underlying descriptive model § Azure Logic Apps offer integration and workflow offering in the Cloud § Low-code / no-code § IFTTT for businesses ;-) Serverless-Szenarien mit Azure Functions & Co. Integration-as-a-Service Codeless Workflows
  15. 27 § A Logic App workflow § Begins with a

    trigger (like 'When an account is added to Office 365') § After trigger many combinations of § Actions § Conversions § Condition logic § Cloud-ready features § Custom retry policy § No need to code any retry, Azure Logic App will handle this § Managed scale § Azure will scale out your workflow runs with the resource it needs Serverless-Szenarien mit Azure Functions & Co. Integration-as-a-Service Azure Logic Apps
  16. 29 • AppFigures • Asana • Azure API Management •

    Azure App Services • Azure Automation • Azure Cognitive Face API • Azure Cognitive LUIS • Azure Cognitive Text Analytics • Azure Cognitive Vision • Azure Data Lake Store • Azure Document DB • Azure Event Hub • Azure Functions • Azure Machine Learning • Azure Resource Manager • Azure Service Bus • Azure SQL • Azure Storage Blob • Azure Storage Queues • Basecamp • Bing Search • BitBucket • Bitly • Blogger • Box • Buffer • Campfire • Chatter • Common Data Service • Disqus • DocuSign • Dropbox • Dynamics AX Online • Dynamics CRM Online • Dynamics CRM Service Bus • Dynamics Financials • Dynamics Operations • Easy Redmine • Eventbrite • Facebook • FreshBooks • Freshdesk • GitHub • Gmail • Google Calendar • Google Contacts • Google Drive • Google Sheets • Google Tasks • GoTo Meeting • GoTo Training • GoTo Webinar • Harvest • HelloSign • Infusionsoft • JIRA • Insightly • Instagram • Instapaper • MailChimp • Mandrill • Medium • Microsoft Project Online • Microsoft Translator • MSN Weather • Muhimbi PDF • Office 365 • Office 365 Users • Office 365 Video • OneDrive • OneDrive for Business • OneNote • Outlook.com • Outlook Tasks • PagerDuty • Pinterest • Pipedrive • Pivotal Tracker • Power BI • Project Online • Redmine • Salesforce • Salesforce Chatter • SendGrid • SharePoint Online • Slack • SmartSheet • SparkPost • Stripe • Survey Monkey • Todoist • Toodledo • Trello • Twilio • Twitter • Typeform • UserVoice • VS Team Services • Webmerge • Wordpress • Wunderlist • Yammer • YouTube • Zendesk • HTTP, HTTPS • HTTP Webhook • FTP, SFTP • SMTP • RSS • Compose, Query, Parse JSON • Wait • Terminate • Workflow Protocols/Native • XML Validation • Transform XML (+Mapper) • Flat File Encode • Flat File Decode • X12 • EDIFACT • AS2 • Integration Account Artifact Lookup XML and EDI Hybrid • BizTalk Server • File System • IBM DB2 • Informix • Oracle DB • SharePoint Server • SQL Server • SAP • Websphere MQ SaaS Logic Apps Connectivity Integration-as-a-Service Serverless-Szenarien mit Azure Functions & Co.
  17. 31 § Serverless is just one option in the Cloud

    Continuum § Always think about the use cases and requirements § Serverless Azure tries to offer solutions in the Continuum – mixture of PaaS & FaaS § Functions § Cosmos DB § Event Grid § Logic Apps & more § It is not about Windows & .NET - it is about any OS, any platform, any language – any solution J § Azure Germany: a sovereign Cloud, not operated by Microsoft, on German soil Summary Integration-as-a-Service Serverless-Szenarien mit Azure Functions & Co.
  18. 32 § OK – you asked for it J §

    https://docs.microsoft.com/en-us/azure/architecture/aws- professional/services § Microsofts „Azure & AWS Cloud Service Map“ § https://aka.ms/awsazureguide AWS & Azure Integration-as-a-Service Serverless-Szenarien mit Azure Functions & Co.
  19. 33 § Christian Weyer, Thinktecture AG [email protected] @christianweyer Thank you!

    Integration-as-a-Service Serverless-Szenarien mit Azure Functions & Co.