> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/cortex-xdr-3.x/cortex-xdr-3.x-documentation/data-management/broker-vm/set-up-and-configure-broker-vm/broker-vm-image-installations/set-up-broker-vm-on-kvm-using-ubuntu.md).

# Set up Broker VM on KVM using Ubuntu

After you download your Cortex XDR Broker virtual machine (VM) **QCOW2** image, you need to upload it to a kernel-based Virtual Machine (KVM). The instructions below provide an example of doing this using Ubuntu 18.04 LTS.

{% hint style="warning" %}

### Prerequisite

Download a Cortex XDR Broker VM **QCOW2** image. For more information, see the virtual machine compatibility requirements in [Set up and configure Broker VM](/cortex-xdr-3.x/cortex-xdr-3.x-documentation/data-management/broker-vm/set-up-and-configure-broker-vm.md).
{% endhint %}

1. Open your kernel-based Virtual Machine (KVM) on Ubuntu.
2. Click the New VM icon (![ubuntu-kvm-new-vm-icon.png](/files/OFZfziJvzIbPlC9909yc)) to open the **Create a new virtual machine wizard**.
3. In the **Step 1** screen of the wizard, select **Import existing disk image**, and click **Forward**.
4. Define the **Step 2** screen of the wizard:

<details>

<summary>Provide the existing storage path</summary>

1. **Browse** to the downloaded QCOW2 image file.
   2\. Click **Browse Local**, select the QCOW2 image file that you downloaded, and click **Open**.

</details>

<details>

<summary>OS type</summary>

Leave the **Generic** option selected.

</details>

<details>

<summary>Version</summary>

Leave the **Generic** option selected.

</details>

5. Click **Forward**.
6. Define the **Step 3** screen of the wizard:

<details>

<summary>Memory (RAM)</summary>

Specify **8192** (8 GB) of memory

</details>

<details>

<summary>CPUs</summary>

Specify **4** CPUs.

</details>

7. Click **Forward**.
8. In the **Step 4** screen of the wizard, set a **Name** for your new VM.
9. Click **Finish**.

   You new VM is now listed and available to use.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://cortex-docs.paloaltonetworks.com/cortex-xdr-3.x/cortex-xdr-3.x-documentation/data-management/broker-vm/set-up-and-configure-broker-vm/broker-vm-image-installations/set-up-broker-vm-on-kvm-using-ubuntu.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
