> Source: https://docs.cyberelements.io/bastion/4.7/hr/Installation/MediationController/Introduction/

# Installation of the Mediation Controller

The Mediation Controller assigns and controls access permissions to managed resources. It is installed first: the Edge Gateways and the HTML5 Gateways are then attached to it.

## Choosing the procedure

The procedure depends on the architecture of the platform and on the installation mode:

| Architecture | From scratch (Debian 13) | Virtual appliance |
|---|---|---|
| **Standalone** | [Standalone Mediation Controller](https://docs.cyberelements.io/bastion/4.7/hr/Installation/Standalone/FromScratch/InstallMediationController/) | [Importation](https://docs.cyberelements.io/bastion/4.7/hr/Installation/Standalone/FromAppliances/Importation/), then [Standalone Mediation Controller](https://docs.cyberelements.io/bastion/4.7/hr/Installation/Standalone/FromAppliances/InstallMediationController/) |
| **Cluster** | [Cluster Mediation Controllers](https://docs.cyberelements.io/bastion/4.7/hr/Installation/Cluster/FromScratch/InstallMediationController/) | [Importation](https://docs.cyberelements.io/bastion/4.7/hr/Installation/Standalone/FromAppliances/Importation/), then [Cluster Mediation Controllers](https://docs.cyberelements.io/bastion/4.7/hr/Installation/Cluster/FromAppliances/InstallMediationController/) |
| **Multi-node** | [Multi-node Mediation Controllers](https://docs.cyberelements.io/bastion/4.7/hr/Installation/MultiNode/InstallMediationController/) | — |

The virtual appliances can be downloaded from the Systancia Marketplace (requires the creation of a customer account): [Systancia Marketplace](https://www.systancia.com/en/my-systancia/marketplace/systancia-cleanroom/downloads-cleanroom/)

> **Note**
>
> Please note that the operation and updating of virtual appliances provided by Systancia are the responsibility of the Customer as defined in [the product lifecycle](https://docs.cyberelements.io/ProductLifeCycle/OSAndThirdPartySoftwareSupport/#virtual-appliances).

The prerequisites of each architecture (machine, network, database, licence and certificates) are described in [Prerequisites of the Mediation Controller](https://docs.cyberelements.io/bastion/4.7/hr/Installation/MediationController/Prerequisites/).

## CyberElements Gate console

The Standalone and Cluster Mediation Controllers are installed with the CyberElements Gate console (`ipdiva-safe-server` package, or virtual appliance): installation identical to that of version 4.6, in which the CyberElements Gate administration interfaces, including the `/mediation/system` system console, are installed alongside those of CyberElements Bastion.

The multi-node Mediation Controllers are installed without the CyberElements Gate console (`cleanroom-only-server` package): only the CyberElements Bastion components are installed. The platform is set up from the system console (`/system`) and administered from the administration console (`/console`).

> **Cold upgrade**
>
> A platform installed to take over the configuration of an existing platform through the export and import of a backup (cold upgrade) is installed with the CyberElements Gate console.

> **Recommendation**
>
> The security hardening guide details the installation of the system and its security maintenance: see [Installation and security maintenance](https://docs.cyberelements.io/bastion/4.7/hr/Security/SystemHardening/SystemInstallation/).
