# Creating a VM with a Control Panel for Nebula

> Create a VM in Yandex Cloud with the Nebula Admin panel - deploy from the marketplace, set up SSH access, and configure the web interface for mesh network management

Source: https://opennix.org/en/docs/yc/nebula/nebula-vm-setup/

## Creating a Virtual Machine

* [Obtain](https://cloud.yandex.ru/docs/compute/operations/images-with-pre-installed-software/operate#creating-ssh-keys) an SSH key pair to connect to the virtual machine (VM).

* [Create](https://cloud.yandex.ru/docs/compute/operations/images-with-pre-installed-software/create) a VM from a public image. In the **Image/boot disk selection** block, switch to the **Cloud Marketplace** tab and select **nebula**. In the **Access** block:
    * in the **Login** field, enter, for example, `ubuntu`;
  
    * in the **SSH key** field, paste the contents of your public SSH key file.
    Save the VM's public IP address.

* [Connect](https://cloud.yandex.ru/docs/compute/operations/vm-connect/ssh#vm-connect) to the VM over SSH. To do this, use the login `your-username` and the private SSH key you created earlier.

## Initial Setup of the Nebula Control Panel

After creating the virtual machine, open its public IP address in your browser.

You should see the configuration manager.

![Nebula configuration manager](/img/nebula-01.webp)

Click Get Started.

Next, you need to specify the subnets for the MESH network as well as the client subnet, then click Next.
![Configuring the Nebula MESH and client subnets](/img/nebula-02.webp)

On the next screen, you will be prompted to specify a name for the CA certificate and its validity period. You can leave everything as is.
![Configuring the Nebula CA certificate](/img/nebula-03.webp)

Click Next and create a user for logging in.
![Creating a login user for Nebula](/img/nebula-04.webp)
Click Next to complete the configuration.
![Completing the Nebula configuration](/img/nebula-05.webp)
After clicking the Go to Dashboard button, you should see the main management interface.

![Nebula main management interface](/img/nebula-06.webp)

