Installing Standalone Sentry on Microsoft Azure
The following instructions are specific to an installation using Microsoft Azure Cloud Shell bash commands. If you are working from a Mac, Linux, or Windows machine see the Microsoft Azure documentation for creating a VM Instance from a VHD using Azure CLI.
The .vhd filenames are examples. For the correct .vhd filename for this release, see the Standalone Sentry release notes for this release.
Before you begin
1. | See Before you begin Standalone Sentry installation on Microsoft Azure. |
2. | Modify the json parameter file: |
Change the value of "adminPassword".
Change the value of "storageAccountName". You will use this value in the installation steps.
Example: daredevil78
Change the value of "vhdName". You will use this value in the installation steps.
Example: sentryblobV920.vhd
3. | For installation using Cloud Shell, upload the template file and parameters file as described in: |
Procedure
|
Task |
Enter Azure CLI command |
|||
1. |
Login |
az login -u <[email protected]> -p <password> |
|||
2. |
Create resource group |
az group create -n "groupname" -l <location> Example: az group create -n "daredevil" -l "westus" |
|||
3. |
Create storage account |
az storage account create --resource-group <groupname> --location <location> --sku Standard_LRS --kind Storage --name <storagename> Example: az storage account create --resource-group daredevil --location "westus" --sku Standard_LRS --kind Storage --name daredevil78 |
|||
|
Create container inside storage account |
az storage container create -n copiedvhds --account-name <storagename> Example: az storage container create —n copiedvhds --account-name daredevil78 |
|||
5. |
List the storage account keys |
az storage account keys list -g <groupname> -n <storagename> Example: az storage account keys list -g daredevil -n daredevil78 |
|||
6. |
Copy vhd to |
|
|||
7. |
Installing the vhd |
az deployment group create --resource-group <groupname> --template-file <path-to-template> --parameters <path-to-parameter> Example az deployment group create --resource-group daredevil --template-file <clouddrive/templates/singleInstanceVMv2_d.json> --parameters <clouddrive/templates/singleInstanceVM.parametersV2d.json> |
Next steps
Go to Setting the initial configuration of Standalone Sentry installed on Microsoft Azure.