幕后揭秘:Hosteons 如何在 2 分钟内部署您的 VPS

在 Hosteons,我们不仅追求性能,更追求速度。很多新客户第一次下单后都会惊讶地说:

“刚付款,VPS 就开好了?”

是的,大多数 VPS 订单在 2 分钟内就能完成部署并上线。这背后依赖的是我们高度自动化和优化的基础设施。本文就带您走进 Hosteons 的“后台”,看看我们是如何做到如此快速部署的。


⚙️ 一、使用 RAW 磁盘格式优化部署效率

我们所有 KVM VPS 节点都基于 RAW 磁盘格式,而非 LVM 或 ZFS。这种配置可以带来:

  • 更快的磁盘 I/O 性能
  • 更低的部署延迟
  • 跨系统的兼容性更强

这也正是我们能实现“秒级部署”的核心因素之一。


⚡ 二、Virtualizor 平台自动部署

我们采用 Virtualizor 控制面板,并结合自研脚本,实现全自动部署。客户支付成功后:

  • VPS 从模板自动部署
  • IPv4 和 /64 IPv6 立即分配
  • 系统初始化:设置主机名、密码、可选 SSH 公钥
  • 自动启动 VPS,您即可通过 SSH 或网页终端登录

整个流程无人工干预,大约 1~2 分钟即可完成。


🔁 三、WHMCS 实时集成,支付即开通

我们的 客户中心 采用 WHMCS 构建,订单流程如下:

  1. 用户选择套餐并提交订单
  2. 完成付款后,WHMCS 自动触发 Virtualizor
  3. VPS 自动创建,登录信息通过邮件即时发送

真正实现 下单 → 支付 → 开通 = 无缝衔接


⚠️ 特殊情况说明(可能需人工审核)

尽管绝大多数订单都可自动部署,但以下几种情况可能需要人工干预:

🪟 1. Windows VPS 订单

Windows VPS 同样支持自动部署,除非密码中包含特殊字符,如 @#$%& 等,可能被系统拒绝。

✅ 为了确保自动部署顺利,请使用仅包含大写字母 + 小写字母 + 数字的密码。

部署完成后您可在控制面板中自行修改密码。

🕵️‍♂️ 2. 高风险支付行为

  • 通过 PayPal 或信用卡 付款的订单系统会进行风险评估
  • 如果 欺诈分数较高,我们会进行人工审核
  • 若使用 加密货币、Alipay、QRIS、Dragonpay 等本地支付方式,则几乎所有订单都会立即开通

🌍 数据中心覆盖全球

我们在全球部署了多个高性能节点,服务以下地区:

🇺🇸 美国:洛杉矶、达拉斯、纽约、波特兰、迈阿密、盐湖城

🇩🇪 德国:法兰克福

🇫🇷 法国:巴黎

所有 VPS 均支持 原生 IPv6 /64 路由子网,无需申请,订单中选择即可自动分配。


🧰 一键脚本增强安全配置

Hosteons 提供 一键 VPS 安全初始化脚本,支持:

  • 更改默认 SSH 端口
  • 添加非 root 用户
  • 自动配置防火墙 (UFW / CSF)
  • 安装 Fail2Ban 防暴力破解
  • 启用自动安全更新

结合我们的快速部署,5 分钟内您就能拥有一台安全上线的 VPS。


🛒 推荐方案

📦 10Gbps Intel & Ryzen KVM VPS(美国 + 欧洲)

📦 10Gbps Ryzen KVM VPS

📦 Ryzen 7950X VDS 高性能独享核心


✅ 总结

Hosteons 投入大量资源构建全自动 VPS 平台,不仅部署快,稳定性和扩展性也一流。

虽然极少数订单需人工审核(如特殊支付行为或密码问题),但 95% 以上订单能在 2 分钟内完成部署

如有任何疑问,请提交工单,我们将第一时间为您服务。

Behind the Scenes: How We Deploy Your VPS in Under 2 Minutes

At Hosteons, speed and reliability are core to our hosting philosophy. One of the most common reactions from new customers is:

“I just placed the order… and my VPS is already online?”

Yes, most VPS orders are deployed within 2 minutes—ready to use with SSH or console access. So how do we do it?

Let’s take you behind the curtain.


⚙️ 1. Optimized Infrastructure with RAW Disk Format

All our KVM VPS nodes are preconfigured for high-speed provisioning using RAW disk format—not LVM or ZFS. This ensures:

  • Faster disk I/O during deployment
  • Minimal overhead from volume management
  • Compatibility across all major Linux distributions

This streamlined storage setup is a major contributor to ultra-fast provisioning.


⚡ 2. Instant Provisioning with Virtualizor

We use Virtualizor as our VPS control panel, tightly integrated with our billing platform. Here’s what happens the moment your payment clears:

  • VPS is deployed from a cached OS template
  • IPs (IPv4 and /64 IPv6) are instantly assigned
  • Hostname, root password, and optional SSH key are set
  • VPS is booted and available for SSH or web console access

All this happens automatically—no human intervention required in most cases.


🔁 3. Real-Time Billing & Order Processing

Through our client portal, powered by WHMCS:

  • You select your plan
  • Submit payment
  • VPS is provisioned automatically within ~2 minutes

We support a wide range of global payment options, so no matter where you are, you can deploy instantly.


⚠️ Important Exceptions

While most orders are provisioned instantly, there are a few scenarios where manual review may be required:

🪟 1. Windows VPS Orders

These are usually provisioned instantly too, unless the password you provide contains special characters not accepted by Windows setup.

✅ To ensure fast deployment, use a password with:

  • Uppercase & lowercase letters
  • Numbers
  • No special symbols like @, #, !, etc.You can change the password after initial setup via the control panel.

🕵️‍♂️ 2. Payment Fraud Screening

  • Orders paid via PayPal or Credit/Debit Cards are automatically screened for fraud.
  • If the fraud score is high, we manually review before provisioning.
  • Orders via crypto, Alipay, QRIS, Dragonpay, etc. are usually processed instantly without delay.

🌍 Global Locations

We offer VPS from 8 world-class data centers:

🇺🇸 USA: Los Angeles, New York, Dallas, Portland, Miami, Salt Lake City

🇩🇪 Germany: Frankfurt

🇫🇷 France: Paris

All plans come with native IPv6 /64 routed subnets, included free of charge.


🧰 Pre-Secured Setup

Use our initial VPS setup script to:

  • Harden SSH
  • Add sudo user
  • Setup UFW/CSF firewall
  • Install Fail2Ban
  • Enable automatic security updates

You can be fully secured within 5 minutes of deployment.


🛒 Try It Now

🖥️ Browse Plans:


✅ Conclusion

At Hosteons, we’ve built an automated, optimized, and global VPS platform that gets you online in under 2 minutes. While edge cases may need manual review, 95%+ of VPS orders are deployed instantly—so you can focus on what matters.

Have questions? Need custom setup? Submit a ticket, and we’ll take care of the rest.

Automating SMTP Port Management Across VPS Nodes: A Step-by-Step Guide for Virtualizor based KVM VPS Nodes

If you manage multiple VPS nodes and offer SMTP services selectively to clients, automating the management of IP sets can save significant effort. In this guide, we’ll walk through how we automated the synchronization of SMTP-enabled IPs across over 100 VPS nodes.

This tutorial has been tested and is fully operational on Virtualizor-based KVM VPS nodes. The script is configured to run at 1-hour intervals by default, but you can adjust the interval depending on your requirements and available resources. It can be set up on a separate server, on the same server as WHMCS, or another VPS. If using the WHMCS server, ensure it is properly secured, as this script has access to all your servers.


Prerequisites

  1. Python 3.x installed on your system.
  2. Required Python libraries:
   pip install paramiko pandas
  1. WHMCS with VPS product configurations.
  2. SSH access to all VPS nodes and the WHMCS server.
  3. ipset installed and configured on each VPS node.
  4. Proper iptables rules set up on all VPS nodes (detailed below).

Required iptables and ipset Configuration on VPS Nodes

To manage SMTP access effectively, you need the following iptables and ipset rules configured on all VPS nodes. These rules must also persist across reboots:

modprobe br_netfilter
ipset create allowed_ips hash:ip
iptables -F
iptables -P FORWARD DROP
iptables -I FORWARD -m set --match-set allowed_ips src -o viifbr0 -p tcp --dport 25 -j ACCEPT
iptables -I FORWARD -m set --match-set allowed_ips dst -o viifbr0 -p tcp --dport 25 -j ACCEPT

iptables -A FORWARD -o viifbr0 -p tcp --dport 25 -j REJECT
iptables -A FORWARD -o viifbr0 -j ACCEPT
service iptables save 

These rules ensure that SMTP traffic is blocked by default unless explicitly allowed via ipset. Ensure the rules are applied on every reboot of the VPS nodes.


Overview of the Solution

  1. Fetch VPS Configuration from WHMCS: Retrieve a JSON file listing VPS configurations, including SMTP-enabled status and associated IPs.
  2. Process Data: Parse the JSON file to extract primary and additional IPs for SMTP-enabled VPSs.
  3. Sync IP Sets Across Nodes: Use ipset to update allowed IPs for SMTP on each node. This includes adding or removing IPs as needed.
  4. Parallel Execution: Speed up the process by handling multiple nodes concurrently with Python threading.

Implementation

1. Create the Excel File for Node Information

The Python script uses an Excel file to identify the SSH IPs and ports of all VPS nodes. Create an Excel file in the following format:

IP AddressSSH Port
192.168.1.10022
192.168.1.1012222

Save this file as securecrt_servers.xlsx and ensure it is accessible to the script.

2. Fetch VPS Data from WHMCS

Add a hook in WHMCS to export VPS data:

File: /path/to/whmcs/includes/hooks/export_vps_data.php

<?php

use Illuminate\Database\Capsule\Manager as Capsule;

add_hook('AfterCronJob', 100, function($vars) {
    $logFile = __DIR__ . '/export_hook_debug.log';
    $filePath = __DIR__ . '/vps_data.json';

    try {
        $vpsData = Capsule::table('tblhosting')
            ->join('tblproducts', 'tblhosting.packageid', '=', 'tblproducts.id')
            ->join('tblclients', 'tblhosting.userid', '=', 'tblclients.id')
            ->leftJoin('tblhostingconfigoptions', 'tblhosting.id', '=', 'tblhostingconfigoptions.relid')
            ->leftJoin('tblproductconfigoptions', 'tblhostingconfigoptions.configid', '=', 'tblproductconfigoptions.id')
            ->select(
                'tblclients.firstname',
                'tblclients.lastname',
                'tblhosting.dedicatedip',
                'tblhosting.assignedips',
                'tblhosting.domain',
                'tblproducts.name as productname',
                'tblproductconfigoptions.optionname',
                'tblhostingconfigoptions.optionid'
            )
            ->where('tblproducts.type', 'server')
            ->where('tblhosting.domainstatus', 'Active')
            ->get();

        $formattedData = [];
        foreach ($vpsData as $vps) {
            $smtp_enabled = false;
            if (stripos($vps->optionname ?? '', 'SMTP Access') !== false && $vps->optionid > 0) {
                $smtp_enabled = true;
            }

            $formattedData[] = [
                'client_name' => $vps->firstname . ' ' . $vps->lastname,
                'primary_ip' => $vps->dedicatedip,
                'additional_ips' => $vps->assignedips,
                'domain' => $vps->domain,
                'product_name' => $vps->productname,
                'smtp_enabled' => $smtp_enabled,
            ];
        }

        file_put_contents($filePath, json_encode($formattedData, JSON_PRETTY_PRINT));
    } catch (Exception $e) {
        file_put_contents($logFile, "Error: " . $e->getMessage() . PHP_EOL, FILE_APPEND);
    }
});

3. Configure SMTP Access Using WHMCS Configurable Options

To enable or disable SMTP for a VPS:

  1. Set Up a Configurable Option:
  • Go to WHMCS Admin > Products/Services > Configurable Options.
  • Create an option named SMTP Access with values such as Enabled and Disabled.
  1. Client Self-Management (Optional):
  • If you want clients to manage this option while ordering or upgrading, associate the configurable option with the product.
  1. Manual Control:
  • To keep SMTP access manual, hide the configurable option from clients and enable or disable it directly in the admin panel.

Note: Changes to SMTP access will take effect within the interval configured for the sync script (default: 1 hour).

4. Automate Syncing with Python

File: /path/to/script/smtp_sync.py

import requests
import subprocess
import paramiko
import ipaddress
import os
import pandas as pd
import re
import json
from concurrent.futures import ThreadPoolExecutor

DEBUG = True

NODES_FILE_PATH = '/path/to/securecrt_servers.xlsx'
nodes_df = pd.read_excel(NODES_FILE_PATH)
NODES = [
    {"host": row["IP Address"], "port": row["SSH Port"]}
    for _, row in nodes_df.iterrows()
]

IPSET_NAME = "allowed_ips"
ERROR_LOG_FILE = "node_errors.log"
WHMCS_SERVER = {
    "host": "whmcs-server-ip",
    "user": "your-whmcs-user",
    "port": 22,
    "key_path": os.path.expanduser("~/.ssh/id_rsa")
}
REMOTE_VPS_FILE = "/path/to/whmcs/hooks/vps_data.json"
LOCAL_VPS_FILE = "/tmp/vps_data.json"

# Define functions for fetching, processing, and syncing IPs
# See the complete script in the provided implementation.

Cron Job Setup

Run the Python script every hour by adding it to your crontab:

crontab -e

Add the following line:

0 * * * * /usr/bin/python3 /path/to/script/smtp_sync.py >> /var/log/smtp_sync.log 2>&1

Benefits of the Solution

  1. Automated Management: No manual updates to IP sets are required.
  2. Scalability: Handles hundreds of nodes efficiently using multithreading.
  3. Reliability: Synchronization ensures consistent SMTP access control across all nodes.

What’s happing at Hosteons ? So many changes ?

2020 has been a crazy year for everybody all over the globe, but we at Hosteons have been working behind the scenes to bring new services, service upgrades, server upgrades, and what not.

Here is what’s new with Hosteons:

Premium Ryzen VPS:

We have launched a Premium Range of Ryzen based KVM VPS in two locations – Los Angeles and Dallas (More locations coming soon). Ryzen CPU along with NVME Drives takes your VPS experience to a different level as these are very very fast CPU along with super fast NVME Drives it just makes you feel like as if you are using a Super Fast Dedicated Server with ease of singing a VPS. Our Ryzen VPS Nodes are connected to 10Gbps network instead of our regular 1 Gbps Network to even make your network lightning fast.

Direct Admin Switch:

Due to constant price increase by cPanel we decided to even switch to Direct Admin for our shared web hosting and reseller web hosting and we even took the opportunity to even switch our web server from Apache to Lite Speed along with Kernel Care for reboot less updates, Cloud Linux for stable hosting experience and even more secure with CageFS implementation. We even added Imunify to it to make sure all sites on the server malware free. Not only this now we are using RAID 10 SSD instead of normal HDD for even faster websites. We are now even taking offsite backups every alternate day.

So here are some of the new features of our Shared Web Hosting and Reseller Web Hosting:

  1. Direct Admin Control Panel
  2. Lite Speed Web Server for ultra fast websites
  3. CloudLinux for Stable and Secure Web Hosting
  4. Imunify for Malware and Virus Free Hosting
  5. KernelCare for Rebootless updates hence basically services with no downtime
  6. RAID 10 SSD Based Storage for ultra fast disk access and very fast websites
  7. Regular backups just in case if you ever want to restore your data.
  8. 24×7 Support – We understand how important your website is for you hence we have 24×7 support

These are so many features and benefits not possible to mention all of them in a single article.

Discontinued 100 Mbps KVM VPS:

We have discontinued 100 Mbps Unmetered KVM VPS and instead of started offering Gigabit VPS as we noticed now when 100 Mbps connectivity is very common even in a typical household broadband, so 100 Mbps on a server is not enough, moreover we had more reasons to make this decision like when we were offering 100 Mbps Unmetered VPS even a few abusive or even compromised 100 Mbps VPS could make the network experience bad for other VPS users on the VPS node and since we did not wanted to compromise on quality of our services, we made this tough decision. Though we are not terminating existing 100 Mbps VPS users, they can continue to use their 100 Mbps VPS as long as they keep renewing and even option to upgrade to Gigabit VPS is open for them.

Also new nodes that we are adding for Gigabit VPS are now on 10 Gbps Port, very soon we will upgrade, all our VPS nodes (those nodes will only have Gigabit VPS not 100 Mbps unmetered VPS)

Migration from SolusVM to Virtualizor:

SolusVM is a good VPS control panel but it’s been lacking lots of features that were available in Virtualizor or where were very much needed, hence we even switch from SolusVM to Virtualizor, it wasn’t issue to switch but we still did it with help of very helpful team of Virtualizor.

Some of the new features which were not available until in our VPS control panel will be available now, like:

  1. Custom ISO upload – Now if you need to install an OS that’s not already available in our VPS templates you need not worry, just login to your VPS control panel and you can upload your own ISO and install your own OS, no need to even submit a ticket to do so.
  2. Until now we had to shutdown or suspend VPS of CPU abusive users, but now we can simply cap or limit their CPU usage to make sure experience of other VPS users is not affected and it even avoids downtime for VPS users whose CPU usage goes out of control (usually it’s due to some buggy software)
  3. Complete Integration with our billing system, so now you even don’t need to login to VPS control panel separately, you can mange most of the things directly from Client Porta/Billing/Helpdesk
  4. Support for Block Storage (We plan to provide block storage soon, but lack of support in SolusVM was our biggest hurdle, but now we have this option available)

There are many more features to list in a single article.

Very soon even daily backups will be available with our Premium Ryzen VPS, we will send out an email once it’s available.