role-iq-logo
Rock [Azure]
See all Azure roles
Description
Course info
Level
Advanced
Updated
Sep 13, 2018
Duration
2h 0m
Description

Writing and running an application involves a lot of tasks that have nothing to do with the application itself. In this course, Configuring Serverless Computing in Microsoft Azure, you will learn how serverless computing removes a lot of that responsibility from you, so you can focus on what is important. First, you will learn the various serverless computing choices. Next, you will discover Azure Functions, Logic Apps, and Service Bus. Finally, you will explore how to create solutions using multiple serverless computing choices by integrating them with Event Grid. When you are finished with this course, you will have a solid understanding and will be well equipped to deliver real-world solutions using Azure serverless computing choices.

About the author
About the author

Sahil Malik has been a Microsoft MVP for the past 8 years, author of several books and numerous articles in both the .NET and SharePoint space, consultant and trainer who delivers talks at conferences internationally.

More from the author
More courses by Sahil Malik
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hello. My name is Sahil Malik, and welcome to my course, Configuring Serverless Computing in Microsoft Azure. Running custom code reliably usually entails a number of things that have nothing to do with the application itself, things like the administrator password or patching machines or a certain service pack broke something. Serverless computing puts all this overhead in the annals of history. In this course, I explain Azure functions, logic apps, Service Bus, and Event Grid. Using these together and effectively will help you build compelling applications using the serverless computabilities of Azure. At the end of this course, you should feel comfortable diving into these serverless computing topics and have the confidence in writing, deploying, scaling, and diagnosing Azure serverless compute offerings. I hope you find this course useful, and thank you for watching.

Serverless Computing Versus Other Choices
Welcome to Configure Serverless Computing in Microsoft Azure. My name is Sahil Malik. Let's start with serverless computing versus other choices. Starting with a little overview, what is serverless computing? I think I makes sense to define and understand that first, so that is where we will start. Then we'll talk about the various alternatives you have in the Microsoft Azure ecosystem when we talk about serverless computing. Then I'll talk about the various tools you will need to follow along through this course, followed by how have I chosen to structure this course. Let's get started.

Creating Azure Functions
Azure Functions, a very exciting part of the serverless compute capabilities of Microsoft Azure. Let's see what it looks like. Now I must say that 30, 40 minutes isn't enough to talk about every detail of Azure Functions, but I'd like to start with a little bit of an overview first with what are Azure Functions? Once we understand that, then I'll dive into some demos. I'd like to show you how to create a simple function in the Consumption plan. In the Consumption plan, you pay for every request that comes in, and if you don't call it, then you don't pay. So it sort of scales on its own. It's a little bit more on autopilot, but a little less control when it comes to scaling it. Then we'll dive into the aspects of creating and debugging Azure Functions. I'll show you how to do this using both Visual Studio and VS Code, and then we'll create a simple function using the Azure App Service plan, and I'll demonstrate the main differences between the App Service plan and the Consumption plan. And finally, we'll end with some concepts around how to scale an Azure Function, especially when you create it with the App Service plan because then things are not so much on an autopilot; you get to control how you scale it. We'll talk a little bit about how to monitor it. As the executions are coming in, can I look at the memory usage of the server? Certainly. How do we do that? We'll see that there. And I'll also talk about how do you secure Azure Functions? Can I require an Azure Function to sign in with a Facebook identity or act as an Azure AD application? Certainly. These are all the things we'll see in the demos.

Setting up Azure Logic Apps
Next, let's talk about another very exciting part of the serverless offerings in Azure called Azure Logic Apps. This is something that your not-very-technical business user or information worker-type users will find very interesting. Let's see what it is. Starting with some important concepts. Well, first, we need to understand what are Azure Logic Apps? Once we have a basic understanding of that, we will firm up our knowledge with a little demo by authoring the world's simplest hello world logic app. In that, I'll be explaining you concepts like triggers, actions, and how exactly does our wizzy wig designer work? Once you have learned that, then we'll extend it. We'll extend it by making it work with another serverless offering that we've already talked about, which is Azure Functions. So I'll author in Azure Functions, and our logic app will extend it to call the Azure function and get some values from it and do something meaningful with it. And finally, I'll demonstrate things like run history, run details, diagnostics, etc.

Managing Azure Service Bus
Next, let's talk about another very important part of Azure serverless compute offering, which is Azure Service Bus. Starting with a little overview. I'll start by describing what is Azure Service Bus. It is a very important component of the serverless offerings, so let's understand some theory first. But the best way to learn is to do, so then we'll dive into some demos. Starting with provisioning s simple Service Bus namespace. Once we have provisioned this namespace, then it's time to put it to some use. So we'll try and use queues in service bus namespace, followed by topics and subscriptions.

Using Azure Event Grid
Next, let's talk about another very exciting part of the Azure serverless computing facilities, called as the Azure Event Grid. Starting with a little overview of what I'm going to cover in this module, we'll first start by understanding what is Azure Even Grid, followed by a demo where I will show how the Event Grid allows you to stitch different part of Azure together. The specific example I will pick is, we will have a blob storage, and events from the blob storage will, through the Event Grid, have our Azure functions get called. Let's dive in.