Tag: Azure CLI

Azure CLIInfrastructure

Azure CLI 2.0: Convert VM to Managed Disks

Traditionally, Azure Virtual Machines (VMs) would use an Azure Storage Account to store the VM Disk Images for the VM. This required explicit management of what Storage Accounts contained which and how many VM Disks; both OS Disks and Data Disks. To simplify the management of the VM Disks, Microsoft released a newer feature (that is now the recommended best practice) called Azure Managed Disks. Managed Disks allow you to store the VM Disk imaged (both OS and Data disks) in Azure without the need to manage what Storage Accounts are used. You simple create Managed Disks, and the Azure platform takes care of all the management and scalability necessary.

When creating a Virtual Machine in Microsoft Azure, you can choose whether to use Managed Disks or not. Even though this can be chosen now at creating time, you may still have a number of Virtual Machines that are not using Managed Disks. Thankfully, Microsoft has provided tooling within the Azure CLI that enables you to easily Convert a VM to use Managed Disks.

Let’s take a look at this below… Read More

Internet of Things

Microsoft Azure IoT Extension for Azure CLI 2.0

Microsoft has been investing heavily in the pretty much every aspect of Microsoft Azure, and the IoT (Internet of Things) space is not being left out. Microsoft has innovated very nicely with services like Azure IoT Hub and the newer Azure IoT Central. These are pretty amazing cloud services within Microsoft Azure that truly ease the development and integration of IoT into any solution. Now, with the release of the “Azure IoT Extension for Azure CLI 2.0”, Microsoft is enhancing the command-line management experience for working with IoT related services within Microsoft Azure. Read More

Azure CLIDevOpsportalVideo

Azure Cloud Shell with Azure CLI inside Azure Portal

Here’s a short introduction to the Azure Cloud Shell; a new feature recently released into the Microsoft Azure Portal as part of the many announcements that Microsoft made at the Build 2017 conference. I also show off the Azure CLI 1.0 and 2.0 support in the Bash shell support of the Azure Cloud Shell; along with going through the portal UI to see what’s being created at the Command-Line as I go through to create a Resource Group, App Service Plan and App Service Web App from the CLI all within the Azure Portal! Enjoy!
Read More