Understanding Infrastructure as a Service (IaaS)
This lesson explains the cloud service stack and infrastructure as a service: what the provider and customer manage, the Azure IaaS services and the scenarios that suit IaaS.
Learning outcomes
After completing this lesson, you will be able to:
- Describe what the provider and the customer manage in IaaS.
- Identify Azure services that are IaaS.
- Identify scenarios that suit IaaS.
The cloud service stack
Any running application depends on a stack of layers: the physical datacentre and network, servers and storage, virtualization, the operating system, middleware and runtimes, the application itself and its data. The three cloud service types differ in how far up this stack the provider takes responsibility. With IaaS the provider manages the bottom layers; with PaaS it also manages the middle layers; with SaaS it manages the whole stack apart from the customer's data and access.
What IaaS provides
With IaaS, the cloud provider is responsible for maintaining the hardware, network connectivity to the internet and physical security, and it supplies virtualization so that customers can create virtual machines, disks and networks on demand. The customer is responsible for everything else: installing and configuring the operating system, applying patches and updates, configuring the network and firewall rules inside the VM, installing middleware and applications, and protecting data and access.
In Azure, IaaS services include Azure Virtual Machines, Virtual Machine Scale Sets, managed disks and Azure Virtual Network. A VM in Azure is very like a server in a datacentre: the customer can log on as an administrator, install any software and change any operating system setting. That control is the main reason to choose IaaS, and also its main burden.
Who does it in IaaS?
Scenarios that suit IaaS
IaaS is the most flexible cloud service type, so it suits scenarios in which the customer needs control or cannot change its software to fit a platform:
- Lift-and-shift migration: moving existing on-premises servers to the cloud with few or no changes, often as a first step before modernizing.
- Testing and development: creating and removing complete environments quickly that replicate production.
- Software with specific requirements: applications that need a particular operating system version, configuration or installed component that PaaS services do not offer.
- Storage, backup and recovery and high-performance computing workloads that need particular VM types.
IaaS still brings cloud benefits, such as no hardware purchases, pay-as-you-go pricing and deployment in minutes, but the customer keeps the operational work of running servers.
When IaaS fits
Recognizing IaaS
A company runs a line-of-business application on Windows Server with a third-party component that must be installed with administrator access and a specific registry configuration. The datacentre lease ends in two months, and the application must move to Azure without being rewritten. Which service type is appropriate?
The decisive facts are the need for administrator access to install a component and change the registry, and the requirement to move without rewriting the application. Only IaaS, an Azure virtual machine running Windows Server, gives that operating-system-level control. PaaS services such as Azure App Service do not allow arbitrary software installation or registry changes, and SaaS would replace the application rather than move it.
In IaaS, who applies operating system patches?
Show answer
The customer. The provider manages only the hardware, networking and virtualization beneath the operating system.
Exam Tips
Remember for the exam
- IaaS: the provider manages hardware, networking and virtualization; the customer manages the operating system and above.
- Azure Virtual Machines is the main IaaS service.
- Lift and shift, full operating system control and custom software point to IaaS.