Azure Functions Serverless Architecture in the Cloud Shahed
- Slides: 23
Azure Functions Serverless Architecture in the Cloud Shahed Chowdhuri Microsoft Corporation @shahed. C Wake. Up. And. Code. com
Intro
What’s with the Cloud? Hosting models Software (as a Service) Data Runtime Middleware O/S O/S Virtualization Servers Storage Networking Runtime Middleware You scale, make resilient & manage Data Runtime Virtualization Servers Storage Networking Scale, resilience and management by vendor Applications Managed by vendor Applications O/S Virtualization Servers Storage Networking Scale, resilience and management by vendor You manage (as a Service) Applications You scale, make resilient and manage Platform Infrastructure On Premises
Where does Serverless fit in? Serverless Platform (as a Service) Applications Data Runtime Middleware Data Runtime Functions Applications Data Runtime Middleware O/S Virtualization Servers Storage Networking Middleware O/S O/S Virtualization Servers Storage Networking Managed by vendor Software Functions Virtualization Servers Storage Networking Scale, resilience and mgmt by vendor Functions You manage Functions You scale, make resilient & manage You scale, make resilient and manage You manage (as a Service) Scale, resilience and management by vendor Infrastructure On Premises
Source: https: //myignite. techcommunity. microsoft. com/sessions/65889
integration
Azure Functions Host – Functions 2. 0 Host Assembly Load Context (default) Function Assembly Load Context public static Run(…, Cloud. Block. Blob blob, …)) { //Function code. . . ; }
Dev + Hosting
Local debugging
https: //sendgrid. com/docs/for-developers/sending-email/v 3 -csharp-code-example
Serverless Functions Serverless Linux Functions Containers Kubernetes Functions Open Source Hosting Io. T Functions On Prem Functions Application Delivery Execution Isolation Infrastructure Operating System Azure Managed Customer Managed
Demo
Durable Functions
long-running orchestrations maintaining local state single function
Starter Function Orchestration. Client Orchestrator Function Orchestration. Context. Trigger Activity Function Activity. Trigger
Orchestrator Function // calls functions in sequence public static async Task<object> Run(Durable. Orchestration. Context ctx) { try Activity Functions { var x = await ctx. Call. Activity. Async("F 1"); var y = await ctx. Call. Activity. Async("F 2", x); return await ctx. Call. Activity. Async("F 3", y); } catch (Exception) { // global error handling/compensation goes here } }
Q&A
- Azure serverless consultants
- Shahed shahriar
- Shahed rahman
- Sand: towards high-performance serverless computing
- Citrix reference architecture
- New commerce experience
- Veeam cloud connect to microsoft azure
- Private cloud azure
- Case study on microsoft azure in cloud computing
- Azure accelerated networking: smartnics in the public cloud
- Cloud enablement desk
- Databricks bronze silver gold
- Azure csp program
- Memi lavi
- Case study on microsoft azure in cloud computing
- Azure microservices architecture
- Sqlhammer
- Azure architecture certification
- Azure mobile app architecture
- Azure site recovery service
- Azure function architecture
- Azure nva architecture
- A composable component must be modular
- Cloud integration patterns