Develop Azure Infrastructure as a Service compute solutions Flashcards
Describe azure storage accounts.
A storage account provides access to objects in azure storage for a specific subscription. A storage account can be either standard or premium.
Premium uses ssds. Use this for production workloads and sensitive I/O operations.
Standard is good for dev and test.
Describe the azure pricing model for virtual machines.
You pay for compute and storage costs separately.
Computer costs can be paid for in one of two ways:
- Pay as you go: Pay for compute expenses on a per-hour basis, billed on a per-minute basis. Good for quick tests and development.
- Reserved virtual machine instance: Pay in advance to have a virtual machine for 1-3 years in a specific region. Huge discount. Can be terminated for a fee. Good if you vm is running continuously.
Describe the default disk stores on a virtual machine and their purpose.
The first disk stores the operating system.
The second disk is used as a temporary storage.
Additional disks are used to store application data.
Described unmanaged and managed disks.
Unmanaged disks: You are reponsible for managing the storage accounts that contain these disks. Stores up to 40 standard hdds on a storage account.
Managed disks: Azure is responsible for managing the storage accounts that contain these disks. This scales out infinitely on a single storage account. Azure recommends using this one.
How can you allow external access to virtual machines in your VNet?
External access into a VNet is not allowed by default. You need to configure the VNet by creating firewall rules to allow access.
How do storage accounts relate to virtual machine disks?
A virtual machine will always have one or more storage accounts to hold each attached virtual disk.
How is the data for virtual harddisks stored?
It is stored as page blobs. Azure allocates space only for the storage you use.
How many disks can a virtual machine have?
It is determine by your size selection. The general rule is 2 disks per cpu.
What are azure virtual machines?
Azure virtual machines are a scalable computing resouce that is provisioned over the internet. They provide an operating system, storage and network capabilities.
What are the considerations for deciding the location of a virtual machine?
- Place your virtual machines as close to your users to meet performance, legal, complicance or tax requirements.
- Locations have different hardware and configurations.
- Prices vary by location.
What are the items in the azure virtual machine checklist?
- Start with the network
- Name the VM
- Location of the VM
- Size of the VM
- Pricing model for the VM
- Storage for the VM
- Select an operating system
What do azure locations represent?
Azure groups its datacenters into geographic regions. A location represents a datacenter in a geographic region.
What happens when you change the size of a running VM?
It will restart and the IP address may change. You will only have sizes available on that cluster. If you turn it off then you will have all sizes available.
What is a good naming convention for azure virtual machines?
Following that naming convention, what would the name devusc-webvm01 be used for?
A good naming convention would include:
- Environment (dev, prod, uat) identifies the environment for the resource.
- Location (uw for US West, ue for US East) identifies the region where the resource is deployed.
- Instance (01, 02, 03, etc) if more than one of the same resource exists.
- Product or Service (service) identifies the product, application or service the resource supports.
- Role (sql, web, messaging) identifies the role of the associated resource.
devusc-webvm01 represents the first development web server hosted in the US South Central location.
- Environment is development.
- Location is US South Central region.
- Role is web server.
- Instance is 01.
What is Azure storage?
Azure storage is a cloud-based data storage solution.