ProxmoxAAS-Dashboard/README.md

42 lines
2.3 KiB
Markdown
Raw Normal View History

2023-01-10 01:50:05 +00:00
# ProxmoxAAS Client - Proxmox As A Service User Interface
ProxmoxAAS Client provides users of a proxmox based compute on demand service a simplified UI which gives users power management, console access, and instance configuration utility. It also allows administrators to set resource quotas for users and allows users to configure instances without administrator priviledges.
## Features
- Simplified interface for clients
- Instance power management
- Instance resource configuration
- Instance creation and destruction
2023-03-01 05:03:52 +00:00
- Remote console
2023-04-11 22:34:32 +00:00
- Extended account management
2023-01-10 01:50:05 +00:00
## Prerequisites
- Proxmox VE Cluster (v7.0+)
2023-04-19 05:54:20 +00:00
- Reverse proxy server which can proxy the client and API
2023-04-11 22:34:32 +00:00
- FQDN
2023-01-10 01:50:05 +00:00
- Web server to host the ProxmoxAAS Client (ie Apache2)
## Notes
2023-03-01 05:03:52 +00:00
The supported setup is to use a reverse proxy to serve both the original Proxmox web interface and ProxmoxAAS Client. It is possible other setups can work. Rather than provide specific steps to duplicate a certain setup, the steps included are intended as a guideline of steps required for proper function in most setups. Consequently, the examples provided are only to highlight key settings and do not represent complete working configurations. The instructions also assume you have your own domain name which will substitute `<FQDN>` in some of the configs.
2023-01-10 01:50:05 +00:00
## Installation - Client
1. Install Apache2 or another HTTP server onto a container or vm, which will be `Client Host`
2. Clone this repo onto `Client Host`, the default location for web root is `/var/www/html/`
2023-03-01 05:03:52 +00:00
4. Configure Apache2 to serve the Client at port 80 by adding the file `client.conf` to `/etc/apache2/sites-avaliable/` with at least the following:
2023-01-10 01:50:05 +00:00
```
<VirtualHost *:80>
2023-03-01 05:03:52 +00:00
DocumentRoot /var/www/html/ProxmoxAAS-Client/
2023-01-10 01:50:05 +00:00
</VirtualHost>
```
4. Enable the Client site by running `a2ensite client`
2023-03-01 05:03:52 +00:00
After this step, the Client should be available on the `Client Host` at port `80`
2023-01-10 01:50:05 +00:00
2023-04-20 21:26:51 +00:00
## Configuration - Client
1. In `Client Host`, navigate to this repo's root folder
2. Rename `tempalte.vars.js` to `vars.js` and assign the `API` variable with the value of the API's URL. This will likely be `client.<FQDN>/api`
2023-03-01 05:03:52 +00:00
2023-04-20 21:26:51 +00:00
## Installation - API
2023-01-24 01:45:03 +00:00
2023-04-19 05:54:20 +00:00
To install the API, go to [ProxmoxAAS API](https://github.com/tronnet-gh/ProxmoxAAS-API). This is required for the client to function. The API installation will also have steps for setting up the reverse proxy server.