Once the template is ready and we are sure that all Azure resources that are required by our application are created, we can continue with setting up automated builds and deployments.
In order to be able to use Azure DevOps for cloud deployments, our first action would be to create a service principal that will be used to deploy the resources. A service principal can be described as a service identity that has access to Azure resources within a certain subscription and/or resource group.
So, let's begin:
- A service principal can be created by adding a new ARM service connection within the Azure DevOps Project settings:
- Creating the connection will create an application registration for Azure DevOps and assign this service principal the contributor role on the selected subscription.
- The service creation process can also be executed...