Note: Because this is an ongoing series, viewers will not receive a certificate of completion.
Skill Level Intermediate
- [Instructor] Creating a DevOps project in Azure is actually pretty easy. When you create a new subscription, on your dashboard you may have a tile that says, create a DevOps project and you can click the button, there. Alternately, if you have an existing subscription that doesn't have that tile, you can just go over to the plus sign and provision something new by typing in DevOps, and then selecting the DevOps project. This is the same thing. Click on create and it will walk you through the process of picking the type of an application you want to build.
I'm gonna do a .net, although you could do Java, you could do static websites, there's lots of different options, as well as bringing your own code. I'm just gonna create something new, though, so I'm gonna click on next, and then, we specify what framework. For this one, we're gonna do just a classic, good old ASP.net application. I could also do core, I could add SQL database. I'm gonna click on next and then, we have choices to how we wanna deploy. Do we wanna run our application in a VM or do we wanna run it in an app service? I'm gonna use an app service for this one.
Click next and then, we can go out and choose the team services account that we want to work with. You can create a new one by creating a new VSTS account or you can use an existing one. I've already got one created, so I'm gonna go down to LinkedIn demos and we'll call this myDemoDevOps. And I'm gonna give this an Azure website, a place where we're going to run our application. So, I'm using my free trial and then, I've got my web application name, and the location.
You can click on change if you want to tweak some of the settings. For instance, I want to put this into a resource group for this and I'd like to have some naming standards around it, so I just put an rg- and then whatever the DevOps project is. The second thing that I change is the pricing tier, since I want to be able to run this. I'm just gonna run this as a free plan. Click okay. And now, it's gonna go out and it's going to let me click the done to submit a deployment, which has a template of things that will go out, and create all the pieces that make this work.
Now, I can see where that's going to show up. If I click on the watch the deployment in progress, it'll show you the process. This may take a little bit of time. So, we're gonna speed it up. And now that it's done, we can click the button to go to the resource, where this is. Or you can find it by going into the all resources, and if you click on this link, and then type in DevOps, you'll see that we have a link where we can go out to the DevOps projects.
Now, here's our DevOps project. You'll see that it's got the code, it's got the build definition, and the release definition. I can also open up the main page inside of VSTS and team services, and from here, I can go out, and I can download the code. I can take a look at the build and release definitions. I can watch as the project is building and be able to get the updates, and the status, and be able to work with this. And when it's all done, it'll go out and it'll deploy this out to the application endpoint.
Now, we'll have to wait for the release to finish but then, you can go out and see what the project would look like. If you're curious about what it actually created, you can go into the resource group for this project. And this will show you that it created the hosting plan, the app service, as well as application insights.