Uploading Azure NSG Flow Logs to OMS

** Edit 6/6/2017 ** The upload script has now been updated to allow for SAS token authentication in addition to using the storage account keys. Using SAS tokens allows for more granular access and reduces the risk associated with potential exposure of storage account keys. I’ve updated the upload command below to indicate how to…

0

Performing Application Upgrades on Azure VM Scale Sets

Virtual Machine Scale Sets (VMSS) are an awesome solution available on Azure, providing autoscale capabilities and elasticity for your application. I was recently working with a customer who was interested in leveraging VMSS on their web tier and one of the points we focused on was how to do an upgrade of an application running…

1

Upgrade those VMs to Premium Storage

Let’s say you have a production VM running in Azure. That’s pretty common these days and you find yourself monitoring them and thinking, gosh, I should be able to get more umph out of this thing. SSD the OS disk (and the data disks if needed) and life will get infinitely better! In fact, I’ve…

0

Retrieving Resource Metrics and Creating Alert Rules via Azure PowerShell

UPDATE: This post has been updated to use the new Azure Resource Manager (ARM) cmdlets released in March 2016. Azure Insights is intended to provide a coherent monitoring and alerting framework for all Azure resources. Michael Collier wrote a post describing how to retrieve Azure Insights metric data using the Azure Resource Manager Insights REST…

1

Troubleshooting Azure Resource Manager (ARM) PowerShell issues

My colleague Neil just did a great article on how to interact with the REST APIs directly.  When working with ARM via PowerShell it is also often useful to understand the actual REST requests that are being sent to the ARM APIs on your behalf.    Thankfully capturing this traffic from PowerShell is relatively simple.  The…

0

Retrieving Resource Metrics via the Azure Insights API

There are many options for configuring monitoring and alerting for Azure resources. The Azure portal will show some default metrics. It is also possible to enable more advanced or custom diagnostic settings. The links below provide additional details on enabling diagnostics and monitoring for two popular Azure compute resources, Azure Web Apps and Azure Virtual Machines. Visual…


Azure Virtual Networks with ARM and PowerShell

Now that I do all of the things in ARM (classic is so old and smelly you see), I am starting to get the hang of my PowerShell foo. Recently, I began working on the networking track and needed to create a Point to Site VPN gateway into my secured VMs. There’s an excellent article…

0

Updating the Azure VM Encryption Certs

This is an update to a previous blog post regarding BitLocker encryption of your Azure VMs using certificates and Azure KeyVault. That article can be found here. The next obvious question is: Great, what happens when my certificate expires? Well, you need to update it BEFORE that happens, so I suggest keeping tabs on them….

0

Easily Encrypt your Azure VMs with KeyVault

There are a lot of technical guides out there that allow you to take advantage of the awesome, amazing, stupendous, incredible Azure VM encryption. However, they all assume a decently high degree of knowledge about lots of things. I’m really not a coder or a PowerShell ninja – in fact, I specifically specialize in sucking…

1

Fun with Azure Storage and PowerShell

My last post, where I was talking about encrypting VMs, took several pages to just explain/screenshot/etc. At the end, I thought it’d be nice to link to the full PS runbook, but I didn’t have any webserver place to easily store it. “Use your damn website you goof,” I thought…pft, too easy. Let’s make it…

2