forked from Azure/azure-quickstart-templates
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request Azure#7742 from mgblythe/mb-0626-database-migration
Add DMS template
- Loading branch information
Showing
4 changed files
with
120 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
78
101-azure-database-migration-simple-deploy/azuredeploy.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": { | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
101-azure-database-migration-simple-deploy/azuredeploy.parameters.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} |