Skip to main content

Compute Instance Ontology

Cloud Computing Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 11 November 2026
Audio Overview
KIRETH RESEARCH — SEMANTIC LIBRARY
COMPUTE INSTANCE ONTOLOGY — FLOW ALGEBRA v1.0
Category: Computational Entities > Cloud Computing Entities
Authors: Mark Anthony Higgins — Sky Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/computational-entities/cloud-computing-entities/compute-instance-ontology.html
Prepared: 11 November 2026
Status: Constructed topic-level Flow Algebra mapping; not a verified transcription of the webpage.

1. PURPOSE
Represent a compute instance as a provisioned execution environment with identifiable capacity, placement, configuration, identity, lifecycle and dependencies. A compute instance may be a virtual machine or other provider-defined compute unit; it is not synonymous with a physical server or container.

2. HST STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t: instance identifier, image, requested resources, network, storage, desired state, observed state and telemetry.
R_t: relations between instance, tenant, host, region, image, volume, interface, workload, policy and scheduler.
B_t: capacity, quota, placement, security, compatibility, availability and lifecycle constraints.
K_t: validated configuration, provider capabilities, observations, operational history and provenance.
E_t = expand(I_t, R_t)
V_t = {x in E_t | satisfies(x, B_t)}
x*_t = argmax_(x in V_t) P(x | I_t, R_t, B_t, K_t)
I_(t+1) = update(I_t, x*_t, observation_(t+1))
The argmax ranks eligible actions only; it is not a guarantee of optimal scheduling or successful execution.

3. ENTITY MODEL
ComputeInstance(id, tenant_id, provider, region, zone, instance_type, image_id, vcpu, memory_bytes, storage_refs, network_refs, lifecycle_state, desired_state, created_at, version).
Related entities: ComputeHost, Cluster, Hypervisor, MachineImage, VirtualNetwork, NetworkInterface, SecurityGroup, StorageVolume, Identity, Workload, Scheduler, MonitoringSignal, Quota, Policy, PlacementDecision.
Lifecycle states (illustrative, provider-dependent): requested, provisioning, running, stopping, stopped, terminating, terminated, failed.
Separate control-plane desired state from data-plane observed state.

4. RELATIONSHIP GRAPH
Tenant --owns--> ComputeInstance
ComputeInstance --runs_on--> ComputeHost (where placement is disclosed)
ComputeInstance --instantiated_from--> MachineImage
ComputeInstance --attached_to--> NetworkInterface / StorageVolume
ComputeInstance --subject_to--> Quota / SecurityPolicy
Scheduler --places--> ComputeInstance
ComputeInstance --executes--> Workload
MonitoringSignal --observes--> ComputeInstance
ComputeInstance --transitions_via--> LifecycleEvent

5. CORE FLOWS
FLOW A: INSTANCE REQUEST
Input: tenant, image, instance type, region, network, security policy.
Validate schema -> authenticate caller -> authorise action -> check quota and image compatibility -> create idempotent request -> return operation reference.

FLOW B: PLACEMENT AND PROVISIONING
Candidate hosts = discover hosts meeting zone, CPU, memory, architecture and storage/network constraints.
Filter unavailable or policy-incompatible hosts -> select eligible placement -> reserve capacity atomically -> instantiate image -> attach authorised resources -> configure boot -> verify readiness.
If provisioning fails, reconcile reservations and partial attachments; never assume rollback is complete without evidence.

FLOW C: RUNTIME MONITORING
Collect health, CPU, memory, I/O, network and lifecycle signals -> normalise units/timestamps -> compare with thresholds -> emit evidence-backed event -> reconcile observed with desired state.

FLOW D: SCALING OR RECONFIGURATION
Check resize support, capacity, disruption policy and quotas -> select target configuration -> apply provider-supported transition -> validate observed configuration -> update versioned record.

FLOW E: TERMINATION
Authorise termination -> check retention and protection rules -> stop workloads where required -> detach or retain volumes per policy -> release reservations -> mark terminal state only after confirmed provider outcome.

6. INFERENCE RULES
R1: IF requested_vcpu > remaining_quota THEN reject admission or request quota change.
R2: IF image_architecture != instance_architecture THEN candidate is invalid.
R3: IF observed_state != desired_state THEN trigger bounded reconciliation; do not infer immediate failure.
R4: IF instance is running AND health probe fails repeatedly THEN classify degraded, not necessarily terminated.
R5: IF a persistent volume has retain-on-delete policy THEN terminating the instance must not imply deletion of that volume.
R6: IF two provisioning requests share an idempotency key and matching parameters THEN return the same logical operation where supported.
R7: IF placement has insufficient available capacity THEN try a permitted alternative or report unschedulable.

7. MINI RECURSION ENGINE
function reconcile(instance, budget, visited):
    if budget <= 0: return DEFERRED
    state = observe(instance)
    signature = (instance.id, instance.version, state)
    if signature in visited: return STABLE_OR_ESCALATE
    visited.add(signature)
    if state satisfies desired_state and health_policy: return STABLE
    actions = expand(state, dependencies(instance))
    eligible = filter(actions, quotas, permissions, capacity, safety)
    if eligible is empty: return BLOCKED_WITH_REASON
    action = rank(eligible, reliability, disruption, cost)
    outcome = execute_with_idempotency(action)
    if outcome is uncertain: return VERIFY_BEFORE_RETRY
    return reconcile(instance, budget - 1, visited)
Termination follows from a finite budget; correctness depends on sound observations, guards and action semantics.

8. BOUNDARIES AND GUARANTEES
- Instance type capacities may be virtualised or shared; advertised vCPU is not a physical-core guarantee.
- Provisioning and termination are often asynchronous and eventually observable.
- Health checks are imperfect; distinguish service readiness from host reachability.
- Tenant isolation, secret handling and network exposure require independent enforcement.
- No availability, consistency, fault tolerance or cost guarantee follows from this ontology alone.
- Operations must be audited with timestamps, actor, request ID, policy version and outcome.

9. SEMANTIC EQUIVALENCE
'VM instance' MAY map to ComputeInstance when the execution unit is a VM.
'Cloud server' is colloquial and requires provider-specific disambiguation.
'Container' is not equivalent to ComputeInstance unless the provider explicitly models it as an instance type.
'Running' (control plane) does not imply 'healthy' (workload plane).
'Allocated capacity' is not identical to 'measured utilisation'.

10. WORKED EXECUTION TRACE
Request: instance type with 2 vCPU and 4 GiB RAM; tenant quota has 4 vCPU and 8 GiB free.
Admission: resource request fits quota; image, zone, policy and host capacity still require validation.
Placement: one candidate passes all checks; reserve 2 vCPU and 4 GiB.
Provision: attach authorised interface and volume; start instance.
Observe: provider reports running, application probe reports not ready.
Inference: instance is running but workload readiness remains false.
Action: collect diagnostic evidence and retry bounded readiness checks; do not report application success prematurely.

11. PROVENANCE AND CITATION
Citation: Mark Anthony Higgins and Sky Recursive AI, 'Compute Instance Ontology — Flow Algebra v1.0', Kireth Research Semantic Library, 11 November 2026.
Source URL: https://kirethresearch.org/booksai-core/entity-graph/computational-entities/cloud-computing-entities/compute-instance-ontology.html
This document is an original, topic-level semantic mapping informed by general cloud computing concepts. Verify it against the source ontology and specific provider specifications before treating its fields as authoritative.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ