Skip to content

Control panel for the server via the API key

In this article

The Server Control Panel can be used as a separate module to be integrated into your billing system to manage HOSTKEY servers.

Key benefits:

  • Security. ACL - access restriction by IP; access type - protection against destructive actions (TBA);
  • Automation. Enables users to perform basic server operations, reducing the burden of user support;
  • Simplicity. To manage the server, select it and create an API token. Use the token to perform the necessary actions with confidence.

Panel usage

  1. Login to Invapi;

  2. To access the external server control panel, please select the server by clicking on My Servers >> Any of your Server from the list;

  3. Create an API key:

    • Go to the Info tab >> click API keys tab;
    • Press Add new API key button;

    • Provide the name of the key for identification in Name field;
    • Allow access (white list) to this key by entering IP addresses in the IP ACL field. The field can be left blank for unrestricted access;
    • Select the Active checkbox to enable the key;
    • Click the Add new API key button.

    The API-key will be shown after that.

    Attention

    Copy the API key and save it. It is shown once!

    Information

    For more information on working with API keys in Invapi, please refer to the provided documentation.

  4. To manage the server associated with your API key, use this link https://panel.hostkey.com/controlpanel.html?key=api-key. Replace api-key with the key you generated earlier.

    Note

    To host the dashboard on your domain, follow these instructions.

Description of Server Control Panel

Upon accessing the control panel through the API key link, the user will have access to the following units and features:

Information and Power Supply Unit

This unit presents an overview of the server, including its current status (either Running or Stopped), the server region, and the preset. Additionally, it provides information on the hardware configuration, such as the CPU, RAM, and server storage.

The server can be controlled using the 6 buttons on the unit:

  1. Power On — server power on button;
  2. Power off — server power off button;
  3. Reboot — button to restart the server;
  4. VNC console — downloads VNC console startup file for VNC Viewer;
  5. HTML5 console — launches the HTML5 browser console;
  6. Power status — returns the current power status of the server.

Attention

The server type determines the available features.

ISO Image unit

This unit's functions enable you to work with ISO images.

Note

Upon initial loading of the site, the ISO images available to this server will populate in the Select element.

The unit features three buttons for controlling ISO images:

  1. Mount ISO — the user can mount their selected image to this server, enabling access to the Boot from ISO and Unmount ISO functions;
  2. Boot from ISO — enables you to initiate a server reboot using a mounted ISO image;
  3. Unmount ISO — Unmount the ISO image that is currently mounted on the server.

Network unit

This unit contains all information and functions related to the server network. It displays:

  1. Interface — interfaces, also known as ports, will always display the primary interface first and mark it specially;
  2. The interface's connection status.
  3. Enable or disable the interface using buttons.
  4. Addresses — all IP addresses belonging to a particular interface. Their MAC addresses, buttons, and control menus are also displayed:

    • Block IP — enables you to prevent access from a specific IP address and displays the date and reason for the block in a red box below;
    • Unblock IP — enables you to unblock an IP address and make it available for use;
    • Traffic chart — displays a diagram of IP address traffic:

    • Scan IP (accessible by clicking on the icon) — to scan for IP addresses and view the results:

    • Settings (accessible by clicking on the icon) — displays detailed information about the IP address, allows you to configure a PTR record for it, set it as the main interface (Main Interface Address checkbox), and set its description:

      Attention

      To update the PTR record information, simply press the Update PTR button.

Traffic unit

This section presents statistical information on incoming and outgoing traffic of the server.

Clicking the View stats button will display detailed statistics for each IP address for the last 45 days: