PaaS Cloud Service Role Restart Scenarios

There are several reasons why a PaaS cloud service role instance would restart or recycle.  This list may not be exhaustive, but I believe it covers all scenarios as of today.  Some day when I have free time I will try to edit this blog post to include details about how to detect each of…

0

Authenticating Storage Requests Using SharedKeyAuthenticationHandler

  With the older version of the storage client library (version 1.7) you could sign HttpWebRequests using the SignRequestLite function, and there were several examples on the web of how to do this.  The SignRequestLite function has been removed from the 2.0+ versions of the storage client library and so far I have not seen…

0

SDK 2.5 / WAD 1.2 — IIS Logs Not Transferring to Storage in PaaS WebRoles

After upgrading to Azure SDK 2.5 with Windows Azure Diagnostics 1.2 (see http://blogs.msdn.com/b/kwill/archive/2014/12/02/windows-azure-diagnostics-upgrading-from-azure-sdk-2-4-to-azure-sdk-2-5.aspx) you may notice that IIS logs and failed request (FREB) logs are no longer transferred to storage.   Root Cause When WAD generates the diagnostics configuration it queries the IIS Management Service to find the location of the IIS logs, and by…

1

Azure Cloud Services only support SHA-1 Thumbprint Algorithm

  “My certificate provider recently switched to only providing SHA2/SHA256 certificates because SHA-1 certificates are no longer safe.  But Azure only supports SHA1 certificates!  https://msdn.microsoft.com/library/azure/gg465718.aspx says ‘The only thumbprint algorithm currently supported is sha1’”.   Lately I have been seeing this issue more often due to some larger cert providers recently making this change.  The…

0

Cloud Service RDP Configuration not available via portal

    <Update March 2, 2015> The ability to modify RDP plugin settings via the portal has been restored.  I will leave this blog post up since the password encryption portion can still be valuable for people setting up RDP outside of the Visual Studio tools. </Update>     There are 2 ways to enable…

0

How to Restrict RDP Access in an Azure PaaS Cloud Service

  A question I see periodically is how to restrict RDP access for PaaS services to specific network IP addresses.  In the past this has always been difficult to do and the typical solution was to use a Startup task to configure firewall rules (ie. using Set-NetFirewallRule or netsh advfirewall per http://msdn.microsoft.com/en-us/library/azure/jj156208.aspx).  This technique generally…

0

Windows Azure Diagnostics – Upgrading from Azure SDK 2.4 to Azure SDK 2.5

Overview Windows Azure SDK 2.4 and prior used Windows Azure Diagnostics 1.0 which provided multiple options for configuring diagnostics collection, including code based configuration using the Microsoft.WindowsAzure.Diagnostics classes.  Windows Azure SDK 2.5 introduces Windows Azure Diagnostics 1.2 which streamlines the configuration and adds enhanced capabilities for post-deployment enablement, however it removes the code based configuration…

37

Windows Azure Storage Analytics SDP Package

In a previous post we looked at the Windows Azure PaaS SDP package which allows you to quickly and easily gather all of the log data to determine root cause for a variety of PaaS compute issues.  This post will look at a new SDP package which allows you to quickly and easily gather all…

2

Topology Blast–Send topology change updates to all instances at once

  Windows Azure SDK 2.2 introduces the concept of a topology blast.  This blog post will describe how topology changes happen at the fabric level and how you can take advantage of topology blast to build a more robust service.   Definitions: Role Topology – The number of instances, number of internal endpoints, and composition…

0

Troubleshooting Scenario 7 – Role Recycling

In Troubleshooting Scenario 1 we looked at a scenario where the role would recycle after deployment and the root cause was easily seen in the Windows Azure Event Logs.  This blog post will show another example of this same type of behavior, but with a different, and more difficult to find, root cause.  This is…

6