Installing and Running Nginx on a VM with Pextra CloudEnvironment

Опубликовано: 05 Июнь 2026
на канале: Deploy Applications on Private Cloud
2
0

This video demonstrates how to deploy a *web server (Nginx)* on a virtual machine using **Pextra CloudEnvironment**.

Steps Covered in the Video

1. *Deploy a Linux distribution* (Debian in this demo) available on the node.
To add a Linux distribution to a node and make it available for VM deployment, see the administrative steps below.

2. *Mount a disk* to store the website and its corresponding data.
This ensures data persistence even if the VM is restarted or temporarily unavailable.

3. **Install and configure Nginx**, and modify the default **index page**.

4. **Accessing the website**:

If you are on the **private network**, you can access the web server using the **VM's IP address on port 8080**.
You can also configure a *reverse proxy with a public IP address* to make the site publicly accessible.
(Reverse proxy configuration is not demonstrated in this video.)

---

Administrative Tasks (Required to Make ISO Images Available)

To make any ISO image available in **Pextra CloudEnvironment**, first check the currently available ISO images:

Click on the *Node (Server)*
Open the *Images* tab on the left panel

If your desired ISO is not available, follow these steps:

1. *SSH into the node*
Refer to the documentation or contact support for the correct process.

2. Use a *curl command* to download your desired Linux distribution from its official website.

3. *Rename the ISO file* to match the required naming format.
The filename **must end with**:

```
.x-iso9660-image
```

Example:

```
ubuntu.x-iso9660-image
```

4. *Move the ISO file* to the following directory on the node:

```
/var/lib/pce/images/
```

5. The ISO will now be available for **VM deployment on that node**.

To make the ISO available across the **entire cluster**, repeat this process on each node.