Beyond Virtual Machinesquick build, deploy and scale with Azure Serverless
Topics
Serverless
Azure Ecosystem• Azure Functions• Event Grid• Logic Apps
Serverless?
Pay-per-useOnly pay for what you use: billing is typically calculated on the number of function calls, code execution time, and memory used.*
Instant, event-driven scalabilityApplication components react to events and triggers in near real-time with virtually unlimited scalability; compute resources are used as needed.
Full abstraction of serversDevelopers can just focus on their code—there are no distractions around server management, capacity planning, or availability.
Balance of responsibility Balance of control and responsibility depends on the category of the serviceIaaS - BuildBuilding blocks, create your own solution or apps from scratch
PaaS – DeployExisting services are a starting point, with additional configuration for a custom fit
SaaS - BuyUse immediately with minimal configuration
Responsibility On-Prem
IaaS PaaS SaaS
Applications
Data
Runtime
Middleware
O/S
Virtualization
Servers
Storage
Networking
MicrosoftCustomer
What are the Benefits?Solve business problems—not technology problems related to undifferentiated heavy liftingFocus
Shorter time to marketFixed costs converted to variable costsBetter service stabilityBetter development and testing managementLess waste
Efficiency
Simplified starting experienceEasier pivoting means more flexibilityEasier experimentationScale at your pace—don’t bet the farm on Day 1Natural fit for microservices
Flexibility
Design workflows and orchestrate processes
Manage all events that can trigger code or logic
Execute your code based on events you specify
Azure Ecosystem
Function as a Service
Single responsibilityFunctions are single-purposed, reusable pieces of code that process an input and return a result
Short livedFunctions don’t stick around when finished executing, freeing up resources for further executions
Event driven & scalableFunctions respond to predefined events, and are instantly replicated as many times as needed
StatelessFunctions don’t hold any persistent state and don’t rely on the state of any other processes
Azure Functions
Integrated programming model Use built-in triggers and bindings to define whena function is invoked and to what data it connects
Enhanced development experienceCode, test and debug locally using your preferred editor or the easy-to-use web based interface including monitoring
Hosting options flexibilityChoose the deployment model that better fits your business needs without compromising development experience
Azure Hosting Options
Consumption PlanFixed at single core and 1.5 GB RAMConsumption billing
App Service PlanStatic tiered billing (B1 and above)Can be bundled with other applications
Premium Plan (Preview)Extended Performance (up to 4 cores and 14 GB RAM)VNET IntegrationConsumption and pre-warmed instance
Boost Efficiency
Integrate with Azure Application InsightsGet near real-time details about function appsSee metrics around failures, executions, etc.Monitoring
Save time with built-in DevOpsDeploy functions using App Service for CILeverage Microsoft, partner services for CDCI/CD
Use triggers to define how functions are invokedAvoid hardcoding with preconfigured JSON filesBuild serverless APIs using HTTP triggersTriggers
Define one API surface for multiple function appsCreate endpoints as reverse proxies to other APIsCondition proxies to use variablesProxies
Connect to data with input and output bindingsBind to Azure solutions and third-party servicesUse HTTP bindings in tandem with HTTP triggersBindings
Debug C# and JavaScript functions locallyUse debugging tools in Azure portal, VS, and VS Code
Local debugging
Boost FlexibilityWrite code in C#, JavaScript, F#, and JavaContinuous investment in new, experimental languagesMultiple
languages
Simplify coding for new users with native Azure portalSelect from popular editors, like VS, VS Code, CLI, Maven*Dev
options
Choose from six consumption plans to run FunctionsRun your first million function executions for freeHosting
options
Write stateful functions in a serverless environmentSimplify complex, stateful coordination problemsAdd the extension to enable advanced scenarios
Durable Functions
Demo: Azure Functions
Modern computing is all about events
IoT Hub
Blob Storage
Resource Groups
Azure Subscriptions
Event Hubs
Custom Topics
Storage (GPv2)
Azure Functions
Logic Apps
Azure Automation
WebHooks
Event Hubs
Manage all events in one placeEvent publishers
Event handlers
Subscribe to pre-defined system events in Azure or create your own custom topics
Route events to any end-points, Azure or even beyond
Enable filtering and efficient routing of events
Azure Event Grid
Broad coverage within Azure and beyond
Fully-managed event routing
Near real-time event delivery at scale
Unlock new scenarios for your apps
Focus on innovation and pay per event
Ensure reliability and performance for your apps
Subscribers
Azure Functions
Immediately available
Logic Apps
Azure Automation
WebHooks
Event Hubs
Blob Storage
Publishers
Immediately available
Custom Events
Resource Groups
Azure Subscriptions
Event Hubs
IoT Hub
General Purpose Storage v2
Service Bus
Coming Soon
PublishersAzure Active Directory, API Management, Service Bus, Azure Data Lake Store, Cosmos DB, Azure Container Registry, Azure Security Center, Azure Media Services, KeyVault, Azure Container Instances, Azure Batch, Analytics
SubscribersService Bus, Azure Data Factory, Storage Queues, Azure Container Instances
Broad coverage
Reliability and Performance
Pricing
$0.60 per million operationsOperations include: • Ingress events• Advanced matches• Delivery attempts• Management calls
100,000 free operations per monthManagement operations throttled to 10 per second1,000 event subscriptions per account
Demo: Event Grid
Azure Logic Apps
Seamlessly integrateChoose from tens of services endpoints
No code requiredAbstract away from code with simple tasks, connectors and pre-made templates
Power of Azure Unleash the power of Azure services like Machine Learning and Cognitive Services
Demo: Logic Apps
Recap
Serverless
Azure Ecosystem• Azure Functions• Event Grid• Logic Apps
Learn. Innovate. Grow.