Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Azure functions serverless

172 views

Published on

Azure Functions creates a “serverless” event-driven experience, meaning that they run based on associated and configure events, or “triggers”. For example, an Azure Function could be triggered by a simple timer, such as running a process in a certain interval or triggered by an event in an external system. Azure Functions can also respond to Azure-specific events, such as an image added to a Storage Blob or a notification arriving in a Message Queue.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Azure functions serverless

  1. 1. Azure Functions-Serverless Udaiappa Ramachandran ( Udai ) LinkedIn://linkedin.com/in/udair Twitter: @nhcloud
  2. 2. Who am I? • Udaiappa Ramachandran ( Udai ) • CTO, Akumina, Inc., • Consultant • Focus on Cloud Computing • Microsoft Azure, Amazon Web Services and Google • New Hampshire Cloud User Group (http://www.meetup.com/nashuaug ) • http://cloudycode.wordpress.com • @nhcloud
  3. 3. Agenda • Serverless computing • Azure Functions • Azure Durable Functions • Azure Functions - Proxy • Demo: Azure Portal • Demo: Visual Studio • References • Q & A
  4. 4. The evaluation of application platforms • On-premises • IaaS • PaaS • Serverless
  5. 5. Serverless • What is serverless? • Abstraction of servers • Event-driven • Micro-billing • Benefits • Automatically Scale • Focus on business logic • Faster time to market
  6. 6. Serverless-Cold start https://blogs.msdn.microsoft.com/appserviceteam/2018/02/07/understanding-serverless-cold-start/
  7. 7. Serverless components • Functions (serverless component) • Logic Apps (serverless workflow) • Flow (built on top of logic apps) • Event Grids (serverless events)
  8. 8. Azure Functions (Code+EventData) • Choice of languages • 1.x – C#, Javascript, F# • 2.x – C#, Javascript, F#, Java • Pay-per-use pricing model • Bring your own dependencies • Integrated security • Simplified integration • Flexible development • Open-source • Flexible AppService Plan • Consumption • Dedicated
  9. 9. Triggers and Bindings Bindings serve as the basis for all connections to and from a function. Many bindings can be “bi-directional” as well
  10. 10. Common Scenarios • Timer-based processing • Azure service event processing • SaaS event processing • Serverless web application architectures • Serverless mobile backends • Real-time stream processing • Real-time bot messaging
  11. 11. Azure Functions - Proxies • Proxies are created as a new endpoint on function app • Proxy to another resource • Enables microservices on existing large implementation • Dev/Test scenario: Ability to modify request/response
  12. 12. Azure Durable Functions • Extension of Functions and Web Jobs • Stateful workflows in orchestrator function using DurableOrchestrationContext , DurableOrchestrationClient • bindings - OrchestrationTrigger, ActivityTrigger • External Events and External Orchestration • Versioning
  13. 13. Azure Durable Functions - Patterns Function Chaining Fan-out/fan-in Async HTTP APIs Monitoring Human interaction https://docs.microsoft.com/en-us/azure/azure-functions/durable-functions-overview
  14. 14. Testing Functions • Command-line tools • 3rd party products such as Postman and Swagger • Direct web calls via cURL • Web browser • Postman • Microsoft Azure Storage Explorer • Nested functions • Timer trigger • Queue trigger • Visual Studio Cloud Explorer
  15. 15. Demo • Download Slide from • https://www.slideshare.net/UdaiappaRamachandran • Hands-On-Lab from Microsoft Technical Content • http://bit.ly/2H956sc • http://bit.ly/2EV6uZz • https://azure.microsoft.com/en-us/resources/samples/?service=functions&sort=0 • Download Source from • https://github.com/nhcloud/techtalk
  16. 16. Reference • https://docs.microsoft.com/en-us/azure/azure-functions/ • https://github.com/azure/azure-functions/ • https://functions.azure.com/try • https://github.com/Azure/azure-functions-durable-extension • @azurefunctions
  17. 17. Thank you for attending Boston Azure Bootcamp 2018

×