You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/mysql/flexible-server/quickstart-create-arm-template.md
+31-37Lines changed: 31 additions & 37 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
-
title: 'Quickstart: Create using ARM template'
3
-
description: In this Quickstart, learn how to create an Azure Database for MySQL - Flexible Server instance by using an ARM template.
2
+
title: 'Quickstart: Create a flexible server by using Azure Resource Manager'
3
+
description: In this quickstart, learn how to deploy a database in an instance of Azure Database for MySQL - Flexible Server by using an Azure Resource Manager template.
Create an **azuredeploy.json** file with the following content to create an Azure Database for MySQL flexible server instance using public access connectivity method and also create a database on the server. Update the **firewallRules**default value if needed.
29
+
To create an Azure Database for MySQL - Flexible Server instance by using the public access connectivity method and create a database on the server, create an *azuredeploy.json* file that has the following code examples. If necessary, update the default value for `firewallRules`.
30
30
31
31
```json
32
32
{
@@ -73,7 +73,7 @@ Create an **azuredeploy.json** file with the following content to create an Azur
73
73
"MemoryOptimized"
74
74
],
75
75
"metadata": {
76
-
"description": "The tier of the particular SKU. High Availability is available only for GeneralPurpose and MemoryOptimized sku."
76
+
"description": "The tier of the specific SKU. High availability is available only for GeneralPurpose and MemoryOptimized SKUs."
77
77
}
78
78
},
79
79
"version": {
@@ -91,7 +91,7 @@ Create an **azuredeploy.json** file with the following content to create an Azur
91
91
"type": "string",
92
92
"defaultValue": "1",
93
93
"metadata": {
94
-
"description": "Availability Zone information of the server. (Leave blank for No Preference)."
94
+
"description": "The availability zone information of the server. (If you don't have a preference, leave this setting blank.)"
95
95
}
96
96
},
97
97
"haEnabled": {
@@ -103,14 +103,14 @@ Create an **azuredeploy.json** file with the following content to create an Azur
103
103
"ZoneRedundant"
104
104
],
105
105
"metadata": {
106
-
"description": "High availability mode for a server: Disabled, SameZone, or ZoneRedundant"
106
+
"description": "High availability mode for a server: Disabled, SameZone, or ZoneRedundant."
107
107
}
108
108
},
109
109
"standbyAvailabilityZone": {
110
110
"type": "string",
111
111
"defaultValue": "2",
112
112
"metadata": {
113
-
"description": "Availability zone of the standby server."
113
+
"description": "The availability zone of the standby server."
114
114
}
115
115
},
116
116
"storageSizeGB": {
@@ -133,7 +133,7 @@ Create an **azuredeploy.json** file with the following content to create an Azur
133
133
"type": "string",
134
134
"defaultValue": "Standard_B1ms",
135
135
"metadata": {
136
-
"description": "The name of the sku, e.g. Standard_D32ds_v4."
136
+
"description": "The name of the SKU. For example, Standard_D32ds_v4."
137
137
}
138
138
},
139
139
"backupRetentionDays": {
@@ -254,9 +254,9 @@ Create an **azuredeploy.json** file with the following content to create an Azur
254
254
}
255
255
```
256
256
257
-
## Create a server with private access
257
+
## Create a server that has private access
258
258
259
-
Create an **azuredeploy.json** file with the following content to create an Azure Database for MySQL flexible server instance using private access connectivity method inside a virtual network.
259
+
Modify the following code examples to create an Azure Database for MySQL flexible server that has private access connectivity inside a virtual network:
260
260
261
261
```json
262
262
{
@@ -303,7 +303,7 @@ Create an **azuredeploy.json** file with the following content to create an Azur
303
303
"MemoryOptimized"
304
304
],
305
305
"metadata": {
306
-
"description": "The tier of the particular SKU. High Availability is available only for GeneralPurpose and MemoryOptimized sku."
306
+
"description": "The tier of the specific SKU. High availability is available only for GeneralPurpose and MemoryOptimized SKUs."
307
307
}
308
308
},
309
309
"version": {
@@ -321,7 +321,7 @@ Create an **azuredeploy.json** file with the following content to create an Azur
321
321
"type": "string",
322
322
"defaultValue": "1",
323
323
"metadata": {
324
-
"description": "Availability Zone information of the server. (Leave blank for No Preference)."
324
+
"description": "The availability zone information of the server. (If you have no preference, leave blank.)"
325
325
}
326
326
},
327
327
"haEnabled": {
@@ -333,14 +333,14 @@ Create an **azuredeploy.json** file with the following content to create an Azur
333
333
"ZoneRedundant"
334
334
],
335
335
"metadata": {
336
-
"description": "High availability mode for a server: Disabled, SameZone, or ZoneRedundant"
336
+
"description": "High availability mode for a server: Disabled, SameZone, or ZoneRedundant"
337
337
}
338
338
},
339
339
"standbyAvailabilityZone": {
340
340
"type": "string",
341
341
"defaultValue": "2",
342
342
"metadata": {
343
-
"description": "Availability zone of the standby server."
343
+
"description": "The availability zone of the standby server."
344
344
}
345
345
},
346
346
"storageSizeGB": {
@@ -363,7 +363,7 @@ Create an **azuredeploy.json** file with the following content to create an Azur
363
363
"type": "string",
364
364
"defaultValue": "Standard_B1ms",
365
365
"metadata": {
366
-
"description": "The name of the sku, e.g. Standard_D32ds_v4."
366
+
"description": "The name of the SKU. For example, Standard_D32ds_v4."
367
367
}
368
368
},
369
369
"backupRetentionDays": {
@@ -486,16 +486,16 @@ Create an **azuredeploy.json** file with the following content to create an Azur
486
486
487
487
## Deploy the template
488
488
489
-
Deploy the JSON file using either Azure CLI or Azure PowerShell.
489
+
Deploy the JSON file by using either the Azure CLI or Azure PowerShell.
490
490
491
-
# [CLI](#tab/CLI)
491
+
# [Azure CLI](#tab/azure-cli)
492
492
493
493
```azurecli
494
494
az group create --name exampleRG --location eastus
495
495
az deployment group create --resource-group exampleRG --template-file azuredeploy.json
Follow the instructions to enter the parameter values. When the deployment finishes, you should see a message indicating the deployment succeeded.
507
+
Complete the steps to enter the parameter values. When the deployment finishes, a message indicates a successful deployment.
508
508
509
509
## Review deployed resources
510
510
511
-
Follow these steps to verify if your Azure Database for MySQL flexible server instance was created in the resource group.
511
+
To verify that your Azure Database for MySQL flexible server was created in the resource group:
512
512
513
-
# [CLI](#tab/CLI)
513
+
# [Azure CLI](#tab/azure-cli)
514
514
515
515
```azurecli
516
516
az resource list --resource-group exampleRG
517
517
518
518
```
519
519
520
-
# [PowerShell](#tab/PowerShell)
520
+
# [Azure PowerShell](#tab/azure-powershell)
521
521
522
522
```azurepowershell
523
523
Get-AzResource -ResourceGroupName exampleRG
524
524
```
525
+
525
526
---
526
527
527
528
## Clean up resources
528
529
529
-
To delete the resource group and the resources contained in the resource group:
530
+
To delete the resource group and all the resources that are in the resource group:
530
531
531
-
# [CLI](#tab/CLI)
532
+
# [Azure CLI](#tab/azure-cli)
532
533
533
534
```azurecli
534
535
az group delete --name exampleRG
535
536
```
536
537
537
-
# [PowerShell](#tab/PowerShell)
538
+
# [Azure PowerShell](#tab/azure-powershell)
538
539
539
540
```azurepowershell
540
541
Remove-AzResourceGroup -Name exampleRG
541
542
```
542
543
543
544
---
544
545
545
-
## Next steps
546
-
547
-
For a step-by-step tutorial that guides you through the process of creating an ARM template, see:
548
-
549
-
> [!div class="nextstepaction"]
550
-
> [Tutorial: Create and deploy your first ARM template](../../azure-resource-manager/templates/template-tutorial-create-first-template.md)
551
-
552
-
For a step-by-step tutorial to build an app with App Service using MySQL, see:
546
+
## Related content
553
547
554
-
> [!div class="nextstepaction"]
555
-
> [Build a PHP (Laravel) web app with MySQL](tutorial-php-database-app.md)
548
+
- For a step-by-step tutorial that guides you through the process of creating an ARM template, see [Tutorial: Create and deploy your first ARM template](../../azure-resource-manager/templates/template-tutorial-create-first-template.md).
549
+
- For a step-by-step tutorial that demonstrates how to build an app by using Azure App Service and MySQL, see [Build a PHP (Laravel) web app with MySQL](tutorial-php-database-app.md).
0 commit comments