# Virtual Machine (VM) Deployment

In most cases, OvalEdge is installed on a virtual machine (VM). The operating system can be selected based on organizational preference.

Before installing the OvalEdge application on a VM, the following steps must be completed:

1. Verify that the hardware meets the specifications listed in the **Hardware Requirements** section.
2. Install the software specified in the **Software Requirements** section.
3. Complete the mandatory pre-installation steps outlined in the **Installation Activities** section.

## Prerequisites

### Hardware Requirements

### **Single Virtual Machine (All-in-One VM)**

Installing all components—including the database, Elasticsearch, and application server—on a single VM is recommended only for the Essential edition or for proof-of-concept (POC) environments. This configuration is not suitable for multi-user deployments.

**Supported Operating Systems**:

* Windows
* Linux: Ubuntu and RHEL

**Recommended Hardware:**

| HARDWARE                                      | ESSENTIAL                               | PROFESSIONAL                        | ENTERPRISE                            |
| --------------------------------------------- | --------------------------------------- | ----------------------------------- | ------------------------------------- |
| <mark style="color:$primary;">**RAM**</mark>  | <mark style="color:green;">32GB</mark>  | <mark style="color:blue;">NR</mark> | <mark style="color:orange;">NR</mark> |
| <mark style="color:$primary;">**SSD**</mark>  | <mark style="color:green;">200GB</mark> | <mark style="color:blue;">NR</mark> | <mark style="color:orange;">NR</mark> |
| <mark style="color:$primary;">**vCPU**</mark> | <mark style="color:green;">8</mark>     | <mark style="color:blue;">NR</mark> | <mark style="color:orange;">NR</mark> |

{% hint style="warning" %}
\*A single VM is not recommended for Professional and Enterprise packages since it will result in performance issues.
{% endhint %}

### **Multiple VMs (Separate VMs for different components)**&#x20;

It is recommended to use:

* One VM for the Application Server (AS)
* A separate VM for Elasticsearch (ES)
* A separate VM or cloud-hosted database service

As Amazon RDS manages backups and recovery tasks, using RDS or an equivalent cloud database service is recommended for the database.

For non-production or proof-of-concept (POC) workloads, a separate database environment is advised. In such cases, the AS and ES components can be hosted on a single VM.

**Recommended Hardware for the Application Server(AS) VM**

| HARDWARE                                      | ESSENTIAL                               | PROFESSIONAL                           | ENTERPRISE                               |
| --------------------------------------------- | --------------------------------------- | -------------------------------------- | ---------------------------------------- |
| <mark style="color:$primary;">**RAM**</mark>  | <mark style="color:green;">32GB</mark>  | <mark style="color:blue;">64GB</mark>  | <mark style="color:orange;">64GB</mark>  |
| <mark style="color:$primary;">**SSD**</mark>  | <mark style="color:green;">100GB</mark> | <mark style="color:blue;">200GB</mark> | <mark style="color:orange;">200GB</mark> |
| <mark style="color:$primary;">**vCPU**</mark> | <mark style="color:green;">8</mark>     | <mark style="color:blue;">16</mark>    | <mark style="color:orange;">16</mark>    |

**Recommended Hardware for the Elasticsearch** **VM**

| HARDWARE                                      | ESSENTIAL                               | PROFESSIONAL                           | ENTERPRISE                               |
| --------------------------------------------- | --------------------------------------- | -------------------------------------- | ---------------------------------------- |
| <mark style="color:$primary;">**RAM**</mark>  | <mark style="color:green;">32GB</mark>  | <mark style="color:blue;">64GB</mark>  | <mark style="color:orange;">64GB</mark>  |
| <mark style="color:$primary;">**SSD**</mark>  | <mark style="color:green;">100GB</mark> | <mark style="color:blue;">200GB</mark> | <mark style="color:orange;">200GB</mark> |
| <mark style="color:$primary;">**vCPU**</mark> | <mark style="color:green;">8</mark>     | <mark style="color:blue;">16</mark>    | <mark style="color:orange;">16</mark>    |

**Recommended Hardware for the Database RDS or VM**

| HARDWARE                                      | ESSENTIAL                               | PROFESSIONAL                           | ENTERPRISE                               |
| --------------------------------------------- | --------------------------------------- | -------------------------------------- | ---------------------------------------- |
| <mark style="color:$primary;">**RAM**</mark>  | <mark style="color:green;">16GB</mark>  | <mark style="color:blue;">32GB</mark>  | <mark style="color:orange;">64GB</mark>  |
| <mark style="color:$primary;">**SSD**</mark>  | <mark style="color:green;">100GB</mark> | <mark style="color:blue;">100GB</mark> | <mark style="color:orange;">200GB</mark> |
| <mark style="color:$primary;">**vCPU**</mark> | <mark style="color:green;">4</mark>     | <mark style="color:blue;">8</mark>     | <mark style="color:orange;">16</mark>    |

## Software Requirements

To run the OvalEdge application on a system, the following software must be installed:

* **Application Server**
  * Java
  * Apache Tomcat
* **Database Server**
  * MySQL  (Standalone)
  * MySQL  (AWS)
  * MySQL (Azure)
* **Elasticsearch Server**
  * Elasticsearch
