270 likes | 283 Views
Learn how to configure serverless computing, create and manage objects, work with Logic App, Azure Functions, Event Grid, Service Bus, and more for the AZ-102 exam.
E N D
Preparation to exam AZ-102 « Microsoft Azure Administrator Certification Transition (beta) » Module 6 – Implement and manage application service (5-10) Stanislas Quastana Cloud Solution Architect for Partners Microsoft France
Objectives Configure serverless computing May include but not limited to: Create and manage objects; manage a Logic App resource; manage Azure Function app settings; manage Event Grid; manage Service Bus
Part 1 Configure serverless computing
Content May include but not limited to: Create and manage objects; manage a Logic App resource; manage Azure Function app settings; manage Event Grid; manage Service Bus
Create and manage objects Compute : Azure Function Storage : Azure Storage Database : CosmosDB Security and Access Control : Azure AD Cloud Messaging : Event Grid, Service Bus Serverless Workflow orchestration : LogicApp API Management : API Management, Azure Function proxies Analytics : Azure Stream Analytics, Event Hubs Intelligence : Azure Bot Service, Cognitive Services
Manage a Logic App resource Azure Logic Apps simplifies how you build automated scalable workflows that integrate apps and data across cloud services and on- premises systems Out-of-the-box connectors reduce integration challenges Connect and integrate data from the cloud to on-premises B2B and enterprise messaging in the cloud
Example of Logic App A logic app with a scheduler trigger that runs every weekday morning and checks the travel time, including traffic, between two places. If the time exceeds a specific limit, the logic app sends email with the travel time and the extra time necessary for your destination.
Manage Azure Function app settings In Azure Functions, a function app provides the execution context for your individual functions. Function app behaviors apply to all functions hosted by a given function app Functions supports both Consumption hosting and App Service hosting plans Function apps run in, and are maintained, by the Azure App Service platform. As such, your function apps have access to most of the features of Azure's core web hosting platform
An introduction to Azure Event Grid Azure Event Grid allows you to easily build applications with event-based architectures. You select the Azure resource you would like to subscribe to, and give the event handler or WebHook endpoint to send the event to. Event Grid has built Event Grid has built- -in support for events coming from in support for events coming from Azure services Azure services, like storage blobs and resource groups. Event Grid also has custom support for application and third-party events, using custom topics and custom webhooks.
5 concepts in Azure Event Grid Events Events - What happened Event sources Event sources - Where the event took place Topics Topics - The endpoint where publishers send events Event subscriptions Event subscriptions - The endpoint or built-in mechanism to route events, sometimes to multiple handlers. Subscriptions are also used by handlers to intelligently filter incoming events Event handlers Event handlers - The app or service reacting to the event
Manage Event Grid Azure Event Grid is a fully-managed intelligent event routing service event routing service that allows for uniform event consumption using a publish-subscribe model. Use Azure Event Grid to react to relevant events across both Azure and non-Azure services in near-real time fashion intelligent
Manage Event Grid with PowerShell Create Create a custom topic a custom topic $topicname="<your-topic-name>" New-AzureRmEventGridTopic -ResourceGroupName gridResourceGroup -Location westus2 -Name $topicname Create Create a message a message endpoint endpoint $sitename="<your-site-name>" New-AzureRmResourceGroupDeployment -TemplateUri "https://raw.githubusercontent.com/dbarkol/azure-event-grid- viewer/master/azuredeploy.json" -siteName $sitename ` -hostingPlanName viewerhost -ResourceGroupName gridResourceGroup
Manage Event Grid with PowerShell Subscribe Subscribe to a topic to a topic $endpoint=https://$sitename.azurewebsites.net/api/updates New-AzureRmEventGridSubscription demoViewerSub -Endpoint $endpoint gridResourceGroup -EventSubscriptionName -ResourceGroupName -TopicName $topicname
Monitor virtual machine changes with Azure Event Grid and Logic Apps When you create a logic app with an event subscription for an Azure resource, events flow from that resource through an event grid to the logic app
Manage Service Bus Azure Service Bus is a multi-tenant cloud messaging service that sends information between applications and services. The asynchronous operations give you flexible, brokered messaging, along with structured first- in, first-out (FIFO) messaging, and publish/subscribe capabilities
Manage Service Bus Microsoft Azure Service Bus is a fully managed enterprise integration message broker. Service Bus is most commonly used to decouple applications and services from each other, and is a reliable and secure platform for asynchronous data and state transfer. Data is transferred between different applications and services using messages. A message is in binary format, which can contain JSON, XML, or just text
Namespaces Namespaces A namespace is a scoping container for all messaging components. Multiple queues and topics can reside within a single namespace topics can reside within a single namespace, and namespaces often serve as application containers. Multiple queues and