Tenants

Sell slices of a server

Give each tenant an enclave of their own on one bare-metal machine.

What it is

One physical machine, many tenants, each in a sealed enclave.

FlashEnclave splits a bare-metal server into enclaves. Each customer, the tenant, gets one: its own CPU cores, its own memory, its own operating system and an encrypted disk only they hold the key to. They log in over SSH like any server.

Why it matters

On an ordinary shared server, the host and whoever runs it can read every tenant's memory, and tenants compete for the same cores. A break-in on the host exposes everyone.

  • Tenants can't see each other. Memory, cores and network are separated by the hypervisor underneath the host.
  • The operator can't see in either. The host OS has no access to an enclave's memory.
  • Any bare-metal machine. No special cloud hardware: a server in your rack, or a rented bare-metal machine.

How it works

Install FlashEnclave on the machine once, then create an enclave per tenant.

sudo fe enclave create tenant-a --image ubuntu --cores 4 --memory 4096 --disk-gib 8 --ssh-key tenant-a.pub --port 8080:80

The command prints the SSH login for that tenant. They format and unlock the encrypted disk with their own key, and boot Ubuntu.

The result

Several tenants on one machine, none of whom can read the others or be read by you.