> Source: https://docs.cyberelements.io/bastion/4.7/ga/Installation/Dependencies/PostgreSQLCluster/Installation/Importation/

# Importing the virtual appliance

Importing virtual appliances depends on the virtualisation environment used. This documentation describes importing for VMware, which uses virtual appliances in OVA format, and Hyper-V, which uses complete virtual appliances (labelled VHDX on the Marketplace).

**VMware**

> 1. Log in to the VMware console with an account that has the right to deploy a new OVF.
> 2. Start importing the OVF: ![](https://docs.cyberelements.io/bastion/4.7/img/cyberelements/CYE_ImportVMwareAppliance_DeployOVF.png)
> 3. Select the virtual appliance to import: ![](https://docs.cyberelements.io/bastion/4.7/img/cyberelements/CYE_ImportVMwareAppliance_SelectOVA.png)
> 4. Name and place the new virtual machine: ![](https://docs.cyberelements.io/bastion/4.7/img/cyberelements/CYE_ImportVMwareAppliance_Name%26Folder.png)
> 5. Assign the VM to a hypervisor or cluster: ![](https://docs.cyberelements.io/bastion/4.7/img/cyberelements/CYE_ImportVMwareAppliance_ComputeResource.png)
> 6. Validate the template details: ![](https://docs.cyberelements.io/bastion/4.7/img/cyberelements/CYE_ImportVMwareAppliance_ReviewDetails.png)
> 7. Select storage: ![](https://docs.cyberelements.io/bastion/4.7/img/cyberelements/CYE_ImportVMwareAppliance_SelectStorage.png)
> 8. Link the machine's network to one of the available networks: ![](https://docs.cyberelements.io/bastion/4.7/img/cyberelements/CYE_ImportVMwareAppliance_SelectNetworks.png)
> 9. Check and then validate all settings to launch the import process: ![](https://docs.cyberelements.io/bastion/4.7/img/cyberelements/CYE_ImportVMwareAppliance_ReviewInfos.png)

**Hyper-V**

> 1. Unzip the virtual appliance and place the unzipped files in a folder or file share accessible from the Hyper-V host or cluster.
> 2. From a Hyper-V management console, start by importing a new machine: ![](https://docs.cyberelements.io/bastion/4.7/img/cyberelements/CYE_ImportHyper-VAppliance_ImportVirtualMachine.png)
> 3. Then select the folder where the virtual appliance was unzipped: ![](https://docs.cyberelements.io/bastion/4.7/img/cyberelements/CYE_ImportHyper-VAppliance_FolderSelection.png)
> 4. Finally, select the third option to import the machine by copying it: ![](https://docs.cyberelements.io/bastion/4.7/img/cyberelements/CYE_ImportHyper-VAppliance_ImportType.png)

After importing the first PostgreSQL virtual cluster appliance, repeat the operation twice more to have a total of three PostgreSQL nodes.

Then continue with the cluster installation: [Installing the PostgreSQL cluster](https://docs.cyberelements.io/bastion/4.7/ga/Installation/Dependencies/PostgreSQLCluster/Installation/Install/)
