Skip to content

Commit

Permalink
update scale notes
Browse files Browse the repository at this point in the history
  • Loading branch information
rachel-msft committed Aug 1, 2019
1 parent 1e11314 commit 4cee93a
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 7 deletions.
9 changes: 8 additions & 1 deletion mariadb/scale-mariadb-server/scale-mariadb-server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,20 @@ az monitor metrics list \
--metric storage_used \
--interval PT1M

# Scale up the server to provision more vCores within the same Tier
# Scale up the server by provisionining more vCores within the same tier
az mariadb server update \
--resource-group myresourcegroup \
--name mydemoserver \
--sku-name GP_Gen5_4

# Scale down the server by provisionining fewer vCores within the same tier
az mariadb server update \
--resource-group myresourcegroup \
--name mydemoserver \
--sku-name GP_Gen5_2

# Scale up the server to provision a storage size of 7GB
# Storage size cannot be reduced
az mariadb server update \
--resource-group myresourcegroup \
--name mydemoserver \
Expand Down
13 changes: 10 additions & 3 deletions mysql/scale-mysql-server/scale-mysql-server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ az mysql server create \
--location westus \
--admin-user myadmin \
--admin-password <server_admin_password> \
--sku-name GP_Gen4_2 \
--sku-name GP_Gen5_2 \

# Monitor usage metrics - CPU
az monitor metrics list \
Expand All @@ -28,13 +28,20 @@ az monitor metrics list \
--metric storage_used \
--interval PT1M

# Scale up the server to provision more vCores within the same Tier
# Scale up the server by provisionining more vCores within the same tier
az mysql server update \
--resource-group myresourcegroup \
--name mydemoserver \
--sku-name GP_Gen4_4
--sku-name GP_Gen5_4

# Scale down the server by provisionining fewer vCores within the same tier
az mysql server update \
--resource-group myresourcegroup \
--name mydemoserver \
--sku-name GP_Gen5_2

# Scale up the server to provision a storage size of 7GB
# Storage size cannot be reduced
az mysql server update \
--resource-group myresourcegroup \
--name mydemoserver \
Expand Down
13 changes: 10 additions & 3 deletions postgresql/scale-postgresql-server/scale-postgresql-server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ az postgres server create \
--location westus \
--admin-user myadmin \
--admin-password <server_admin_password> \
--sku-name GP_Gen4_2 \
--sku-name GP_Gen5_2 \

# Monitor usage metrics - CPU
az monitor metrics list \
Expand All @@ -28,13 +28,20 @@ az monitor metrics list \
--metric storage_used \
--interval PT1M

# Scale up the server to provision more vCores within the same Tier
# Scale up the server by provisionining more vCores within the same tier
az postgres server update \
--resource-group myresourcegroup \
--name mydemoserver \
--sku-name GP_Gen4_4
--sku-name GP_Gen5_4

# Scale down the server by provisioning fewer vCores within the same tier
az postgres server update \
--resource-group myresourcegroup \
--name mydemoserver \
--sku-name GP_Gen5_2

# Scale up the server to provision a storage size of 7GB
# Storage size cannot be reduced
az postgres server update \
--resource-group myresourcegroup \
--name mydemoserver \
Expand Down

0 comments on commit 4cee93a

Please sign in to comment.