quick build, deploy and scale with azure serverless...better development and testing management....

26
Beyond Virtual Machines quick build, deploy and scale with Azure Serverless

Upload: others

Post on 29-May-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: quick build, deploy and scale with Azure Serverless...Better development and testing management. Less waste. Efficiency. ... Extended Performance (up to 4 cores and 14 GB RAM) VNET

Beyond Virtual Machinesquick build, deploy and scale with Azure Serverless

Page 2: quick build, deploy and scale with Azure Serverless...Better development and testing management. Less waste. Efficiency. ... Extended Performance (up to 4 cores and 14 GB RAM) VNET

Topics

Serverless

Azure Ecosystem• Azure Functions• Event Grid• Logic Apps

Page 3: quick build, deploy and scale with Azure Serverless...Better development and testing management. Less waste. Efficiency. ... Extended Performance (up to 4 cores and 14 GB RAM) VNET

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.

Page 4: quick build, deploy and scale with Azure Serverless...Better development and testing management. Less waste. Efficiency. ... Extended Performance (up to 4 cores and 14 GB RAM) VNET

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

Page 5: quick build, deploy and scale with Azure Serverless...Better development and testing management. Less waste. Efficiency. ... Extended Performance (up to 4 cores and 14 GB RAM) VNET

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

Page 7: quick build, deploy and scale with Azure Serverless...Better development and testing management. Less waste. Efficiency. ... Extended Performance (up to 4 cores and 14 GB RAM) VNET

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

Page 8: quick build, deploy and scale with Azure Serverless...Better development and testing management. Less waste. Efficiency. ... Extended Performance (up to 4 cores and 14 GB RAM) VNET

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

Page 9: quick build, deploy and scale with Azure Serverless...Better development and testing management. Less waste. Efficiency. ... Extended Performance (up to 4 cores and 14 GB RAM) VNET

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

Page 10: quick build, deploy and scale with Azure Serverless...Better development and testing management. Less waste. Efficiency. ... Extended Performance (up to 4 cores and 14 GB RAM) VNET

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

Page 11: quick build, deploy and scale with Azure Serverless...Better development and testing management. Less waste. Efficiency. ... Extended Performance (up to 4 cores and 14 GB RAM) VNET

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

Page 12: quick build, deploy and scale with Azure Serverless...Better development and testing management. Less waste. Efficiency. ... Extended Performance (up to 4 cores and 14 GB RAM) VNET

Demo: Azure Functions

Page 13: quick build, deploy and scale with Azure Serverless...Better development and testing management. Less waste. Efficiency. ... Extended Performance (up to 4 cores and 14 GB RAM) VNET

Modern computing is all about events

Page 14: quick build, deploy and scale with Azure Serverless...Better development and testing management. Less waste. Efficiency. ... Extended Performance (up to 4 cores and 14 GB RAM) VNET
Page 15: quick build, deploy and scale with Azure Serverless...Better development and testing management. Less waste. Efficiency. ... Extended Performance (up to 4 cores and 14 GB RAM) VNET
Page 16: quick build, deploy and scale with Azure Serverless...Better development and testing management. Less waste. Efficiency. ... Extended Performance (up to 4 cores and 14 GB RAM) VNET

IoT Hub

Blob Storage

Resource Groups

Azure Subscriptions

Event Hubs

Custom Topics

Storage (GPv2)

Azure Functions

Logic Apps

Azure Automation

WebHooks

Event Hubs

Page 17: quick build, deploy and scale with Azure Serverless...Better development and testing management. Less waste. Efficiency. ... Extended Performance (up to 4 cores and 14 GB RAM) VNET

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

Page 18: quick build, deploy and scale with Azure Serverless...Better development and testing management. Less waste. Efficiency. ... Extended Performance (up to 4 cores and 14 GB RAM) VNET

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

Page 19: quick build, deploy and scale with Azure Serverless...Better development and testing management. Less waste. Efficiency. ... Extended Performance (up to 4 cores and 14 GB RAM) VNET

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

Page 20: quick build, deploy and scale with Azure Serverless...Better development and testing management. Less waste. Efficiency. ... Extended Performance (up to 4 cores and 14 GB RAM) VNET

Reliability and Performance

Page 21: quick build, deploy and scale with Azure Serverless...Better development and testing management. Less waste. Efficiency. ... Extended Performance (up to 4 cores and 14 GB RAM) VNET

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

Page 22: quick build, deploy and scale with Azure Serverless...Better development and testing management. Less waste. Efficiency. ... Extended Performance (up to 4 cores and 14 GB RAM) VNET

Demo: Event Grid

Page 23: quick build, deploy and scale with Azure Serverless...Better development and testing management. Less waste. Efficiency. ... Extended Performance (up to 4 cores and 14 GB RAM) VNET

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

Page 24: quick build, deploy and scale with Azure Serverless...Better development and testing management. Less waste. Efficiency. ... Extended Performance (up to 4 cores and 14 GB RAM) VNET

Demo: Logic Apps

Page 25: quick build, deploy and scale with Azure Serverless...Better development and testing management. Less waste. Efficiency. ... Extended Performance (up to 4 cores and 14 GB RAM) VNET

Recap

Serverless

Azure Ecosystem• Azure Functions• Event Grid• Logic Apps

Page 26: quick build, deploy and scale with Azure Serverless...Better development and testing management. Less waste. Efficiency. ... Extended Performance (up to 4 cores and 14 GB RAM) VNET

Learn. Innovate. Grow.