Phase 6 — The customer panel#
7 lessons · Level: beginner
This phase is written for the person who buys the VPS. It is also useful to a support team, who answer questions about these screens.
What is in this phase#
| Lesson | What you learn |
|---|---|
| 1 — Login, security, and the dashboard | The two ways in, and 2FA |
| 2 — Server control | Which button to press, and when |
| 3 — The VNC console | The way in when the network is broken |
| 4 — SSH keys and passwords | Add a key, and change the root password |
| 5 — Backup and restore | Take your own backup, and bring it back |
| 6 — Traffic, rDNS, and the firewall | Monthly bandwidth, PTR records, and firewall rules |
| 7 — Self Service: make your own server | Build servers yourself, inside a limit |
Lesson 1 — Login, security, and the dashboard#
The two ways in#
You can enter the panel in two ways:
- Directly, with your email and password, at the panel address of the
provider.
- With SSO. Press "Manage" on the site of the provider, or in WHMCS, and
you go in without a password.
What to do on the first day#
| Task | Why |
|---|---|
| Turn 2FA on | It stops a stranger from deleting a server or taking data |
| Use a strong password | Access to the panel is access to the server |
| Add an SSH key | It is much safer than a password |
Version 7.x has Step Up Authentication. It asks for your identity again before a sensitive task.
What the dashboard shows#
- The list of your servers and their condition: running, stopped, or suspended
- The IP, the package, and the location of each one
- A short view of the resource and traffic use
Lesson 2 — Server control#
Power#
| Button | What it does | When |
|---|---|---|
| Boot | Starts a stopped server | Normal use |
| Shutdown | A clean stop, through ACPI | This is the usual choice |
| Restart | A clean reboot | After a kernel update |
| Power off | The same as pulling the plug | When the server does not answer |
CAUTION: Try Shutdown first. If there is no answer, look at the console. Use Power off last, because it can damage the file system.
For a clean shutdown, the QEMU guest agent must run inside the VM.
Rebuild (install the OS again)#
Choose the new OS, give the hostname and the password or SSH key, then press Build.
WARNING: Copy your data out, or take a backup, before you rebuild. A rebuild erases the whole disk, and there is no undo.
Lesson 3 — The VNC console#
In plain words#
The console is like a monitor and a keyboard attached straight to the server. It works even when the network or SSH is broken. If you lock yourself out with the firewall, this is the only way in.
The console was written again in version 7.x:
| Feature | What it means |
|---|---|
| Automatic connect and reconnect | If the line drops, it comes back by itself |
| Three quality presets | Fast, Balanced, and Best. You can change them while you work |
| Session recording | A WebM video, up to 30 minutes |
| Clipboard | Send and Type modes, with saved snippets |
| Picture-in-Picture | Keep it in a small window while you do other work |
| Mobile support | You can use it from a phone |
| An extra key panel | Ctrl+Alt+Del and other combinations |
Is the console black?#
- Make sure that the server is really running.
- Press Restart once, and try to see the boot messages.
- If it is still black, tell the provider. The VNC ports (5900+) can be
blocked.
Lesson 4 — SSH keys and passwords#
SSH keys#
Add your own public key in the panel. When you build a new server, the key goes in by itself.
# make a key on your own computer
ssh-keygen -t ed25519 -C "my-laptop"
cat ~/.ssh/id_ed25519.pub # paste this text into the panelReset the root password#
One click in the panel does this. The new password is shown once. Put it in a safe place at once.
Advice: When your work is finished, turn password login off inside the VM with
PasswordAuthentication no, and use the key only.
Lesson 5 — Backup and restore#
From the side of the customer#
If the provider gives a backup plan, you see it in the Backups tab of the server:
- Automatic backups at a set time
- A backup now, on demand
- A restore from an older backup
What a restore does#
- The server stops.
- The data of the chosen point comes back.
- The server does not start by itself. You start it.
Keep some downtime in hand for a restore.
Note: A backup is the last protection, not the first. Take an on-demand backup yourself before a large change. There can be a cooldown between manual backups, which the provider sets.
Lesson 6 — Traffic, rDNS, and the firewall#
Traffic#
The panel shows the monthly bandwidth of each server. If you pass the limit, the speed can fall or an extra bill can arrive, by the policy of the provider. Read the conditions of your package.
Reverse DNS (PTR)#
If you run a mail server, rDNS is necessary. Without it your mail goes to the spam folder.
If the provider has Automation mode on, you can set the PTR record yourself from the panel. In Manual mode, you must open a ticket.
The firewall#
VirtFusion has firewall rulesets, and you can attach one when the server is made. Keep a firewall inside the VM as well. Two layers are safer than one.
# the firewall inside Ubuntu or Debian
ufw allow 22/tcp
ufw allow 80,443/tcp
ufw enableWARNING: Allow the SSH port first, then run
ufw enable. In the other order you lock yourself out, and only the VNC console is left.
Lesson 7 — Self Service: make your own server#
In plain words#
A provider can give the customer the power to make and delete servers, inside a set limit. There are two ways to count it:
| Kind | How it works |
|---|---|
| Hourly billing | The hours count from the creation of the server to its delete, and the cost comes off a credit balance |
| Resource pack | You get a quota of RAM, disk, and more in advance, and you build what you want inside it |
A customer can hold normal servers and self-service servers together. But a customer cannot delete a server the provider gave them. That server stays under the control of the provider.
The setup, from the side of the administrator#
- Set the currency and the value of a token, such as 1 token = $0.01.
- Put the token value in the package.
- Make a package group.
- Make a Self Service group, which is a hypervisor group plus a package
group.
- Make a Group Profile.
- Set the resource pack, for the users who pay by the hour.
- Turn Self Service on for each user, and give them a profile.
For hourly accounting, the SSH scheduler must run, to watch the balance and the credit.
Know the limits#
- There is no billing integration for hourly billing. WHMCS supports the
resource pack only.
- Tax display has problems in the price of an hourly package.
- A change to the token value affects the current billing period as well.
- When a balance goes below zero, nothing happens automatically. You must
make your own policy and your own automation.
At the end of phase 6 you can#
- Enter the panel safely, and turn 2FA on
- Start, stop, and rebuild a server
- Handle an emergency with the VNC console
- Manage SSH keys and passwords
- Take a backup and restore it
- Read the traffic, set a PTR record, and write firewall rules
- Understand Self Service and its limits