Create your First Azure DevOps Project - nikkh/maug3010 GitHub Wiki

Azure DevOps Projects does all the work for the initial configuration of a DevOps pipeline including everything from setting up the initial Git repository, configuring the CI/CD pipeline, creating an Application Insights resource for monitoring, and providing a single view of the entire solution with the creation of a DevOps Projects dashboard in the Azure portal.

You can use DevOps Projects to:

  • Quickly deploy your application to Azure
  • Automate the setup of a CI/CD pipeline
  • View and understand how to properly set up a CI/CD pipeline
  • Further customize the release pipelines based on your specific scenarios

Let's get started. If you need to Create a free 30-day Azure trial first.

Log on to the Azure Portal

It's probably best to use an InPrivate or Incognito window in your browser. Navigate to https://portal.azure.com You will be asked to logon. You can use your usual credentials, or the ones you just created specifically for the free trial. You be asked to take a tour, or look at Advisor recommendations. If so, choose to do that later.

You should arrive at the Azure Portal Home Page:

azure portal home page

Choose the All Services option from the navigation menu on the left. In the search box that appears, type DevOps. This will filter the list of available services to show on DevOps Projects. Click on the star to right. This will turn gold.

customise left nav

This adds DevOps projects to favourites, and you can now see it in the Left-Nav menu. (You won't need to do this again. The menu option will now be there until you remove it).

Click on the DevOps Projects menu option. This shows the DevOps projects blade:

devops projects blade

Create your first project

Click Add. This opens the wizard to create a new project:

wizard choose technology

Choose your technology. If you're following along then choose .NET (because that what the following instructions are based on). Feel free to chose your favourite technology once you comfortable with what's happening. Click next.

wizard choose framework

Next choose your framework. Choices will vary depending on the technology you chose in the previous step. Choose ASP.NET Core and click next.

wizard choose service

Now choose an Azure service to host your application. Beware that if you are using a Free Trial you will be limited on cores - so its safest to choose one of the App Service options that doesn't create underlying VMs). If you choose a service that you cant use in your subscription you will get an error when you try to submit your deployment. Choose WebApp for Containers. The confirmation screen is displayed.

wizard confirm screen

This screen should be prefilled. You need to choose a project name. (This name will also be used in the url of the application that is deployed, so it will need to be unique. Use something like MAUG-YourName-4randomnumbers).

The DevOps Organisation dropdown will contains all organisations that you are authorised to use. If you have set up a trial it should be preselected with the one you created. Note the advanced options: this lets you start to customise your project - but we wont worry about that for now. Click Done.

Your selections will be validated. If validation is successful, an Azure Deployment will be submitted:

deployment overview

You can wait until the deployment completes (5 minutes or so) or return to your deployment later .

Once the deployment completes you should see confirmation:

deployment complete

What did the DevOps project create?