Learn how to deploy an Azure web app and create and configure the associated Azure SQL Database.
- [Instructor] Now that we've discussed the Azure app service and Azure web apps at a high level, let's go ahead and create an Azure web app. As you can see, I've already logged in to Azure and I happen to be in the Resource Group Azure Web App. There is nothing in this resource group, as of yet. So let's go ahead and add in the web app. And to do so, click on Add. I'm going to start by typing in web app. And I'm going to go ahead and search on that. And the reason I did that was I'd like you to see that there are a variety of options to choose from here.
For our demonstration today, we're going to go ahead and use the Azure web app that has the SQL database. Go ahead and select that. I'm going to scroll over to make it a little bit easier to see. You'll notice that our blade popped up for web app plus SQL. This provides a little bit of information about this service. I'm going to go ahead and click Create. And we can start by naming our web app. And I'm going to call this app LIL web app. And you may have noticed that we had some access as I was entering in the name.
And that was because this needs to be a unique name because it will be sitting on Azurewebsites.net. My subscription is pay as you go and that's because I'm actually creating this from with that resource group. And that is why our resource group is already selected for us. Next, we have those app service plans. So, a new plan was already created for us. But you'll notice that if I click in there I can't make any changes to it. So I'm going to go back to our app service plan. I'm going to go ahead and create new.
And this way I can show you the different options. You'd go ahead and enter a name for your app service plan. Next, you would go ahead and pick your location. I'm going to pop my in Canada Central. And here are our pricing tiers. Now one thing that you'll notice here is we do have a tier called Isolated. And these tiers are used if you're running apps that are critical workloads. And these apps will be run in the dedicated private environment using the DV two series of virtual machines.
Then we have our premium tier, a standard tier, the basic tier, and our free and shared. I'm going to leave it at the standard tier. And when I have this tier selected we can see exactly how much storage we're allocated. If we can add in our custom domain names. How far off we can scale. Here we have the standard but if we look right below to the basic, you'll notice that we can only scale up three instances. And that is a manual scale. That we have backups included.
Slots for staging. And traffic manager is available. You'll notice that we don't have any of these options in that basic tier. And if I look at the premium tier you'll notice that those limitations are increased. I'm just going to go ahead and select that as one standard tier, and click Okay. Next, because I chose a web app with SQL I need to go ahead and configure my SQL database. We're going to go ahead and create a database. We're going to provide a name. Next, I'm going to go ahead and configure my target server.
I'm going to go ahead and provide the server name. Your server admin log in. And then your location. Go ahead and click Select. And again, I have the option to choose a pricing tier based on the SQL database. Here, we're going to choose the standard tier. For more information, on Azure SQL databases, please refer to my other Azure courses. Next, I'm going to leave the colation as default and click Select. I'm going to leave application insight turned off.
And click Create. This will validate our configuration as validated. And then the deployment will begin. And this will take about two minutes for our empty website to be created for us. After a few minutes you can pop back into your resource group and you'll see a list of four items. Those being our SQL server, our SQL database, the app service plan, and finally, our web app. I'll go ahead and click in that.
And there's our URL for our web app. If I go ahead and open that we see that our app service plan has been created. And that's all there is to it to create an Azure web app with the SQL database. It took all of about three minutes to create that and now, you can start building your web apps.
Learn the intermediate-level skills needed to design Azure web and mobile apps for any organization, using the Azure Web Apps and Mobile Apps services. Instructor Sharon Bennett, a Microsoft Certified Solutions Expert, covers securing mobile and web apps with Azure Active Directory, creating WebJobs to script tasks such as queue processing and file maintenance, and extending mobile apps with custom code. Plus, learn how to update, back up, and restore your Azure apps.
As an intermediate-level course, an existing understanding of the Azure platform is required. After completing the training, IT professionals will also be better prepared for Azure certification.
- Create Azure web apps
- Create WebJobs
- Using Traffic Manager
- Adding a CDN to web apps
- Updating, backing up, and restoring Azure Web Apps
- Deploying Azure mobile apps