Rock [Azure]
See all Azure roles
Course info
Sep 14, 2018
1h 56m

The cloud offers opportunities to create managed hosting environments quickly, in order to speed up deployment and deliver value to customers. But for administrators and developers, this requires an understanding of the platform and its configuration options. In this course, Managing Microsoft Azure App Services, you'll learn how to create and configure Microsoft's Platform-as-a-Service offering for hosting Web Apps, API Apps, Mobile App backends, and Function Apps. First, you'll learn how to configure, deploy, and secure App Services. Then, you'll discover how to leverage deployment slots to streamline deployments and reduce risk. Finally, you'll discover how to attach custom domains to your App Services and secure them with SSL Certificates. When you’re finished with this course, you'll have the skills and knowledge of managing Azure App Services needed to maintain the hosting environment for your web based applications and backend APIs.

About the author
About the author

Neil is a solutions architect and developer, with a passion for web development, architecture, and security. He has worked in large and small IT organizations, written articles on development, and spoken at local .NET user groups. Neil has several Microsoft Certifications, including MCPD, MCSA, and MCSD.

More from the author
More courses by Neil Morrissey
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
(Music) Hi everyone. My name is Neil Morrissey, and welcome to my course, Managing Microsoft Azure App Services. I'm a solutions architect and developer, and I'm excited to introduce you to Microsoft's Platform as a Service offering for hosting web applications, APIs, mobile back ends, and small pieces of event-driven code called function apps. Whether you're an administrator or a developer, in this age of DevOps, it's important that everyone understands the environment that their applications are getting deployed to, and App Services is a highly available, robust environment with a lot of features to help you deliver and manage web-based applications. Some of the major topics we'll cover include a review of the different types of App Services and the features that are unique about each of them; how to create and configure an App Service, including deploying the app and setting up authentication; how to leverage deployment slots so you can deploy code to a staging area and verify it before swapping the code to production; and how to configure custom domains on your App Service so you can have your own branded web address along with an SSL certificate to secure the endpoint. You'll see how to configure domain names and certificates you've purchased outside of Azure, as well as how you can purchase and manage domains and certificates right within the Azure portal. By the end of this course, you'll know how to set up and configure App Services and how to deploy and secure an app with a custom domain and an SSL certificate. I hope you'll join me on this journey to learn Managing Microsoft Azure App Services, here on Pluralsight.

Configuring Application Settings
This module will get you up and running with Azure App Services, which is Microsoft's Platform as a Service offering for hosting web apps, APIs, mobile back ends, and small pieces of event-driven code called Azure Functions. First, I'll explain what Azure App Service is and how it works in terms of the features and benefits that it offers you as a developer or administrator. Then you'll learn about the App Service Plan that all apps are created within. That plan defines what features are available to your App Services, and also how you're billed. Then I'll talk about each of the App Services individually, so you'll have a better understanding of how they can be used. We'll start with Web Apps, then API Apps, and then Mobile Apps. Function Apps are a type of serverless compute that you can choose to run on your App Service Plan, and we'll discuss why you would want to do that. Then I'll explain Web Jobs, which aren't a separate App Service, per se, but they allow you to run background tasks on the underlying servers, similar to a Windows service. Then you'll see how to create an App Service, specifically a Web App using the Azure portal. Then we'll look at the application settings that you can configure to run different types of apps, like APS. NET apps, Java apps, Node. js apps, and others. Then we'll review the different deployment options available to get your application deployed in the App Service. Some of these are developer-focused with integration to Visual Studio, or a continuous integration process, and some enable a scenario where you can pass code off to another team member to perform the deployment. Then we'll create a simple Web App and deploy it to the Azure App Service. And finally, I'll show you the built-in authentication options with Azure App Service that lets a user log in with Azure Active Directory, Microsoft accounts, Facebook, Google or Twitter, and you don't have to write a single line of code to enable this. It's all done by Azure App Service for you. We've got a lot to cover in this module, so let's get started with an overview of Azure App Service features.

Creating Deployment Slots
In this module, you'll learn about deployment slots in Azure App Service. This feature allows you to run multiple versions of your site, basically setting up different environments and then easily promote your app through to production. First, I'll provide an overview of deployment slots, what purpose they serve and how they work. Then we'll get into the demos, first configuring the settings of a Web App that we want to create a deployment slot for, then we'll create the deployment slot and clone the application settings from the production site. Next, we'll deploy a new version of the application to the new deployment slot, and then we'll do a swap to production. Along the way, I'll show you how to configure the settings that remain static with each deployment slot, like the values of connection strings for your staging and prod environments, as well as settings that can be swapped. So let's get started with an overview of deployment slots.

Managing Custom Domains
If you're publishing applications to clients, you probably don't want to give them a URL with azurewebsites. net on the end of it, so in this module you'll learn all about configuring custom domains for your App Services. First I'll explain how custom domains work in Azure App Service. You can configure an existing domain name in an external DNS provider, or you can purchase one from within App Service and have it managed by Azure DNS. I'll explain the different approaches and give a quick review of the different types of DNS records that you'll need to configure if you go the external route. Then we'll map a root domain to an App Service using an external provider. Because it's a root domain, specifically it'll exampleorg. com. You'll need to create an A Record in DNS to map to the IP address of the site. Once that's done, we'll create a domain alias in the external DNS, so that www. exampleorg. com also resolves to the Web App. And then we'll also create a subdomain called test. exampleorg. com that will point to the Staging deployment slot that we created in the last module. Then I'll show you how to purchase a custom domain from within App Service, and Azure will manage that domain using Azure DNS, including creating all the relevant records. It makes things really simple. I'll also show you the records that were created in Azure DNS, in case you ever need to manage them. So let's get started with an overview of custom domains in Azure App Service.

Assigning SSL Certificates
In this module, you'll learn about configuring SSL certificates for the custom domains we configured in the previous module. First, we'll review the options available. Basically, you can upload your own certificate or you can purchase an App Service certificate right in the Azure portal. There are a few configuration steps you need to be aware of though, and we'll go over those. Then you'll see how to upload a certificate that you've purchased from an external certificate authority. There are some steps required to prepare the certificate before uploading it, so we'll talk about that too. Then, we'll reenable authentication for the Web App that we've been configuring throughout the course. Remember in the last module when we added a custom domain, we needed to disable Azure Active Directory authentication because the custom domain didn't have an SSL certificate bound to it. Once we've created that binding, we need to do a little configuration in the Azure AD settings to make authentication work again. Then I'll show you how to purchase an App Service certificate in the Azure portal. This is a really easy way to get a certificate for your App Service, and doesn't require any of the manual steps involved with third-party certificate authorities. The certificate is managed for you within Azure, and the cost is added to your bill. So let's get started with an overview of using SSL certificates in Azure App Service.