Overview
Xloud enforces virtual machine security at the hypervisor layer — below the guest OS — through a combination of isolation controls, hardware security features, and network policy enforcement. This agentless model means security policies apply regardless of what runs inside the VM, making it suitable for your regulated environments, multi-tenant deployments, and zero-trust architectures.Prerequisites
- Xloud Platform with XAVS or XPCI
- Administrator or project-member role in Xloud Identity
- For vTPM: XPCI license with Barbican key management enabled
- For Secure Boot: UEFI-compatible image with the appropriate properties set
Hypervisor Isolation
Each virtual machine runs in a fully isolated compute process. The hypervisor enforces the following isolation primitives:Xloud uses dedicated service users for the compute hypervisor process. These accounts have no login shell and no home directory. The AppArmor profile runs in complain mode by default. You can switch it to enforce mode using the hardening guide.
Security Groups
Security groups provide stateful L3/L4 firewalling for virtual machine network interfaces. The hypervisor enforces rules at the virtual switch layer — traffic that does not match an allow rule is silently dropped before reaching the VM.- Dashboard
- CLI
Open Security Groups
Navigate to Project → Network → Security Groups in the Xloud Dashboard.
Create a new security group
Click Create Security Group. Provide a name (e.g.,
web-servers) and an optional description.Add inbound rules
Click Manage Rules on the new group, then Add Rule:
Attach to an instance
Navigate to Project → Compute → Instances, open the instance, and select Edit Security Groups from the Actions menu. Add the new group and remove the
default group if not needed.The security group is listed in the instance details. Test connectivity using
nc or curl from an allowed source.vTPM (Virtual Trusted Platform Module)
Enterprise Virtual TPM provides a hardware-backed cryptographic identity to virtual machines. Xloud Key Management (Barbican) encrypts vTPM state using a stored key, and the state is portable across live migrations.Use Cases
- Full-disk encryption (BitLocker, LUKS with TPM unsealing)
- Measured boot and attestation
- Certificate and secret sealing to the platform
Enable vTPM on an Instance
- Dashboard
- CLI
Create a vTPM-enabled flavor
Navigate to Admin → Compute → Flavors. Create or edit a flavor and set the extra specification:
Launch instance with vTPM flavor
Launch the instance using the vTPM-enabled flavor. The hypervisor provisions a software TPM process backed by the platform key management service.
Inside the VM, verify TPM presence:
ls /dev/tpm0 or tpm2_getcap properties-fixed.Encrypted Volumes
You can encrypt block storage volumes using LUKS (Linux Unified Key Setup). Xloud Key Management manages the encryption keys and never stores them on the compute node.- Dashboard
- CLI
Create an encrypted volume type
Navigate to Admin → Volume → Volume Types. Create a new type (e.g.,
encrypted-ssd) and configure the encryption provider:Create an encrypted volume
Navigate to Project → Volumes → Create Volume. Select the encrypted volume type. The system generates and stores the encryption key in Xloud Key Management automatically.
The volume details page shows Encryption as Yes.
Secure Boot (UEFI)
Secure Boot prevents unsigned bootloaders and kernels from loading on virtual machines. It is supported for images that include UEFI firmware.Enable Secure Boot on an image
Verify Secure Boot properties
Anti-Affinity for Workload Isolation
Server groups with anti-affinity rules distribute your critical workloads across separate physical hosts, preventing a single hypervisor failure from taking down multiple replicas simultaneously.Create anti-affinity server group
Launch instances in the group
Live Migration Security
Live migrations transmit VM memory state across the network. Xloud encrypts migration streams using TLS to prevent eavesdropping on in-transit memory contents./etc/xavs/globals.d/_60_migration_security.yml
When
nova_live_migration_tunnelled is enabled, migration traffic is routed through the compute service’s encrypted channel rather than directly between hypervisors. This adds a small latency overhead but ensures the migration stream is protected end-to-end.Next Steps
Network Security
Security groups, FWaaS micro-segmentation, and VLAN/VXLAN isolation
Data Security
Volume encryption, key management, and encrypted backups
Hardening Guide
AppArmor enforcement, SSH hardening, and hypervisor node hardening
Security Groups (Compute)
Detailed security group management for compute instances