Skip to content

Commit

Permalink
Merge pull request Azure#7742 from mgblythe/mb-0626-database-migration
Browse files Browse the repository at this point in the history
Add DMS template
  • Loading branch information
bmoore-msft authored Jul 1, 2020
2 parents 1800865 + 6bf2cae commit 7a3f5d7
Show file tree
Hide file tree
Showing 4 changed files with 120 additions and 0 deletions.
17 changes: 17 additions & 0 deletions 101-azure-database-migration-simple-deploy/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Create an Azure portal dashboard
![Azure Public Test Date](https://azurequickstartsservice.blob.core.windows.net/badges/101-azure-database-migration-simple-deploy/PublicLastTestDate.svg)
![Azure Public Test Result](https://azurequickstartsservice.blob.core.windows.net/badges/101-azure-database-migration-simple-deploy/PublicDeployment.svg)

![Azure US Gov Last Test Date](https://azurequickstartsservice.blob.core.windows.net/badges/101-azure-database-migration-simple-deploy/FairfaxLastTestDate.svg)
![Azure US Gov Last Test Result](https://azurequickstartsservice.blob.core.windows.net/badges/101-azure-database-migration-simple-deploy/FairfaxDeployment.svg)

![Best Practice Check](https://azurequickstartsservice.blob.core.windows.net/badges/101-azure-database-migration-simple-deploy/BestPracticeResult.svg)
![Cred Scan Check](https://azurequickstartsservice.blob.core.windows.net/badges/101-azure-database-migration-simple-deploy/CredScanResult.svg)

[![Deploy To Azure](https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/1-CONTRIBUTION-GUIDE/images/deploytoazure.svg?sanitize=true)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2F101-azure-database-migration-simple-deploy%2Fazuredeploy.json)
[![Deploy To Azure US Gov](https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/1-CONTRIBUTION-GUIDE/images/deploytoazuregov.svg?sanitize=true)](https://portal.azure.us/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2F101-azure-database-migration-simple-deploy%2Fazuredeploy.json)
[![Visualize](https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/1-CONTRIBUTION-GUIDE/images/visualizebutton.svg?sanitize=true)](http://armviz.io/#/?load=https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2F101-azure-database-migration-simple-deploy%2Fazuredeploy.json)

Deploy Azure Database Migration Service (DMS), a fully managed service designed to enable seamless migrations from multiple database sources to Azure data platforms with minimal downtime (online migrations).

`Tags: Azure Database Migration Service, migration`
78 changes: 78 additions & 0 deletions 101-azure-database-migration-simple-deploy/azuredeploy.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"serviceName": {
"type": "string",
"metadata": {
"description": "Name of the new migration service."
}
},
"location": {
"type": "string",
"defaultValue": "[resourceGroup().location]",
"metadata": {
"description": "Location where the resources will be deployed."
}
},
"vnetName": {
"type": "string",
"metadata": {
"description": "Name of the new virtual network."
}
},
"subnetName": {
"type": "string",
"metadata": {
"description": "Name of the new subnet associated with the virtual network."
}
}
},
"variables": {
},
"resources": [
{
"type": "Microsoft.Network/virtualNetworks",
"apiVersion": "2020-04-01",
"name": "[parameters('vnetName')]",
"location": "[parameters('location')]",
"properties": {
"addressSpace": {
"addressPrefixes": [
"10.0.0.0/16"
]
}
}
},
{
"type": "Microsoft.Network/virtualNetworks/subnets",
"apiVersion": "2020-04-01",
"name": "[concat(parameters('vnetName'), '/', parameters('subnetName'))]",
"dependsOn": [
"[parameters('vnetName')]"
],
"properties": {
"addressPrefix": "10.0.0.0/24"
}
},
{
"type": "Microsoft.DataMigration/services",
"apiVersion": "2018-07-15-preview",
"name": "[parameters('serviceName')]",
"location": "[parameters('location')]",
"sku": {
"tier": "Standard",
"size": "1 vCores",
"name": "Standard_1vCores"
},
"dependsOn": [
"[resourceId('Microsoft.Network/virtualNetworks/subnets', parameters('vnetName'), parameters('subnetName'))]"
],
"properties": {
"virtualSubnetId": "[resourceId('Microsoft.Network/virtualNetworks/subnets', parameters('vnetName'), parameters('subnetName'))]"
}
}
],
"outputs": {
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"serviceName": {
"value": "GEN-UNIQUE"
},
"vnetName": {
"value": "GEN-UNIQUE"
},
"subnetName": {
"value": "GEN-UNIQUE"
}
}
}
10 changes: 10 additions & 0 deletions 101-azure-database-migration-simple-deploy/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"$schema": "https://aka.ms/azure-quickstart-templates-metadata-schema#",
"type": "QuickStart",
"itemDisplayName": "Deploy Azure Database Migration Service (DMS)",
"description": "Azure Database Migration Service is a fully managed service designed to enable seamless migrations from multiple database sources to Azure data platforms with minimal downtime (online migrations).",
"summary": "Deploy Azure Database Migration Service (DMS)",
"githubUsername": "MashaMSFT",
"docOwner": "MashaMSFT",
"dateUpdated": "2020-06-26"
}

0 comments on commit 7a3f5d7

Please sign in to comment.