Create and Manage ARM Virtual Machines (20-25%) Flashcards
OS Disk type?
VHD
Whats a resource Group?
A container that holds related resources.
Whats the Temporary disk?
his disk is stored on a physical drive on the host machine. It is not saved in Azure Storage, and might be deleted during reboots and other VM lifecycle events. Use this disk only for temporary data, such as page or swap files.
Whats a Network Security Group (NSG)?
Used to allow/deny network traffic to the subnet. You can associate an NSG with an individual NIC or with a subnet. If you associate it with a subnet, the NSG rules apply to all VMs in that subnet.
CLI: List Available VM sizes in a given region
azure vm sizes –location
CLI: Enable VM Dignostics
azure vm enable-diag
CLI: Enable VM Diagnostics
azure vm enable-diag
CLI: Deallocate a VM
azure vm deallocate
If you delete a VM what happens to the VHDs?
If you delete a VM, the VHDs are not deleted. That means you can safely delete the VM without losing data. However, you will still be charged for storage.
What Storage Tiers are needed for Azure Managed Disks?
Standard or Premium
What are Azure Managed Disks?
simplifies disk management for Azure IaaS VMs by managing the storage accounts associated with the VM disks
Benefit(s) of Azure Managed Disks?
- No need to worry about Storage Account IOPS limits
- Simple and Scalable vM deployment
- better Reliability for Availability Sets
What performance storage tier is needed for SSD?
Premium
What are the 2 Encryption options for Managed Disks?
- Storage Service Encryption (SSE) - Encryption at rest
2. Azure Disk Encryption (ADE) - OS and Data Disk Encryption
What is Azure Cloud Shell?
The Azure Cloud Shell is a free Bash shell that you can run directly within the Azure portal. It has the Azure CLI preinstalled and configured to use with your account. Click the Cloud Shell button on the menu in the upper-right of the Azure portal.
CLI: Create a resource group
az group create –name –location
CLI: Create a Linux VM with SSH keys
az vm create –resource-group myResourceGroup –name myVM –image UbuntuLTS –generate-ssh-keys
CLI: Open Port
azure vm open-port –port –resourcegroup –name
CLI: Remove all VM and related resources
az group delete –name ResourceGroup
2 Type of Authentication for a Linux VM
- SSH Public Key
2. Password
PS: Log into Azure
Login-AzureRmAccount
PS: Create a Resource Group
New-AzureRmResourceGroup
PS: Create a Subnet Config
New-AzureRmVirtualNetworkSubnetConfig
PS: Create a Virtual Network
New-AzureRmVirtualNetwork