- Click the below Git hub repo URL.
https://github.com/sysgain/Iot-ProjectEdison/tree/stage
- Select main-template.json from stage branch, click on Raw from the top right corner. Copy the raw template and paste in your Azure portal for template deployment.
-
Go to Azure portal. (https://portal.azure.com)
-
Navigate to Create a resource (+), search for Template deployment.
- Click Create button and click Build your own Template in the editor as shown in the following figure.
- The Edit template page is displayed as shown in the following figure.
- Replace / paste the template and click Save button.
- The Custom deployment page is displayed as shown in the following figure.
To deploy the template, we need to create the resource group for that.
To create the new resource group Click Create New and provide the Name of the resource group.
The following are the parameters to be passed while deploying the template.
Note:
- tenantId : Provide your Azure tenantId
- servicePrincipalClientId : Provide Service principal Client ID
- servicePrincipalClientSecret : Provide Service principal Client Secret
- ClientID : Provide the AD Client ID
- Domain : Provide AD Domain name
- AD tenantID : Provide AD tenantID
- Azure AD B2C ClientID : Provide AzureAD B2C client ID
- AzureAD B2C domain : Provide AzureAD B2C domain
- signUpSignInPolicyId : Provide SignUpSignInPolicyId of AzureAD B2CWeb.
- sessionId : Generate an online Guid id (for each deployment it should be unique) to generate GUID follow the below url https://www.guidgenerator.com/online-guid-generator.aspx
7.Once all the parameters are entered, check in the terms and conditions check box and click Purchase.
- After the successful deployment of the ARM template, the following resources are created in a Resource Group.
The following are the list of resources were deployed after successful deployment of the ARM template.
- IoT hub
- Web API & Web Admin
- Storage Account blob
- Cosmos DB
- Notification hub
- Account Automation
- Kubernetes cluster
- Omsworkspace
To check the Deployemnts follow the below steps. Go to Resource Group -> Click Deployments.