Skip to content

Commit 71fff9f

Browse files
committed
ms.date and acrolinx for three articles
1 parent cb6119f commit 71fff9f

File tree

3 files changed

+29
-32
lines changed

3 files changed

+29
-32
lines changed

articles/cloud-services/cloud-services-how-to-monitor.md

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Monitor an Azure Cloud Service (classic) | Microsoft Docs
33
description: Describes what monitoring an Azure Cloud Service involves and what some of your options are.
44
ms.topic: article
55
ms.service: cloud-services
6-
ms.date: 02/21/2023
6+
ms.date: 07/23/2024
77
author: hirenshah1
88
ms.author: hirshah
99
ms.reviewer: mimckitt
@@ -14,34 +14,32 @@ ms.custom: compute-evergreen
1414

1515
[!INCLUDE [Cloud Services (classic) deprecation announcement](includes/deprecation-announcement.md)]
1616

17-
You can monitor key performance metrics for any cloud service. Every cloud service role collects minimal data: CPU usage, network usage, and disk utilization. If the cloud service has the `Microsoft.Azure.Diagnostics` extension applied to a role, that role can collect additional points of data. This article provides an introduction to Azure Diagnostics for Cloud Services.
17+
You can monitor key performance metrics for any cloud service. Every cloud service role collects minimal data: CPU usage, network usage, and disk utilization. If the cloud service has the `Microsoft.Azure.Diagnostics` extension applied to a role, that role can collect more points of data. This article provides an introduction to Azure Diagnostics for Cloud Services.
1818

19-
With basic monitoring, performance counter data from role instances is sampled and collected at 3-minute intervals. This basic monitoring data is not stored in your storage account and has no additional cost associated with it.
20-
21-
With advanced monitoring, additional metrics are sampled and collected at intervals of 5 minutes, 1 hour, and 12 hours. The aggregated data is stored in a storage account, in tables, and is purged after 10 days. The storage account used is configured by role; you can use different storage accounts for different roles. This is configured with a connection string in the [.csdef](cloud-services-model-and-package.md#servicedefinitioncsdef) and [.cscfg](cloud-services-model-and-package.md#serviceconfigurationcscfg) files.
19+
With basic monitoring, performance counter data from role instances is sampled and collected at 3-minute intervals. This basic monitoring data isn't stored in your storage account and has no additional cost associated with it.
2220

21+
With advanced monitoring, more metrics are sampled and collected at intervals of 5 minutes, 1 hour, and 12 hours. The aggregated data is stored in a storage account, in tables, and is purged after 10 days. The storage account used is configured per role; you can use different storage accounts for different roles. You use a connection string in the [.csdef](cloud-services-model-and-package.md#servicedefinitioncsdef) and [.cscfg](cloud-services-model-and-package.md#serviceconfigurationcscfg) files for configuration.
2322

2423
## Basic monitoring
2524

2625
As stated in the introduction, a cloud service automatically collects basic monitoring data from the host virtual machine. This data includes CPU percentage, network in/out, and disk read/write. The collected monitoring data is automatically displayed on the overview and metrics pages of the cloud service, in the Azure portal.
2726

28-
Basic monitoring does not require a storage account.
27+
Basic monitoring doesn't require a storage account.
2928

3029
![basic cloud service monitoring tiles](media/cloud-services-how-to-monitor/basic-tiles.png)
3130

3231
## Advanced monitoring
3332

34-
Advanced monitoring involves using the **Azure Diagnostics** extension (and optionally the Application Insights SDK) on the role you want to monitor. The diagnostics extension uses a config file (per role) named **diagnostics.wadcfgx** to configure the diagnostics metrics monitored. The Azure Diagnostic extension collects and stores data in an Azure Storage account. These settings are configured in the **.wadcfgx**, [.csdef](cloud-services-model-and-package.md#servicedefinitioncsdef), and [.cscfg](cloud-services-model-and-package.md#serviceconfigurationcscfg) files. This means that there is an extra cost associated with advanced monitoring.
33+
Advanced monitoring involves using the **Azure Diagnostics** extension (and optionally the Application Insights SDK) on the role you want to monitor. The diagnostics extension uses a config file (per role) named **diagnostics.wadcfgx** to configure the diagnostics metrics monitored. The Azure Diagnostic extension collects and stores data in an Azure Storage account. These settings are configured in the **.wadcfgx**, [.csdef](cloud-services-model-and-package.md#servicedefinitioncsdef), and [.cscfg](cloud-services-model-and-package.md#serviceconfigurationcscfg) files. This means that there's an extra cost associated with advanced monitoring.
3534

3635
As each role is created, Visual Studio adds the Azure Diagnostics extension to it. This diagnostics extension can collect the following types of information:
3736

3837
* Custom performance counters
3938
* Application logs
4039
* Windows event logs
4140
* .NET event source
42-
* IIS logs
43-
* Manifest based ETW
44-
* Crash dumps
41+
* Internet Information Services (IIS) logs
42+
* Manifest based Event Tracing for Windows (ETW)
4543
* Customer error logs
4644

4745
> [!IMPORTANT]
@@ -57,7 +55,7 @@ There are two config files you must change for advanced diagnostics to be enable
5755

5856
### ServiceDefinition.csdef
5957

60-
In the **ServiceDefinition.csdef** file, add a new setting named `Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString` for each role that uses advanced diagnostics. Visual Studio adds this value to the file when you create a new project. In case it is missing, you can add it now.
58+
In the **ServiceDefinition.csdef** file, add a new setting named `Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString` for each role that uses advanced diagnostics. Visual Studio adds this value to the file when you create a new project. In case it's missing, you can add it now.
6159

6260
```xml
6361
<ServiceDefinition name="AnsurCloudService" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition" schemaVersion="2015-04.2.6">
@@ -66,7 +64,7 @@ In the **ServiceDefinition.csdef** file, add a new setting named `Microsoft.Wind
6664
<Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString" />
6765
```
6866

69-
This defines a new setting that must be added to every **ServiceConfiguration.cscfg** file.
67+
This snippet defines a new setting that must be added to every **ServiceConfiguration.cscfg** file.
7068

7169
Most likely you have two **.cscfg** files, one named **ServiceConfiguration.cloud.cscfg** for deploying to Azure, and one named **ServiceConfiguration.local.cscfg** that is used for local deployments in the emulated environment. Open and change each **.cscfg** file. Add a setting named `Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString`. Set the value to the **Primary connection string** of the classic storage account. If you want to use the local storage on your development machine, use `UseDevelopmentStorage=true`.
7270

@@ -84,10 +82,9 @@ Most likely you have two **.cscfg** files, one named **ServiceConfiguration.clou
8482

8583
## Use Application Insights
8684

87-
When you publish the Cloud Service from Visual Studio, you are given the option to send the diagnostic data to Application Insights. You can create the Application Insights Azure resource at that time or send the data to an existing Azure resource. Your cloud service can be monitored by Application Insights for availability, performance, failures, and usage. Custom charts can be added to Application Insights so that you can see the data that matters the most. Role instance data can be collected by using the Application Insights SDK in your cloud service project. For more information on how to integrate Application Insights, see [Application Insights with Cloud Services](../azure-monitor/app/azure-web-apps-net-core.md).
88-
89-
Note that while you can use Application Insights to display the performance counters (and the other settings) you have specified through the Windows Azure Diagnostics extension, you only get a richer experience by integrating the Application Insights SDK into your worker and web roles.
85+
When you publish the Cloud Service from Visual Studio, you have the option to send the diagnostic data to Application Insights. You can create the Application Insights Azure resource at that time or send the data to an existing Azure resource. Application Insights can monitor your cloud service for availability, performance, failures, and usage. Custom charts can be added to Application Insights so that you can see the data that matters the most. Role instance data can be collected by using the Application Insights SDK in your cloud service project. For more information on how to integrate Application Insights, see [Application Insights with Cloud Services](../azure-monitor/app/azure-web-apps-net-core.md).
9086

87+
While you can use Application Insights to display the performance counters (and the other settings) you specified through the Microsoft Azure Diagnostics extension, you only get a richer experience by integrating the Application Insights SDK into your worker and web roles.
9188

9289
## Next steps
9390

articles/cloud-services/cloud-services-how-to-scale-portal.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn how to use the portal to configure auto scale rules for a clo
44
ms.topic: article
55
ms.service: cloud-services
66
ms.subservice: autoscale
7-
ms.date: 02/21/2023
7+
ms.date: 07/23/2024
88
author: hirenshah1
99
ms.author: hirshah
1010
ms.reviewer: mimckitt
@@ -15,23 +15,23 @@ ms.custom: compute-evergreen
1515

1616
[!INCLUDE [Cloud Services (classic) deprecation announcement](includes/deprecation-announcement.md)]
1717

18-
Conditions can be set for a cloud service worker role that trigger a scale in or out operation. The conditions for the role can be based on the CPU, disk, or network load of the role. You can also set a condition based on a message queue or the metric of some other Azure resource associated with your subscription.
18+
You can set conditions for a cloud service worker role to trigger scale in or out operations. The conditions for the role can be based on the CPU, disk, or network load of the role. You can also set a condition based on a message queue or the metric of some other Azure resource associated with your subscription.
1919

2020
> [!NOTE]
2121
> This article focuses on Cloud Service (classic). When you create a virtual machine (classic) directly, it is hosted in a cloud service. You can scale a standard virtual machine by associating it with an [availability set](/previous-versions/azure/virtual-machines/windows/classic/configure-availability-classic) and manually turn them on or off.
2222
2323
## Considerations
2424
You should consider the following information before you configure scaling for your application:
2525

26-
* Scaling is affected by core usage.
26+
* Core usage affects scaling.
2727

28-
Larger role instances use more cores. You can scale an application only within the limit of cores for your subscription. For example, say your subscription has a limit of 20 cores. If you run an application with two medium-sized cloud services (a total of 4 cores), you can only scale up other cloud service deployments in your subscription by the remaining 16 cores. For more information about sizes, see [Cloud Service Sizes](cloud-services-sizes-specs.md).
28+
Larger role instances use more cores. You can scale an application only within the limit of cores for your subscription. For example, say your subscription has a limit of 20 cores. If you run an application with two medium-sized cloud services (a total of four cores), you can only scale up other cloud service deployments in your subscription by the remaining 16 cores. For more information about sizes, see [Cloud Service Sizes](cloud-services-sizes-specs.md).
2929

3030
* You can scale based on a queue message threshold. For more information about how to use queues, see [How to use the Queue Storage Service](/azure/storage/queues/storage-quickstart-queues-dotnet?tabs=passwordless%2Croles-azure-portal%2Cenvironment-variable-windows%2Csign-in-azure-cli).
3131

3232
* You can also scale other resources associated with your subscription.
3333

34-
* To enable high availability of your application, you should ensure that it is deployed with two or more role instances. For more information, see [Service Level Agreements](https://azure.microsoft.com/support/legal/sla/).
34+
* To enable high availability of your application, you should ensure it deploys with two or more role instances. For more information, see [Service Level Agreements](https://azure.microsoft.com/support/legal/sla/).
3535

3636
* Auto Scale only happens when all the roles are in **Ready** state.  
3737

@@ -40,7 +40,7 @@ You should consider the following information before you configure scaling for y
4040
After you select your cloud service, you should have the cloud service blade visible.
4141

4242
1. On the cloud service blade, on the **Roles and Instances** tile, select the name of the cloud service.
43-
**IMPORTANT**: Make sure to click the cloud service role, not the role instance that is below the role.
43+
**IMPORTANT**: Make sure to select the cloud service role, not the role instance that is below the role.
4444

4545
![Screenshot of the Roles and instances tile with the Worker Role With S B Queue 1 option outlined in red.](./media/cloud-services-how-to-scale-portal/roles-instances.png)
4646
2. Select the **scale** tile.
@@ -60,7 +60,7 @@ Set the **Scale by** option to **schedule and performance rules**.
6060

6161
Select **Add Profile**. The profile determines which mode you want to use for the scale: **always**, **recurrence**, **fixed date**.
6262

63-
After you have configured the profile and rules, select the **Save** icon at the top.
63+
After you configure the profile and rules, select the **Save** icon at the top.
6464

6565
#### Profile
6666
The profile sets minimum and maximum instances for the scale, and also when this scale range is active.
@@ -81,7 +81,7 @@ The profile sets minimum and maximum instances for the scale, and also when this
8181

8282
![CLoud service scale with a fixed date](./media/cloud-services-how-to-scale-portal/select-fixed.png)
8383

84-
After you have configured the profile, select the **OK** button at the bottom of the profile blade.
84+
After you configure the profile, select the **OK** button at the bottom of the profile blade.
8585

8686
#### Rule
8787
Rules are added to a profile and represent a condition that triggers the scale.
@@ -90,7 +90,7 @@ The rule trigger is based on a metric of the cloud service (CPU usage, disk acti
9090

9191
![Screenshot of the Rule dialog box with the Metric name option outlined in red.](./media/cloud-services-how-to-scale-portal/rule-settings.png)
9292

93-
After you have configured the rule, select the **OK** button at the bottom of the rule blade.
93+
After you configure the rule, select the **OK** button at the bottom of the rule blade.
9494

9595
## Back to manual scale
9696
Navigate to the [scale settings](#where-scale-is-located) and set the **Scale by** option to **an instance count that I enter manually**.
@@ -103,4 +103,4 @@ This setting removes automated scaling from the role and then you can set the in
103103
2. A role instance slider to set the instances to scale to.
104104
3. Instances of the role to scale to.
105105

106-
After you have configured the scale settings, select the **Save** icon at the top.
106+
After you configure the scale settings, select the **Save** icon at the top.

articles/cloud-services/cloud-services-how-to-scale-powershell.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
22
title: Scale an Azure cloud service (classic) in Windows PowerShell | Microsoft Docs
3-
description: (classic) Learn how to use PowerShell to scale a web role or worker role in or out in Azure.
3+
description: Learn how to use PowerShell to scale a web role or worker role in or out in Azure cloud services (classic).
44
ms.topic: article
55
ms.service: cloud-services
66
ms.subservice: autoscale
7-
ms.date: 02/21/2023
7+
ms.date: 07/23/2024
88
author: hirenshah1
99
ms.author: hirshah
1010
ms.reviewer: mimckitt
@@ -17,9 +17,9 @@ ms.custom: compute-evergreen
1717

1818
You can use Windows PowerShell to scale a web role or worker role in or out by adding or removing instances.
1919

20-
## Log in to Azure
20+
## Sign in to Azure
2121

22-
Before you can perform any operations on your subscription through PowerShell, you must log in:
22+
Before you can perform any operations on your subscription through PowerShell, you must sign in:
2323

2424
```powershell
2525
Add-AzureAccount
@@ -57,11 +57,11 @@ To scale out your role, pass the desired number of instances as the **Count** pa
5757
Set-AzureRole -ServiceName '<your_service_name>' -RoleName '<your_role_name>' -Slot <target_slot> -Count <desired_instances>
5858
```
5959

60-
The cmdlet blocks momentarily while the new instances are provisioned and started. During this time, if you open a new PowerShell window and call **Get-AzureRole** as shown earlier, you will see the new target instance count. And if you inspect the role status in the portal, you should see the new instance starting up:
60+
The cmdlet blocks momentarily while the new instances are provisioned and started. During this time, if you open a new PowerShell window and call **Get-AzureRole** as shown earlier, you see the new target instance count. If you inspect the role status in the portal, you should see the new instance starting up:
6161

6262
![VM instance starting in portal](./media/cloud-services-how-to-scale-powershell/role-instance-starting.png)
6363

64-
Once the new instances have started, the cmdlet will return successfully:
64+
Once the new instances start, the cmdlet returns successfully:
6565

6666
![Role instance increase success](./media/cloud-services-how-to-scale-powershell/set-azure-role-success.png)
6767

@@ -71,4 +71,4 @@ You can scale in a role by removing instances in the same way. Set the **Count**
7171

7272
## Next steps
7373

74-
It is not possible to configure auto-scale for cloud services from PowerShell. To do that, see [How to auto scale a cloud service](cloud-services-how-to-scale-portal.md).
74+
It isn't possible to configure autoscale for cloud services from PowerShell. To do that, see [How to auto scale a cloud service](cloud-services-how-to-scale-portal.md).

0 commit comments

Comments
 (0)