Introduction
Azure Virtual Machines is one of several types of on-demand, scalable computing resources that Azure offers. Typically, you'll choose a virtual machine if you need more control over the computing environment than the choices such as App Service or Cloud Services offer. Azure Virtual Machines provide you with an operating system, storage, and networking capabilities and can run a wide range of applications.
Virtual machines are part of the Infrastructure as a Service (IaaS) offering. IaaS is an instant computing infrastructure, provisioned and managed over the Internet. Quickly scale up and down with demand and pay only for what you use.
Scenario
Suppose you work for a company doing consumer research and you're responsible for managing the on-premises servers. The servers you administer run all the company infrastructure, from web servers to databases. However, the hardware is aging and starting to struggle to keep up with some of the new data analysis applications being deployed to it. Rather than upgrade the hardware, the company has decided to deploy Azure virtual machines.
You are responsible for deploying the new virtual machines. Your deployment tasks will include correctly sizing the machines, selecting storage, and configuring networking.
Learning objectives
- Create a virtual machine planning checklist.
- Determine virtual machine locations and pricing models.
- Determine the correct virtual machine size.
- Configure virtual machine storage.
cloud services responsibilities
IaaS business scenarios
- Test and development
- Website hosting
- High-performance computing
- Extended Datacenter
- Big data analysis
- Storage, backup, and recovery
- The location can limit your available options. Each region has different hardware available and some configurations are not available in all regions.
- There are price differences between locations. If your workload isn't bound to a specific location, it can be very cost effective to check your required configuration in multiple regions to find the lowest price.
Resizing virtual machines
Azure allows you to change the VM size when the existing size no longer meets your needs. You can resize a VM if your current hardware configuration is allowed in the new size. This provides a fully agile and elastic approach to VM management.
When you stop and deallocate the VM, you can select any size available in your region.
Note:
Be cautious when resizing production VMs. Resizing may require a restart that can cause a temporary outage or change configuration settings like the IP address.
Operating system disks
Temporary disk
Every VM contains a temporary disk, which is not a managed disk. The temporary disk provides short-term storage for applications and processes and is intended to only store data such as page or swap files. Data on the temporary disk may be lost during a maintenance event or when you redeploy a VM. During a standard reboot of the VM, the data on the temporary drive should persist. However, there are cases where the data may not persist, such as moving to a new host. Therefore, any data on the temp drive should not be data that is critical to the system.
- On Windows virtual machines, this disk is labeled as the D: drive by default and it used for storing pagefile.sys.
- On Linux virtual machines, the disk is typically /dev/sdb and is formatted and mounted to /mnt by the Azure Linux Agent.
Data disks
A data disk is a managed disk that's attached to a virtual machine to store application data, or other data you need to keep. The size of the virtual machine determines how many data disks you can attach to it and the type of storage you can use to host the disks.
Managed vs Unmanaged Disks.
Comments
Post a Comment