Web UI for ProxmoxAAS
Go to file
Arthur Lu 4ef1cd7480 fix input and select styling for new instance dialog
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-12 22:35:17 +00:00
css fix input and select styling for new instance dialog 2023-04-12 22:35:17 +00:00
images add icons to instance and node status 2023-04-06 21:21:11 +00:00
scripts fix input and select styling for new instance dialog 2023-04-12 22:35:17 +00:00
.gitignore add template file for vars.js 2023-01-20 04:58:33 +00:00
account.html fix some mobile responsiveness issues 2023-04-11 21:42:59 +00:00
config.html fix some mobile responsiveness issues 2023-04-11 21:42:59 +00:00
index.html fix some mobile responsiveness issues 2023-04-11 21:42:59 +00:00
login.html code cleanup 2023-04-11 21:46:18 +00:00
README.md Update README.md 2023-04-11 15:34:32 -07:00
vars.js.template use client api endpont for proxmox requests 2023-02-24 22:25:36 +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
  • Remote console
  • Extended account management

Prerequisites

  • Proxmox VE Cluster (v7.0+)
  • Reverse proxy server which can serve the client
    • FQDN
  • Web server to host the ProxmoxAAS Client (ie Apache2)

Notes

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.

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/
  3. 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:
<VirtualHost *:80>
	DocumentRoot /var/www/html/ProxmoxAAS-Client/
</VirtualHost>
  1. Enable the Client site by running a2ensite client

After this step, the Client should be available on the Client Host at port 80

Installation - Reverse Proxy

  1. Configure nginx or preferred reverse proxy to reverse proxy the client. This can be done in the same file previously or in a new configuration file:
server {
	listen 443 ssl;
	server_name client.<FQDN>;
	location / {
		proxy_pass http://<Client Host>:80;
	}
	location /api/ {
		proxy_pass http://<Client Host>:8080;
	}
}
  1. Restart nginx with the new configurations by running systemctl restart nginx

Installation - Client Configuration

  1. In the Client Host, navigate to the repo root folder, rename vars.js.template to vars.js and modify API withe the value client.<FQDN>/api

API Installation

To install the API, go to ProxmoxAAS API. This is required for the client to function.