Category: Azure VMs

0

Infrastructure as a Code (IaC) Series – The beginning!

From the past months, I’ve been upgrading all my scripts that I have been using along the years to a platform that allows me to be more productive, reusing all the IP that I have been gathering and creating along the years. But in what way I should enhance/improve this? Then I got stroked by a light! What I was doing from all of those years was kind of an...

0

Considerations on using Load Balancing with Azure VMs

During this week, I had to design a solution using Azure Load Balance to build, to host a significant amount of content that requires a lot of bandwidth. From what I could find, the size and the series of the VMs in Azure impacts on the output of the bandwidth, and directly impacts on the performance of the solution. So, after careful calculation we decide to go with the F-Series....

0

Auto shutdown an Azure VM with PowerShell

At one of my costumers, after starting the process of Azure Governance, it come to my attention the following scenario, the majority of the Virtual Machines on the DevTest Labs were with no auto shutdown configuration. That can be setup easily, although we want to make sure that we wanted to introduce a mechanism that will enforce the shutdown of those virtual machine, even if that configuration is not setup....

0

How to migrate Azure Managed Disk to different subscription and region – Part II

On the previous post I describe what need to do to move Azure Managed Disks between subscriptions and after that between regions (see link HERE). Although I didn’t explore the steps mention to move between regions. Here are the step-by-steps of each stage, mention on the previous post, of how to move the Azure Managed Disk between Azure Regions: 1. Stop the virtual machine from migrating 1. Navigate to the...

0

How to migrate Azure Managed Disk to different subscription and region – Part I

On a recent project, I was asked to help move some virtual machines from a MSDN Subscription to a CSP subscription. With this move, we use the opportunity to consolidate on a different region as well. This last aspect makes the move a little more complex that was described on the Move resources to new resource group or subscription documentation. The migration of resources between different or within the same...

0

Azure Policy – Allowing only define VM sizes

Azure Policy is the big step to start to have some sort of governance on your Azure environment. It’s really easy to implement, efficient and powerful. With Azure Policies, you can control how and what you allow users to deploy. It’s important to have such policies to control the cost of the subscription, special when you have a monthly budget like mine. On other hand, you are limiting the number...

0

Instant VM Recovery using Azure Backup

We all know that Azure is grow and evolving in a very fast pace. On a project that I’m working right now, I had the opportunity to work with big VMs (M Series), although working with those kinds of VMs is always a challenge, when it comes to the operations side, in this particular case, backups. How you will backup that “Monster” and how fast can you recovery the virtual...

0

Unable to RDP into Azure VMs

After patching all the Windows Server in Azure, a colleague calls me in panic, because their users, could not access their VMs through RDP. They were getting a CredSSP error (picture bellow).  So, after reading the link bellow, it seems it could be related with the March update. https://support.microsoft.com/en-us/help/4093492/credssp-updates-for-cve-2018-0886-march-13-2018 Rebooting the VM didn’t sort the issue, there’s a few mitigations listed in this post https://blogs.technet.microsoft.com/mckittrick/unable-to-rdp-to-virtual-machine-credssp-encryption-oracle-remediation/ Then I realize that was...

0

How to enable RDS license on an Azure VM

In some organization, it’s common practice to have a jump server in Azure to be used, specially when you have several tools that need to run “locally” on the server. Usually this machine is on a segregated network and not domain join. Although, if you enable RDS licenses to have more than the 2 normal RDP sessions that a Windows Server 2016 give to us, you probably will see some...

0

How to remotely disable Network Level Authentication (NLA) on Azure Virtual Machine

Today, I received an email from a colleague, saying that he could RDP into his Azure VM after he rebooted the machine through the OS (applying patches).   When he tried to access his Azure VM through an RDP session, he got the following message: “The remote computer that you are trying to connect to requires Network Level Authentication (NLA), but your Windows domain controller cannot be contacted to perform NLA....