Linux Virtual Machines

Official Documentation

Service Description

Virtual Machines introduce the IaaS element to Microsoft Azure. They allow the operation of virtual machines on Microsoft Azure that were created by the user or provided by Microsoft. These are charged by the minute. Provisioning a virtual machine requires only the specification of a VHD (standard VHDs are used here) for the booting process, the VM size, and a few configuration parameters (e.g., administrator account, DNS name) depending on the selected VHD.

Documentation for Virtual Machines is split into several sections:

Getting Started

  1. 3/13/2017, Mva
    Most Azure administrators go through a "gotcha" period in which they realize they made mistakes only after deployment. This course, Microsoft Azure Virtual Machines - Getting...
  2. 9/30/2016, Mva
    Want to know more about Microsoft Azure? Join MVP Corey Hynes as he explores Microsoft Azure Virtual Machines, in this installment in a series of courses designed to teach you...



Latest Content

Subscribe to News about Linux Virtual Machines

Title  
Blog
Blog
Blog
Blog
Blog
Blog
Video
Blog
Video
Blog
Blog
Blog
more...


Web Content

Azure Documentation

1. Linux VMs Documentation
2. Overview
     2.1. About Virtual Machines
3. Quickstarts
     3.1. Create VM - Azure CLI
     3.2. Create VM - Portal
     3.3. Create VM - Azure PowerShell
4. Tutorials
     4.1. 1 - Create / manage VMs
     4.2. 2 - Create / manage disks
     4.3. 3 - Automate configuration
     4.4. 4 - Create VM images
     4.5. 5 - Highly available VMs
     4.6. 6 - Create a VM scale set
     4.7. 7 - Load balance VMs
     4.8. 8 - Manage networking
     4.9. 9 - Backup virtual machines
     4.10. 10 - Govern VMs
     4.11. 11 - Monitor and update VMs
     4.12. 12 - Manage VM security
     4.13. 13 - Deploy Jenkins
     4.14. 14 - CI/CD with Team Services
     4.15. 15a - Create LAMP stack
     4.16. 15b - Create LEMP stack
     4.17. 15c - Create MEAN stack
     4.18. 16 - Secure web server with SSL
5. Samples
     5.1. Azure CLI
     5.2. Azure PowerShell
6. Concepts
     6.1. Azure Resource Manager
     6.2. Regions and availability
     6.3. VM types and sizes
          6.3.1. General purpose
               6.3.1.1. B-series burstable
          6.3.2. Compute optimized
          6.3.3. Memory optimized
               6.3.3.1. Constrained vCPUs
          6.3.4. Storage optimized
          6.3.5. GPU optimized
               6.3.5.1. Setup GPU drivers
          6.3.6. High performance compute
          6.3.7. Previous generations
          6.3.8. Azure compute units (ACU)
          6.3.9. Benchmark scores
     6.4. Endorsed distros
     6.5. Maintenance and updates
     6.6. Disk storage
          6.6.1. Managed Disks
          6.6.2. Premium storage
          6.6.3. Premium storage performance
          6.6.4. Standard storage
          6.6.5. Scalability targets for disks
          6.6.6. Backup and disaster recovery for disks
     6.7. Networking
     6.8. Auto-scale applications
     6.9. Infrastructure automation
     6.10. Security and policy
     6.11. Monitoring
     6.12. Backup and recovery
     6.13. High performance computing
     6.14. Deployment considerations
          6.14.1. Infrastructure guidelines
          6.14.2. vCPU quotas
7. How-to guides
     7.1. Create VMs
          7.1.1. Use the CLI
          7.1.2. Use a template
          7.1.4. Copy or clone a VM
     7.2. Secure VMs
          7.2.1. Encrypt
          7.2.2. Use access controls
          7.2.3. Use policies
          7.2.4. Create a Key Vault
          7.2.5. Create and use SSH keys
               7.2.5.1. On Linux or macOS
               7.2.5.2. On Windows
               7.2.5.3. Detailed steps
     7.3. Protect VMs
          7.3.1. Back up a single VM
          7.3.2. Back up multiple VMs
          7.3.3. Restore a disk
          7.3.4. Restore individual files
     7.4. Manage VMs
          7.4.1. Prepay for VMs - Reserved Instances
          7.4.2. VM usage
          7.4.3. Common CLI tasks
          7.4.4. Move a VM
          7.4.5. Change VM size
          7.4.6. Swap the OS disk
          7.4.7. Tag a VM
          7.4.8. Run scripts on a VM
               7.4.8.1. Custom Script Extension
               7.4.8.2. Run Command
          7.4.9. Use Remote Desktop
          7.4.10. Join VM to Azure Active Directory
               7.4.10.1. Red Hat Enteprise Linux
               7.4.10.2. CentOS
               7.4.10.3. Ubuntu
          7.4.11. Log in with Azure Active Directory credentials
          7.4.12. Updates and patches
               7.4.12.1. Red Hat Update Infrastructure
          7.4.13. Azure VM agent
               7.4.13.1. Overview
               7.4.13.2. Agent update
          7.4.14. Planned maintenance
          7.4.15. Mitigating speculative execution
          7.4.16. Scheduled events
          7.4.17. Monitor metadata
          7.4.18. Get usage metrics with REST
     7.5. Use Images
          7.5.1. Find and use images
          7.5.2. Create custom image
               7.5.2.1. Generic steps
               7.5.2.2. Ubuntu
               7.5.2.3. CentOS
               7.5.2.4. Red Hat
               7.5.2.5. Debian
               7.5.2.6. SUSE
               7.5.2.7. Oracle Linux
               7.5.2.8. OpenBSD
               7.5.2.9. FreeBSD
          7.5.3. Capture VM to image
          7.5.4. Build image with Packer
          7.5.5. Download existing disk
     7.6. Availability and scale
          7.6.1. Autoscale
          7.6.2. High availability
          7.6.3. Vertically scale
          7.6.4. Create VM in availability zone
     7.7. Use automation tools
          7.7.1. Ansible
               7.7.1.1. Install and configure
               7.7.1.2. Create a basic VM
               7.7.1.3. Create a complete VM
          7.7.2. Terraform
               7.7.2.1. Install and configure
               7.7.2.2. Create a complete VM
          7.7.3. Cloud-init
               7.7.3.1. Cloud-init overview
               7.7.3.2. Configure VM hostname
               7.7.3.3. Update packages in a VM
               7.7.3.4. Add a user on a VM
               7.7.3.5. Configure swapfile
               7.7.3.6. Run existing bash script
               7.7.3.7. Prepare existing VM for cloud-init
          7.7.4. Jenkins
               7.7.4.1. Create a Jenkins server
               7.7.4.2. Scale with VM agents
               7.7.4.3. Publish artifacts to Storage
               7.7.4.4. Secure Jenkins
     7.8. Run containers
          7.8.1. Create Docker host
          7.8.2. Use Docker Machine
          7.8.3. Use Docker Compose
     7.9. Run applications
          7.9.1. Cloud Foundry
               7.9.1.1. Overview
               7.9.1.2. Deploy your first app
          7.9.2. OpenShift
               7.9.2.1. OpenShift overview
               7.9.2.2. OpenShift prerequisites
               7.9.2.3. OpenShift Origin
               7.9.2.4. OpenShift Container Platform
               7.9.2.5. OpenShift post-deployment tasks
               7.9.2.6. Troubleshooting deployments
          7.9.3. SAP on Azure
          7.9.4. Oracle
          7.9.5. Elasticsearch
          7.9.6. FreeBSD Packet Filter
          7.9.7. Databases
               7.9.7.1. MySQL
               7.9.7.2. MySQL on SUSE
               7.9.7.3. MongoDB
               7.9.7.4. PostgreSQL
               7.9.7.5. MS SQL on Linux
          7.9.8. High Performance Computing (HPC)
               7.9.8.1. Run NAMD
               7.9.8.2. Install NVIDIA GPU drivers
     7.10. Manage storage
          7.10.1. Disks FAQs
          7.10.2. Add a disk
               7.10.2.1. Azure CLI
               7.10.2.2. Azure portal
          7.10.3. Detach a disk
          7.10.4. Resize a disk
          7.10.5. Snapshot a disk
          7.10.6. Back up unmanaged disks
          7.10.7. Convert to Managed Disks
          7.10.8. Convert disk between Standard and Premium
          7.10.9. Copy files to a VM
          7.10.10. Migrate to Premium storage with Azure Site Recovery
          7.10.11. Find unattached disks
          7.10.12. Use File storage
          7.10.13. Deploy disks with template
          7.10.14. Enable write accelerator
          7.10.15. Optimize performance
               7.10.15.1. Configure software RAID
               7.10.15.2. Configure LVM
     7.11. Manage networking
          7.11.1. Create virtual network
          7.11.2. Open ports to a VM
          7.11.3. Assign public IP address
          7.11.4. Use multiple NICs
          7.11.5. Use accelerated networking
          7.11.6. Assign public DNS name
          7.11.7. Find and delete unattached NICs
          7.11.8. DNS resolution
               7.11.8.1. Use internal DNS
     7.12. Use VM extensions
     7.13. Migrate VMs
          7.13.1. Migrate AWS and on-premises VMs
               7.13.1.1. Migrate from Amazon Web Services (AWS) to Azure
               7.13.1.2. Upload on-prem VM
               7.13.1.3. Use Azure Site Recovery
          7.13.2. Migrate from Classic to Azure Resource Manager
               7.13.2.1. Deep dive on migration
               7.13.2.2. Plan for migration
               7.13.2.3. Migrate using the CLI
               7.13.2.4. Common migration errors
               7.13.2.5. Community tools for migration
               7.13.2.6. FAQ
     7.14. Troubleshoot
          7.14.1. SSH connections
               7.14.1.1. Detailed troubleshooting steps
          7.14.2. Reset Linux VM password
          7.14.3. Understand system reboot
          7.14.4. Boot diagnostics
          7.14.5. Serial console
          7.14.6. Access to applications
          7.14.7. Allocation failures
          7.14.8. Allocation failures-classic VM
          7.14.9. Deployment issues
          7.14.10. Creating a VM
          7.14.11. Device names are changed
          7.14.12. Redeploy VM to a new Azure node
          7.14.13. Common error messages
          7.14.14. VM recovery access
               7.14.14.1. Azure CLI
               7.14.14.2. Azure portal
          7.14.15. Attached VHDs
               7.14.15.1. Storage resource deletion errors
               7.14.15.2. Unexpected reboots of VMs with attached VHDs
8. Reference
     8.1. Azure CLI
     8.2. PowerShell
     8.3. .NET
     8.4. Java
     8.5. Node.js
     8.6. Python
     8.7. REST
9. Resources
     9.1. Author templates
     9.2. Azure Roadmap
     9.3. Community templates
     9.4. Pricing
     9.5. Regional availability
     9.6. Stack Overflow
     9.7. Videos
     9.8. FAQ

Online Training Content

Date Title
3/30/2017 Pluralsight: Microsoft Azure IaaS Monitoring and Management - Getting Started
3/13/2017 Pluralsight: Microsoft Azure Virtual Machines - Getting Started
9/30/2016 Microsoft Azure for IT Pros Content Series: Virtual Machines

Tools

Tool Description
Enable/Disable Accelerated Networking on Azure VM's Microsoft Azure has the option to enable Accelerated Networking on VM's. This script can be used to enable/disable this feature on your Azure VM's.
FixStopAzureV2VM This is a modified version of StopAzureV2Vm. It fixes the failure of the original script to correctly report the stop or fail status.Original description:This Graphical PowerShell runbook connects to Azure using an Automation Run As account and stops all V2 VMs in an Azure su
Week Day Start Azure V2 VM This is a modified version of StartAzureV2Vm that only starts machines on certain days, set in the parameters. As with the original, you can choose to start an individual VM, all VMs in a resource group or all VMs in a subscription. It also fixes the failure of the original scr
Asynchronously destory/nuke all Azure RM resources in an Azure Subscription This script lets you destory/nuke all Azure RM resources in an Azure Subscription asynchronously. You can only run this script remotely from your local machine or elsewhere, but not from within the Azure Subscription which you want to nuke.You need to be already logged into you
Asynchronously Stops all or specific Azure RM VMs in an Azure Subscription This Runbook asynchronously Stops either all Azure RM VMs in an Azure Subscription, or all Azure RM VMs in one or more specified Resource Groups, or one or more VMs in a specific Resource Group, or any number of Random VMs in a Subscription. The choice around which VMs to stop
Asynchronously Starts all or specific Azure RM VMs in an Azure Subscription This Runbook asynchronously Starts either all Azure RM VMs in an Azure Subscription, or all Azure RM VMs in one or more specified Resource Groups, or one or more VMs in a specific Resource Group, or any number of Random VMs in a Subscription. The choice around which VMs to star
Scale down any Azure RM VM from Current Size to New Size within same Family This Runbook lets you Scale down any Azure RM VM from its current Size to a new size that you specify. By default, the new size to scale is Immediately before the current size in the Size Table published by Microsoft, which means the     SizeStep parameter with value -1. However
Scale Up any Azure RM VM from Current Size to New Size within same Family This Runbook lets you Scale Up any Azure RM VM from its current Size to a new size that you specify. By default, the new size to scale is Immediately after the current size in the Size Table published by Microsoft, which means the SizeStep parameter with value 1. However, if yo
Increase the Data Disk Size for an Azure RM VM This Runbook lets you Increase the Data Disk size for a VM. Data Disk Size reduction is not supported by Azure. It supports Data Disk resizing for both Managed and Unmanaged disks. It lets you increase the size only for one Data Disk at a time, and not for all Data Sisks atta
Increase OS Disk Size for an Azure RM VM (Managed and Unmanaged) This Runbook lets you Increase the OS Disk size for a VM. OS Disk Size reduction is not supported by Azure. It supports OS Disk resizing for both Managed and Unmanaged disks as the approach of changing disk sizes for Managed Disks is significantly different from that for Unmana
Easy Shutdown/Start for ARM and Classic VMs This script shutdowns/starts VMs (both ASM and ARM) just by given a Subscription name and a VM name.
Install New Relic Infrastructure client DescriptionThis PowerShell automation runbook installs the New Relic Infrastructure client and enables it with a provided key.. The runbook can install the client on a single computer or multiple. All you need to do, is provide a list commaseperated liste with names of the comput
Automatic Packet Capture ACDC (Azure Connectivity Diagnostic Collector) script allows to automatically start packet capture traces (.cap) on Azure VMs and probing sources as soon as a connectivity failure is detected.
Resize AzureRm Virtual Machine There may be times when you have to scale your virtual machines up or down your Virtual Machines and changing the Virtual Machines size is straight forward, you can change the size of a Azure virtual machine by using either the Azure Management Portal or PowerShell commands. Ho
Automate Installation of Azure Resource Manager (ARM) Virtual Machine Extensions Script to automate the installation of VM Extensions on Azure VMs. The "Extension Name" (Type) and "Publisher Name" are passed are parameters, along with optional "SettingString" JSON that can be used to configure Extension properties.
Azure Resource Manager Virtual Machine Power Management azure-rm-vm-manager.ps1 This script azure-rm-vm-manager.ps1 provides the ability to simultaneously manage Azure Resource Manager IaaS virtual machines power states. Features: Lists all Azure RM IaaS virtual machines and their power states. Start, Stop, Restart all Azure RM IaaS virtual machines.

Videos

Date Title Length
9/28/2017
Azure Friday: Azure Service Fabric on Linux
0:12:49
9/28/2017
Learn all about running multi-terabyte SAP HANA infrastructure on Microsoft Azure
1:10:35
9/28/2017
Windows Server feature release: How to maximize developer efficiency today and tomorrow
1:14:53
9/28/2017
Containers as infrastructure: Getting started with Azure Container Instances
0:46:44
9/28/2017
Azure Stack – Thinking AND realizing value beyond the box, a global SI’s perspective
1:01:48
9/28/2017
Manage Configurations and Update/Patch Windows and Linux Servers with Azure Management
1:14:41
9/27/2017
Azure Service Fabric for Linux
1:07:48
9/27/2017
Migrating to Azure using Azure Migrate and Azure Site Recovery
1:00:49
9/27/2017
Modern .NET: Cloud, Containers, Microservices and Mobile all in Visual Studio 2017
1:13:48
9/27/2017
Experience Microsoft SQL Server 2017: The fast and the furious
1:22:07

Page 9 of 23