Skip to content

Cloud Infrastructure Mechanisms

  • These are the core building blocks from which all cloud architectures are composed. Understanding them at this level explains why cloud platforms behave the way they do — not just how to use the console.
  • Each mechanism appears as a supporting actor in the Cloud Architecture Patterns page — this glossary provides the conceptual foundation for those patterns.

A logical network perimeter is the isolation of a network environment from the rest of a communications network. It establishes a virtual network boundary that can encompass a group of related cloud IT resources — even if those resources span different physical hosts or data centers.

What it does:

  • Isolates cloud IT resources from unauthorised users, non-users, and other cloud consumers
  • Controls bandwidth available to isolated resources
  • Enables per-consumer network policy enforcement without requiring dedicated hardware

Core components:

ComponentRole
Virtual FirewallFilters traffic to/from the isolated network; controls internet interaction; can be allocated to a single consumer
Virtual Network (VLAN)Isolates the network environment within the broader data center fabric

Together, a virtual firewall + isolated virtual network = a consumer’s complete logical network perimeter.

Connectivity between perimeters: When separate perimeters must communicate (e.g., consumer on-premises connecting to provider cloud), they are bridged via a VPN using point-to-point encryption between endpoints.

Layered perimeter example:

LayerDescription
External / ExtranetOutermost boundary; routers → external firewalls; loosely isolated from the internet
DMZ (Demilitarized Zone)Between external and internal firewalls; hosts proxy servers for DNS, email, web portals; all inbound traffic passes through here
Management NetworkBehind management firewalls; provides self-service and on-demand resource provisioning portals
Intra-Data CenterConnects management and virtual networks across data centers via intra-data center firewalls

Real-world platform equivalents:

ConceptAWSGCPAzure
Logical network perimeterVPC (Virtual Private Cloud)VPC NetworkVirtual Network (VNet)
Virtual network isolationSubnets + NACLsSubnets + Firewall RulesSubnets + NSGs
DMZ patternPublic subnet + ALBDedicated ingress subnet + Cloud Load BalancingDMZ subnet + Azure Firewall
Cross-perimeter VPNSite-to-Site VPN / Direct ConnectCloud VPN / InterconnectVPN Gateway / ExpressRoute

See also: Cloud Access Mechanisms — Firewall & VPN, Cloud Architecture Patterns — Workload Distribution.


A virtual server (synonymously: virtual machine / VM) is virtualisation software that emulates a physical server. It is the most foundational compute primitive of cloud environments — used to host IT resources, cloud services, and other cloud mechanisms.

Why virtual servers are the backbone of cloud: Cloud providers share the capacity of a single physical server among multiple consumers by issuing them individual VM instances. This is what makes the pay-per-use model possible — instead of a dedicated server sitting idle, physical resources are partitioned and billed only for what is consumed.

Creation and lifecycle:

  • Instantiated on-demand from VM images — files representing virtual disk images that a hypervisor uses to boot the server
  • Managed by a Virtual Infrastructure Manager (VIM) that coordinates hardware and hypervisors to find the optimal physical host for each new instance
  • Support live VM migration — a running VM can be suspended, have its state synced via shared cloud storage, and resumed on a different physical host without downtime (critical for auto-scaling)
  • Support resource replication — multiple identical instances can be spawned from a single image for HA and load distribution

Performance tiers (typical provider model):

TiervCPUsRAMUse case
Small14 GBDev/test, low-traffic services
Medium416 GBWeb servers, microservices
Large1664 GBData processing, app servers
Ultra-Large128512 GBHPC, in-memory databases

Deployment flow:

  1. Consumer selects a template VM from self-service portal
  2. A copy of the VM image is generated in consumer-controlled cloud storage
  3. Consumer initiates the server; portal passes performance profile + VM image to VIM
  4. VIM creates the active instance on the optimal physical host
  5. Consumer logs in to administer and customise

Real-world platform equivalents:

ConceptAWSGCPAzure
Virtual serverEC2 InstanceCompute Engine (GCE) VMAzure Virtual Machine
VM imageAMI (Amazon Machine Image)Custom Image / Public ImageVM Image / Managed Image
Live migrationStop → snapshot → restore (manual)Transparent live migrationVM maintenance (live migrate)
VIM equivalentEC2 control plane + Auto ScalingGCE control plane + Managed Instance GroupsAzure Fabric Controller

See also: Cloud Architecture Patterns — Dynamic Scalability, Elastic Capacity.


The hypervisor is the virtualisation layer installed directly on physical (bare-metal) hardware that generates and manages virtual server instances. It is what makes one physical machine appear as many independent virtual machines to consumers.

What a hypervisor does:

  • Creates VM instances from stored VM images
  • Schedules and shares underlying hardware resources (CPU, memory, I/O) across multiple VMs, presenting them to each VM’s OS as if they were dedicated
  • Manages live VM migration at the individual host level (coordinated by the VIM across hosts)
  • Acts as the resource replication engine — spawning multiple identical VMs from a single image

Scope and limitations:

CapabilityHypervisor aloneWith VIM
Creates VMs✅ On its physical host only✅ Across all managed hosts
Scales VMs (vertical)✅ Increase/decrease CPU+RAM of hosted VMs
Migrates VMs across hosts❌ Needs VIM coordination
Global resource optimisation❌ Single-host view✅ Fleet-wide view

Hypervisor types:

TypeDescriptionExamples
Type 1 (bare-metal)Installed directly on hardware; no host OS required; lower overhead, higher performanceXen (AWS), KVM (GCP/OpenStack), VMware ESXi, Hyper-V
Type 2 (hosted)Runs on top of a host OS; higher overhead; used for development/testingVirtualBox, VMware Workstation

Public cloud providers universally use Type 1 hypervisors. AWS uses a customised Xen/KVM hybrid (Nitro), GCP and most OpenStack deployments use KVM, Azure uses Hyper-V.

Live migration flow:

  1. VIM detects overloaded physical host
  2. VIM commands source hypervisor to suspend the VM
  3. VM state is synced via shared cloud storage
  4. VIM commands target hypervisor (idle host) to resume the VM
  5. VM becomes active on new host — transparent to the consumer

See also: Cloud Architecture Patterns — Elastic Capacity, Redundant Storage.


A cloud storage device provides remote, virtualised storage provisioned for cloud consumers — exposed via cloud storage services and billed on a pay-per-use basis via fixed-increment capacity allocation.

Primary concerns with cloud storage:

ConcernDetail
Security & privacyData integrity and confidentiality are more susceptible when stored externally; mitigated by encryption at rest and in transit
ComplianceMoving data across geographic/national boundaries triggers legal and regulatory obligations (GDPR, data sovereignty laws)
PerformanceLarge databases accessed over WANs suffer higher latency than LAN-local storage — a key architectural trade-off

Storage levels and interfaces:

TypeStructureInterfaceBest for
File storageData in files and foldersSMB, CIFS, NFSShared file systems, home directories, content management
Block storageFixed-format data blocks; lowest level, closest to hardwareSCSI, LUNsDatabases, boot volumes — better raw I/O performance than file

Block storage with LUNs (Logical Unit Numbers) generally outperforms file-level storage because the OS manages the file system rather than a remote NAS — eliminating a translation layer.

  • Stores and references data as web resources, each with associated metadata
  • Accessed via REST or HTTP-based APIs
  • Standard: SNIA’s Cloud Data Management Interface (CDMI)
  • Infinitely horizontally scalable — no hierarchy limit; ideal for unstructured data at massive scale
TypeStructureQueryStrengthsTrade-offs
Relational (SQL)Tables, rows, columns; enforced relationships; normalisedSQLData integrity, complex joins, transactionsExpensive vertical scaling; remote access latency
Non-relational (NoSQL)Loose structure; schema-flexibleVaries (key-value, document, graph)Horizontal scaling, high throughput, schema flexibilityNo native transactions/joins; data grows (denormalised); often proprietary

Real-world platform equivalents:

Storage typeAWSGCPAzure
ObjectS3Cloud StorageAzure Blob Storage
BlockEBS (Elastic Block Store)Persistent DiskAzure Managed Disks
FileEFS (NFS) / FSx (SMB)FilestoreAzure Files
Relational DBRDS / AuroraCloud SQL / AlloyDBAzure SQL / PostgreSQL
NoSQLDynamoDB / DocumentDBFirestore / BigtableCosmos DB

See also: Cloud Architecture Patterns — Resource Pooling, Resilient Disaster Recovery.


A cloud usage monitor is a lightweight, autonomous software program that collects and processes IT resource usage data — forming the instrumentation layer that makes pay-per-use billing, auto-scaling decisions, and capacity planning possible.

Monitors are typically configured to forward collected data to a centralised log database for post-processing and reporting.

Three agent-based implementation formats:

Agent typeHow it worksTypical metrics collected
Monitoring AgentIntermediary service agent sitting along communication paths; intercepts messages transparently, logs metrics, forwards the messageNetwork traffic volume, message counts, request rates
Resource AgentEvent-driven module; hooks into resource software and fires on predefined state-change eventsVM start/stop/scale events; resource allocation changes
Polling AgentPeriodically polls IT resources at a defined intervalUptime/downtime, periodic CPU/memory utilisation

Example billing pipeline: A cloud provider transitioning from flat annual leases to hourly pay-per-use billing can use a Resource Agent that hooks into the VIM:

  1. VIM emits events: VM_Starting, VM_Started, VM_Stopping, VM_Stopped, VM_Scaled
  2. Each event payload includes: event type, VM performance tier, VM ID, consumer ID, timestamp
  3. Agent calculates usage cycles — time intervals between state-change events (e.g., VM_StartedVM_Scaled_Up)
  4. Total minutes-active per billing period are stored in a log database
  5. Administration portal queries the database to generate consumer invoices

Real-world platform equivalents:

ConceptAWSGCPAzure
Monitoring agentCloudWatch AgentOps AgentAzure Monitor Agent
Resource event monitoringCloudTrail / EventBridgeCloud Audit Logs / EventarcAzure Activity Log / Event Grid
Usage/billing dataCost Explorer + CURCloud Billing ExportCost Management + Billing
Polling / metricsCloudWatch MetricsCloud MonitoringAzure Monitor Metrics

See also: Cloud Architecture Patterns — Workload Distribution, Dynamic Scalability, Cloud Cost Optimization.


Resource replication is the creation of multiple identical instances of an IT resource — the primary mechanism for achieving high availability, fault tolerance, and horizontal scalability in cloud environments.

Scope: Acts as a “parent mechanism” — it describes the capability that multiple concrete technologies implement:

Replication typeImplemented byWhat gets replicated
VM replicationHypervisorVirtual server instances from a stored VM image
Service replicationLoad balancer + orchestratorCloud service implementations
Data replicationStorage replication agentsData sets, cloud storage devices
Environment replicationPaaS runtimeReady-made environments, full application stacks

Synchronous vs. asynchronous replication:

ModeBehaviourUse case
SynchronousWrite confirmed only after all replicas updatedFinancial systems, databases requiring zero data loss
AsynchronousWrite confirmed immediately; replicas updated eventuallyGeographic distribution across high-latency links; acceptable RPO > 0

Cross-data center HA flow:

  1. VM on physical host in Data Center A fails
  2. VIM in Data Center B detects failure condition
  3. VIMs in both data centers coordinate
  4. Data Center B VIM creates a new instance from the pre-replicated VM image
  5. Service resumes — consumer experiences minimal downtime

Real-world platform equivalents:

ConceptAWSGCPAzure
VM replication / HAAuto Scaling Groups + Multi-AZManaged Instance Groups (MIGs)VM Scale Sets
Storage replicationS3 Cross-Region Replication / EBS snapshotsCloud Storage multi-region / PD snapshotsGRS / ZRS storage
Service replicationECS / EKS replica setsGKE replica setsAKS replica sets

See also: Cloud Architecture Patterns — Dynamic Scalability, Redundant Storage Architecture.


A ready-made environment is the defining primitive of the Platform-as-a-Service (PaaS) delivery model — a predefined, cloud-based platform with pre-installed IT resources that consumers use to develop and deploy applications without managing the underlying infrastructure.

What comes pre-installed:

  • Databases, middleware, development tools, and governance tools
  • A complete Software Development Kit (SDK) for the consumer’s preferred language/runtime stack
  • Middleware for multitenant platform support (web app frameworks, message brokers, etc.)

Why this matters — the IaaS vs PaaS distinction:

DimensionIaaS (VM-based)PaaS (Ready-Made Environment)
What consumer managesOS, runtime, middleware, app, dataApp logic and data only
Time to first deploymentHours to days (provision + configure)Minutes (push code, done)
Scaling modelManual or scripted VM replicationPlatform handles scaling automatically
Operational burdenHigh — patching, hardening, etc.Low — provider manages runtime
CustomisationComplete controlConstrained to platform’s runtime

Logic partitioning for performance and cost: PaaS environments can be split across multiple instances billed at different rates — allowing workloads to be optimised independently:

Instance typeHandlesBilling implication
Front-end instanceTime-sensitive requests, simple queriesLower resource tier = lower rate
Back-end instanceLong-running processing, heavy computationHigher resource tier = higher rate

Example: An organisation builds a Java-based catalog web app on a PaaS environment. The front-end handles user queries; the back-end handles full catalog rendering and legacy part number correlation. Both instances share a cloud storage device for persistent data.

Real-world platform equivalents:

ConceptAWSGCPAzure
Ready-made environmentElastic Beanstalk / App RunnerApp Engine / Cloud RunAzure App Service
Managed runtimeLambda (serverless) / LightsailCloud Functions / Cloud RunAzure Functions / Container Apps
Database PaaSRDS / Aurora ServerlessCloud SQL / SpannerAzure SQL Managed Instance

A container is an OS-level virtualisation unit that packages an application and its dependencies into a portable, isolated runtime — offering a deployment and delivery primitive that is lighter than a VM but more self-contained than a bare process.

How containers differ from VMs:

DimensionVirtual MachineContainer
Isolation unitFull OS + applicationProcess namespace + application
Boot timeMinutesMilliseconds to seconds
SizeGBs (full OS image)MBs (only app + dependencies)
OverheadHypervisor + guest OSShared host OS kernel only
PortabilityLimited — tied to hypervisor typeHigh — runs on any OCI-compatible runtime
DensityDozens per physical hostHundreds per physical host

Why containers dominate modern cloud delivery: The combination of speed (millisecond startup), density, and image portability makes containers the natural unit of deployment for microservices, CI/CD pipelines, and cloud-native applications. The OCI (Open Container Initiative) standard ensures images built with any compliant tool run on any compliant runtime.

Container orchestration: A single container is rarely the full story. At scale, containers are managed by orchestration platforms that handle scheduling, networking, storage, scaling, and self-healing:

PlatformModelManaged cloud offering
KubernetesDeclarative cluster managementEKS (AWS), GKE (GCP), AKS (Azure)
Docker SwarmSimpler, built-in Docker orchestrationSelf-managed
NomadLightweight multi-workload schedulerSelf-managed

Security implication: Containers on the same host share the host OS kernel — a compromised host impacts all containers running on it. Mitigation: deploy containers inside virtual servers (VMs) to contain blast radius to a single VM. See Cloud Threat Taxonomy — Containerization Attack.

Real-world platform equivalents:

ConceptAWSGCPAzure
Container runtime serviceECS / EKS / FargateGKE / Cloud RunAKS / Container Apps
Container image registryECRArtifact RegistryAzure Container Registry
Serverless containersFargateCloud RunAzure Container Apps

See also: Cloud Data Security — Containerization Attack, Cloud Architecture Patterns.