# One microVM per service

Source : https://webgune.cloud/en-us/docs/isolation-microvm · Mis à jour le 2026-11-20

# One microVM per service

Since November 2026, each application service runs in its own lightweight virtual machine, a microVM, with its own Linux kernel. Previously, the services on a given server were containers that shared that server's kernel.

You have nothing to enable and nothing to change in your code: this is the default for every service in a customer project.

## What changed

| | Before | Now |
|---|--------|-----|
| Execution | container on a shared server | microVM dedicated to each instance of the service |
| Linux kernel | shared by all services on the server | specific to each microVM |
| If a service is compromised | the server and its neighbors are theoretically exposed | the attacker stays confined to the service's machine |
| Privileges | set container by container | no privileged mode, no privilege escalation possible inside the service |

```archi
title: What a service sees from its micro-VM
[Your micro-VM]
*Your service | its own Linux kernel, no privileges
-x no access
[Outside the micro-VM]
Host server | its system and disks
Other customers | their own micro-VMs
```

## What this changes for you

- A service sees neither the server that hosts it nor other customers' services.
- An application that ran in a container runs identically in a microVM, with the same image.
- Startup takes a few seconds, as before. Once started, the service responds at the same speed.
- Each instance of a service in [ultra high availability](/docs/autoscaling) has its own microVM.

## Checking a service's isolation

On the **General** tab of the service, the **Isolation: microVM** label appears when it runs in a microVM. Without this label, it runs in a standard container, for one of the reasons listed below.

## Machine size

The microVM is sized by the service's maximum resources.

| | Value | Role |
|---|-------|------|
| Maximum | the instance size, at most 2 CPU and 4 GB of memory | what the service can use when it needs it |
| Reserved | a quarter of the maximum CPU and half of the maximum memory | guaranteed to the service, even when the server is busy |

A service with 2 CPU and 4 GB therefore has 0.5 CPU and 2 GB reserved, and can grow up to 2 CPU and 4 GB. The cap of 2 CPU and 4 GB applies whatever the plan: a larger plan gives more instances, not a bigger machine ([Limits and resources](/docs/limites-ressources)).

A service that reaches its memory maximum is stopped (code 137), then restarted. A service that reaches its CPU maximum slows down without being stopped.

## A microVM's disk

Each instance writes to a real disk: `/tmp`, caches, temporary files. What the application writes there does not use its memory.

This disk is wiped on every restart, every update and every wake-up after [sleep mode](/docs/mise-en-veille). Anything that must last goes in a [persistent volume](/docs/volumes-persistants) or a [database](/docs/bases-de-donnees).

## Services that stay in a container

| Case | Reason | Return to microVM |
|------|--------|-------------------|
| Service with a [persistent volume](/docs/volumes-persistants) | the microVM shares no folder with the server, so the volume would arrive empty | by deleting the volume |
| [Database](/docs/bases-de-donnees) launched as a project service | it relies on a persistent volume | none |
| Service that mounts a shared temporary folder (some imported services) | in a microVM, this folder would be limited to 300 MB taken from the application's memory | by removing this folder from the configuration |
| Service excluded on request | the application does not work in a microVM | through support |
| Single-instance service with no microVM capacity available at deployment time (a bot, for example) | it restarts in a container rather than stay stopped | automatically, at the next deployment |

If your application does not work in a microVM, open a [ticket](/docs/tickets-support) with the service name and the error you see. A service can be excluded from the microVM: it is then recreated immediately in a container.

A service that stays in a container keeps its project's [network isolation](/docs/reseau-cloisonnement) and does not run in privileged mode.

## Builds too

A build runs code that Webgune does not know: install scripts, plugins, `postinstall` hooks. It therefore also runs in a microVM, under an unprivileged user. It has Internet access over HTTP and HTTPS to download dependencies, and no access to any internal service ([How builds work](/docs/builds-railpack)).

## Recent processors

Services are placed preferably on servers with recent processors. Some programs stop dead on an older processor: Bun requires AVX2 instructions, and MongoDB 5.0 and later require AVX. If your service stops at startup with the message `Illegal instruction`, report it with a [ticket](/docs/tickets-support).

## Limits

- The cap per instance is 2 CPU and 4 GB of memory.
- A service with a volume does not get the microVM.
- A service cannot load a kernel module or switch to privileged mode.
