Infrastructure as Code-Azure Environment Deployment using ARM templates, DSC, PowerShell and VSTS

I had an amazing opportunity to automate the Azure Infrastructure creation using ARM templates, DSC(Desired State Configuration), PowerShell. The deployment of the artifacts was done using VSTS(Visual Studio Online). The templates are highly parameterized so that it can be leveraged for other environments needing similar setup. VSTS is used to deploy these environments to Azure…

0

How to configure Azure Websites to communicate with Azure WebRole on Internal Load Balancer Endpoint

I recently worked on configuring Azure Websites to communicate with Azure Web Role on Internal Load Balancer(ILB) Endpoint. The requirement was that the Azure WebRole should not have an external endpoint. There are 3 things to configure: 1. Configure Azure Websites Virtual Network . If you plan to first create Virtual Network, make sure to have…

1

Azure Powershell error: Authentication Failed: A security token exception occurred for the received JWT token

Issue: When running Azure Powershell cmdlets like Get-AzureVM, user gets the following error: Authentication Failed: A security token exception occurred for the received JWT token.” Resolution: 1.Close the Azure Powershell window2.Delete the XML files in %appdata%\Windows Azure Powershell.3.Open Azure Powershell and run Add-AzureAccount.  

1

Error when remote debugging Azure Cloud Service "There was a failure to launch the remote debugger"

Error when remote debugging Azure Cloud Service “There was a failure to launch the remote debugger” I recently saw an issue when trying to do remote debugging, we got the following error: “There was a failure to launch the remote debugger” Steps Taken:1.We setup another machine in Azure and installed Visual Studio. We were able…

3

How to find out the results of Azure Management calls when using REST APIs

Recently, I got the following question: How can we find out the result of some Azure Management call when using REST API. For this sample, we will use REST API to increase the number of cores for the deployment. All REST API calls are asynchronous. This means that as soon as the initial call is…

0

How to validate that Traffic Manager is distributing traffic as per the policy?

How to validate that Traffic Manager is distributing traffic as per the policy? This blog mainly talks about the Traffic Manager’s Round Robin Policy In my day to day job I have seen the following question come up:Traffic manager does not seem to distribute traffic as per the policy. How can we validate this? The…

0

How to get the exact URI, Headers and Body for Azure Management REST API ?

How to get the exact URI, Headers and body for REST API calls for Azure management? The REST API calls are well documented for Azure.http://msdn.microsoft.com/en-us/library/azure/ee460799.aspx However, at times when you try to make the REST calls, you get 400 Bad request error message. To make sure that you are using the right URL, headers and…

0

Http 404 when browsing to website hosted in Azure Web Role

The intend of this blog is to show the general troubleshooting flow for some common http errors. For this blog, I have chosen http 404 error message and will go through the steps of troubleshooting this error. ISSUE: When trying to browse to a website hosted in Azure Web Role, I was getting “HTTP Error…

0

Cannot RDP into Windows Azure Web Role

ISSUE: Cannot RDP into Windows Azure Web Role. Remote Desktop used to work for the Windows Azure Web Role instance. One day when trying to do remote desktop to Windows Azure Web Role(after entering username and password) I see the following error:An authentication error has occurred.The Local Security Authority cannot be contactedRemote computer: computername.cloudapp.net  …

0