Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
81 changes: 81 additions & 0 deletions azmgmt-demo/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
# Azure management demo

>Note: The purpose of these templates, is to give you a kick-start, instantiating all of the Azure mgmt services in Azure.
The mgmt. services will be fully integrated, and you will have VM workloads (Windows or Linux) which will be attached - and fully managed as part of the deployment.
**Please note that this sample is for demo purposes only**

<a href="http://armviz.io/#/?load=https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2Fazmgmt-demo%2Fazuredeploy.json" target="_blank">
<img src="http://armviz.io/visualizebutton.png"/>
</a>

## What is being deployed

### Management services and artifacts

* Azure Log Analytics

A workspace is being created, with sample datasources for both Windows and Linux, together with multiple OMS solutions.

* Azure Automation

The automation account will include several DSC configurations, centered on management scenarios, such as keeping the OMS agent healthy and running, as well as deploying the ASR mobility agent. A PowerShell runbook is also created, which can iterate through the subscription to enable backup on unprotected virtual machines.

* Recovery Services

A recovery vault - to support both Azure 2 Azure DR protection, as well as IaaS backup. The automation account also includes multiple Runbooks that can be used as part of Recovery Plans for ASR.

### IaaS workload

You can specify the amount of virtual machines you want to create (1-10), where all the machines will be connected, protected, and attached to the management services.

## How to deploy

These templates should be deployed using PowerShell, as you need to create two resource groups prior to submitting the deployment.
The guidance below shows a sample script, where you only have to provide your unique values to the variables.

```powershell

# Create 2 resource groups, for mgmt and workload
$MgmtRgName = '' # Specify a name for the resource group containing the management services
$WorkloadRgName = '' # Specify a name for the resource group containing the virtual machine(s)

$MgmtRg = New-AzureRmResourceGroup -Name $MgmtRgName -Location westeurope -Verbose
$WorkloadRg = New-AzureRmResourceGroup -Name $WorkloadRgName -Location westeurope -Verbose

# Define parameters for template deployment - remember to change the values!

$OMSWorkspaceName = '' # Specify the prefix for the OMS Workspace
$OMSWorkspaceRegion = '' # Select the region for your workspace
$OMSRecoveryVaultName = '' # Specify the prefix for the Recovery Vault
$OMSRecoveryVaultRegion = '' # Select the region for your Recovery Vault
$OMSAutomationName = '' # Specify the prefix for the Azure Automation account
$OMSAutomationRegion = '' # Select the region for the Automation account
$Platform = '' # Select either 'Windows' or 'Linux'
$userName = '' # username for the VM
$vmNameSuffix = '' # Specify the suffix for the virtual machine(s) that will be created
$instanceCount = '' # You can create 1-10 VMs
$deploymentName = '' # Specify the name of the main ARM template deployment job
$templateUri = 'https://raw.githubusercontent.com/Azure/azure-quickstart-templates/azmgmt-demo/azuredeploy.json'

# Deploy template

New-AzureRmResourceGroupDeployment -Name $deploymentName `
-ResourceGroupName $MgmtRg.ResourceGroupName `
-TemplateUri $templateUri `
-vmResourceGroup $WorkloadRg.ResourceGroupName `
-omsRecoveryVaultName $OMSRecoveryVaultName `
-omsRecoveryVaultRegion $OMSRecoveryVaultRegion `
-omsWorkspaceName $OMSWorkspaceName `
-omsWorkspaceRegion $OMSWorkspaceRegion `
-omsAutomationAccountName $OMSAutomationName `
-omsAutomationRegion $OMSAutomationRegion `
-vmNameSuffix $vmNameSuffix `
-userName $userName `
-platform $platform `
-instanceCount $instanceCount `
-verbose
```

Navigate to [Azure Portal](https://portal.azure.com) and find the newly created dashboard, which will have the following naming convention *AzureMgmt(uniqueString(deployment().name))*:

![media](./images/dashboard-new.png)
Loading