> Source: https://docs.cyberelements.io/bastion/4.6/Installation/Cluster/Introduction/

# Introduction to the installation of a Cluster platform

The Cluster architecture of CyberElements Bastion consists of three roles:

- The `Mediation Controller` server that assigns and controls access permissions to managed resources.
- The `Edge Gateway` server that acts as a “passive” network gateway to managed resources. This server generates session recordings before storage.
- The `HTML5 Gateway` server that is a gateway used for an access without agent on the user side by converting RDP, SSH, and VNC protocols to web flows.

> **Note**

This last server can be deployed on the same machine as the Edge Gateway server.

Cluster architecture typically consists of:

- Two `Mediation Controller` servers (mandatory)
- Two `Edge Gateway` servers combining the `HTML5 Gateway` role

Below is the architecture diagram for CyberElements Bastion with external access (WAN mode):

- Prerequisites

  ---

  Definition of prerequisites for the CyberElements Bastion cluster architecture.

  [→ See more](https://docs.cyberelements.io/bastion/4.6/Installation/Cluster/Prerequisites/)
- Installation from virtual appliances

  ---

  Installation of a CyberElements Bastion Cluster platform using virtual appliances provided by CyberElements.

  [→ Using virtual appliances](https://docs.cyberelements.io/bastion/4.6/Installation/Cluster/FromAppliances/Introduction/)
- Installation from scratch

  ---

  Installation of a CyberElements Bastion Cluster platform using blank Debian servers.

  [→ Installing on blank servers](https://docs.cyberelements.io/bastion/4.6/Installation/Cluster/FromScratch/Introduction/)
