# 虚拟专用服务器

**虚拟专用服务器**（VPS）是一种作为托管产品提供的虚拟服务器，其定位介于共享主机（租户仅能控制文件和控制面板）与专用服务器（单一租户拥有整台机器）之间。<sup>[1](https://enterno.io/en/articles/what-is-vps)</sup> 虚拟机是宿主系统资源的逻辑分区，能够与其他虚拟机隔离地运行操作系统，尽管 I/O 设备和部分内存区域等资源可能被共享。<sup>[2](https://dl.acm.org/doi/pdf/10.1145/3382190)</sup>

| 关键事实 | 详情 |
|---|---|
| 访问级别 | 通常通过 SSH 获得完整 root 权限（Windows 上通过 RDP 获得管理员权限），往往配有专用 IPv4 地址；共享主机则仅提供控制面板和 SFTP 访问<sup>[1](https://enterno.io/en/articles/what-is-vps)</sup> |
| 入门价格 | 含 root 权限的方案大致为每月 5–50 美元；2026 年入门档位集中在每月 5–6 美元/1 GB 内存<sup>[3](https://upcloud.com/global/blog/cloud-vs-vps-vs-dedicated-servers-choosing-right-infrastructure/)</sup><sup> • </sup><sup>[4](https://shattered.io/cheapest-cloud-vps-2026-provider-comparison/)</sup> |
| 隔离边界 | 基于 hypervisor 的 VPS（KVM、Xen）为每个租户提供独立内核；基于容器的 VPS（OpenVZ、LXC）共享宿主内核<sup>[5](https://www.ssdnodes.com/learn/how-much-does-a-vps-cost)</sup> |
| 隔离强度 | 在对抗性共租户负载下，KVM 和 Xen 分别保留了独立运行时 83% 和 80% 的性能，而 LXC 和 Docker 容器资源被挤占，无法完成基准测试<sup>[6](https://research.spec.org/icpe_proceedings/2018/proceedings/p145.pdf)</sup> |
| 吵闹邻居信号 | CPU 窃取时间持续高于 5%（在 `top` 中显示为 "st" 列）可能表明物理主机超售导致资源争用<sup>[7](https://bestusavps.com/guides/ultimate-vps-guide-2026/)</sup> |
| 市场规模 | 2025 年估计为 27 亿美元，预计到 2035 年将达到 108 亿美元，复合年增长率 15.0%；托管型 VPS 预计占 2025 年收入的 54.3%<sup>[8](https://www.futuremarketinsights.com/reports/virtual-private-server-market)</sup> |
| 安全责任划分 | AWS、DigitalOcean、Vultr、Linode 和 Hetzner 均不在标准计算实例上管理操作系统级安全；租户需自行负责补丁、防火墙和 SSH 加固<sup>[4](https://shattered.io/cheapest-cloud-vps-2026-provider-comparison/)</sup> |

## 虚拟化如何实现

有两类技术支撑 VPS 产品。**基于 hypervisor 的 VPS** 将每个租户作为完整虚拟机运行。在[红帽企业 Linux](https://www.edgepedia.org/zh/red-hat-enterprise-linux) 中，核心组件是 KVM、QEMU 和 libvirt；KVM 内核模块让 [Linux 内核](https://www.edgepedia.org/zh/linux-kernel)充当 hypervisor，每个客户机运行与宿主分离的内核，从而提供独立的客户机内核以及客户机与宿主之间的隔离边界。<sup>[9](https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/10/html/configuring_and_managing_linux_virtual_machines/basic-concepts-of-virtualization-in-rhel)</sup> **基于容器的 VPS** 则对单一宿主内核进行分区。LXC 是 Linux 内核容器化功能的用户空间接口，这些功能包括命名空间、cgroups、能力、seccomp 和安全配置文件，它不启动独立内核。<sup>[10](https://cloudzy.com/blog/kvm-vs-openvz-vs-lxc-vps-buying-decision)</sup> OpenVZ 使用用户级工具和经过修改的内核，后者拦截系统调用并重写结果，通过调度器中的 I/O 优先级实施 I/O 隔离。<sup>[11](https://atlarge-research.com/pdfs/2023-asklavos-litsurvey.pdf)</sup>

隔离差异是可测量的。在 ICPE 2018 年的一项实验中，在共置对抗性 fork 炸弹负载下，KVM 和 Xen 分别保留了独立运行时 83% 和 80% 的 Sysbench 性能，而 LXC 和 [Docker](https://www.edgepedia.org/zh/docker-software) 容器资源被耗尽，无法完成基准测试；该研究得出结论：基于 hypervisor 的系统比共享宿主内核的系统提供更强的隔离，后者可能遭受恶意共置实例的拒绝服务攻击，且没有任何平台能实现完美的性能隔离。<sup>[6](https://research.spec.org/icpe_proceedings/2018/proceedings/p145.pdf)</sup> 容器的内存可以从宿主寻址，而 KVM 客户机则不能；与基于容器的 VPS 不同，完全虚拟化支持 Windows 客户机、自定义内核或可加载模块；OpenVZ 则锁定于宿主内核。<sup>[10](https://cloudzy.com/blog/kvm-vs-openvz-vs-lxc-vps-buying-decision)</sup> 2022 年《超级计算杂志》的一项调查指出，容器在性能、可扩展性、能耗和提供商利润方面优于虚拟机，但隔离性较弱，可能造成严重的安全问题，可通过在虚拟机之上运行容器来缓解。<sup>[12](https://link.springer.com/article/10.1007/s11227-022-04318-5)</sup> 整合开销也因 hypervisor 而异：在 RUBiS 实验中，当应用实例从 1 个增加到 4 个时，Xen 的平均响应时间上升超过 400%，而 OpenVZ 仅上升约 100%。<sup>[13](https://rtcl.eecs.umich.edu/papers/publications/2030/usenix.pdf)</sup>

## 规格参数及其含义

**vCPU。** vCPU 是物理核心上的一个调度槽位，而非一个核心。主机商会卖出比核心数更多的槽位，因为大多数服务器大部分时间处于空闲状态；这种做法即超售，是两份规格表完全相同的方案价格可能相差十倍的最主要原因。<sup>[5](https://www.ssdnodes.com/learn/how-much-does-a-vps-cost)</sup> 标有“专用 CPU”的方案为租户预留专用 CPU 容量，而共享或“突发型”方案出售基线容量并允许超出。例如，[DigitalOcean](https://www.edgepedia.org/zh/digitalocean) 的通用型 v5 Droplet 提供有保证的专用 CPU，内存与 vCPU 之比从 2 倍到 8 倍不等。<sup>[14](https://www.digitalocean.com/blog/introducing-v5-droplets)</sup>

**磁盘与网络。** 真正专用的磁盘和网络比宣传中更为罕见：NVMe 驱动器几乎总是通过同一控制器共享，优秀的提供商会为每个客户机设置队列深度或 IOPS 限制。<sup>[15](https://www.renode.space/blog/vps-vs-vds-vs-dedicated-server)</sup> 例如，Lightsail 套餐包含固定数量的内存、vCPU、SSD 存储和数据传输额度。<sup>[16](https://aws.amazon.com/lightsail/faq/)</sup>

## 数据一览

**定价。** 2025 年 10 月，Hetzner 的 CX22（2 vCPU / 4 GB 内存 / 40 GB 磁盘）价格为每月 4.51 欧元，CCX23（4 个专用 vCPU / 16 GB）为每月 17.04 欧元，而 AWS、Azure 和 GCP 对同等算力收费高出 3–5 倍。<sup>[17](https://topinsight.co/dev-infra/cheap-vps-landscape/)</sup> 2026 年入门档位集中在每月 5–6 美元/1 GB 内存（DigitalOcean 6 美元，Lightsail 0.5 GB 5 美元，Vultr 5 美元，[Linode](https://www.edgepedia.org/zh/linode) 5 美元），4 GB 档位约为每月 20–24 美元。<sup>[4](https://shattered.io/cheapest-cloud-vps-2026-provider-comparison/)</sup> 最便宜的 Lightsail 方案起价为每小时 0.0047 美元（每月 3.50 美元），含 [Windows Server](https://www.edgepedia.org/zh/windows-server) 许可证的方案起价为每月 8 美元。<sup>[16](https://aws.amazon.com/lightsail/faq/)</sup> 典型价格跨度从共享主机的每月 2–10 美元，到 VPS 的每月 5–80 美元，再到专用服务器的每月 80–500 美元。<sup>[7](https://bestusavps.com/guides/ultimate-vps-guide-2026/)</sup>

**基准测试。** 在 2025 年的一项对比中，IONOS（每月 15 美元）在 CPU 测试中录得每秒 12,501 个事件，随机读 IOPS 上限为 20,066；而 Hetzner（每月 18.59 美元）达到每秒 14,493 个事件和 59,558 随机读 IOPS，网络吞吐量为 1,811/1,689 Mbps。在六家提供商中，顺序磁盘读取吞吐量从 12,709 MB/s（Liquid Web）到 478 MB/s（IONOS）不等。<sup>[18](https://aimultiple.com/vps-benchmark)</sup>

**可靠性。** VPSchart 的滚动 12 个月正常运行时间跟踪显示，Hetzner 的 CX32 为 99.98%，DigitalOcean 的 Basic 2 GB 为 99.97%，Vultr 的 Cloud 2 GB 和 Linode 的 Nanode 2 GB 为 99.96%。<sup>[4](https://shattered.io/cheapest-cloud-vps-2026-provider-comparison/)</sup> Lightsail 不保证 SLA，但其块存储设计可用性为 99.99%，年故障率低于 0.2%。<sup>[16](https://aws.amazon.com/lightsail/faq/)</sup>

## 与共享主机、专用服务器和云服务的比较

各档位的主要区别在于访问权限和隔离性。共享主机提供控制面板和 SFTP 访问，有时提供非 root 的 SSH；VPS 通过 SSH 提供完整 root 权限，或通过 RDP 提供管理员权限，通常配有专用 IPv4；专用服务器则增加 root 权限以及通过 IPMI、iLO 或 iDRAC 的带外硬件访问。<sup>[1](https://enterno.io/en/articles/what-is-vps)</sup> 从本质上讲，云实例是部署在一个使用网络附加存储的集群中的 VPS；这使得调整规格更快，通常按小时计费，且若底层硬件故障，实例可在另一台机器上重新启动。<sup>[1](https://enterno.io/en/articles/what-is-vps)</sup> 在术语表中，容器 VPS 使用共享内核，具有软限制和依赖于邻居的突发行为；KVM VPS 是拥有独立内核和固定内存的完整虚拟机；VDS 固定核心且不超售；云实例运行在分布式架构上，具有弹性伸缩能力。<sup>[19](https://virtualserversvps.com/blog/vps-vs-virtual-server-understanding-the-differences/)</sup>

专用硬件在合规方面仍然重要。医疗、金融服务和政府领域的一些框架明确要求单租户物理隔离，而 VPS 和云共享物理硬件，通过 hypervisor 实现隔离；“在 hypervisor 层面隔离”和“在硬件层面隔离”是不同的表述。<sup>[3](https://upcloud.com/global/blog/cloud-vs-vps-vs-dedicated-servers-choosing-right-infrastructure/)</sup> 持续超过 8 vCPU 的工作负载适合考虑裸金属。<sup>[7](https://bestusavps.com/guides/ultimate-vps-guide-2026/)</sup>

## 托管型与非托管型运营

非托管型 VPS 仅提供裸操作系统，租户负责操作系统安装、补丁、备份和调优；典型价格为每月 5–30 美元。托管型方案增加操作系统补丁、监控，通常还有 cPanel 或 Plesk 等控制面板，价格为每月 30–100+ 美元，因为人力是主机商最昂贵的投入。<sup>[20](https://www.paidhosting.com/vps-hosting-explained/)</sup><sup> • </sup><sup>[5](https://www.ssdnodes.com/learn/how-much-does-a-vps-cost)</sup> DigitalOcean、Vultr、Linode 和 Hetzner 主要是非托管型提供商，而 SiteGround Cloud、Liquid Web 和 Cloudways 提供托管型 VPS。<sup>[20](https://www.paidhosting.com/vps-hosting-explained/)</sup> 未打补丁且使用密码 SSH 的服务器很快就会被机器人发现并探测。<sup>[1](https://enterno.io/en/articles/what-is-vps)</sup>

## 安全与租户责任

对于非托管型 VPS，租户获得操作系统、公网 IP 和 root 权限，并负责保护操作系统和应用程序的安全；托管型方案可能包括由主机商管理的安全服务、更新以及通过 cPanel/WHM 等控制面板进行防火墙管理。<sup>[21](https://corelab.tech/vps-security-hardening/)</sup> 两个加固陷阱很常见。仅覆盖 IPv4 的防火墙规则会使服务可通过 IPv6 访问，除非在 `/etc/default/ufw` 中设置 `IPV6=yes`，因为托管网络的 IPv6 地址前缀经常受到扫描。使用 `-p` 发布 Docker 容器端口会插入在 ufw 规则之前评估的 iptables 规则，因此被认为已受防火墙保护的容器可能被暴露；绑定到 127.0.0.1 并通过反向代理访问可缓解此问题。<sup>[22](https://servprivacy.io/guides/harden-a-new-vps/)</sup>

**吵闹邻居。** 共租户带来的性能差异是一项隐性成本，不会作为账单上的条目出现；在高持续利用率下，专用机器的单位算力成本可能更低。<sup>[3](https://upcloud.com/global/blog/cloud-vs-vps-vs-dedicated-servers-choosing-right-infrastructure/)</sup> 可测量的症状是窃取时间：vCPU 已准备好运行但 hypervisor 将物理核心分配给另一租户的时间百分比，在 `vmstat` 中显示为 "st" 列，在 `top` 中显示为 `%st`。<sup>[15](https://www.renode.space/blog/vps-vs-vds-vs-dedicated-server)</sup> 在租户自身负载较轻时出现两位数的窃取时间，表明 hypervisor 正在将租户的 CPU 槽位重新分配给其他租户。<sup>[5](https://www.ssdnodes.com/learn/how-much-does-a-vps-cost)</sup> 基准测试方差是另一个替代指标：在 2025 年的对比中，DigitalOcean 的 CPU 结果标准差为 174.1，而 IONOS 为 21.8，Hetzner 为 35.2，低方差表明是专用而非共享的超售核心。<sup>[18](https://aimultiple.com/vps-benchmark)</sup> 在硬件层面，CPU 可通过绑核和调度有效隔离，但缓存、内存带宽和磁盘由于资源分区不完善而表现出较差的性能隔离。<sup>[6](https://research.spec.org/icpe_proceedings/2018/proceedings/p145.pdf)</sup> 云实例通常比中端 VPS 方案超售更为严重，因为提供商的商业模式依赖于将许多小实例打包到共享硬件上。<sup>[19](https://virtualserversvps.com/blog/vps-vs-virtual-server-understanding-the-differences/)</sup>

## 近期发展

**ARM 档位先兴起后撤出。** Hetzner 基于 Ampere Altra 芯片的 ARM 架构 CAX 系列，每 GB 内存的价格远低于所比较的任何 x86 方案，但仅适用于 ARM64 兼容的工作负载，如 Web 服务器、容器、数据库、CI/CD 以及 Go 或 Node 应用。<sup>[4](https://shattered.io/cheapest-cloud-vps-2026-provider-comparison/)</sup> 2025 年，Hetzner 推出了成本优化系列，起价每月 3.49 欧元，提供 x86（CX Gen3）和 ARM 选项，包括 20 TB 带宽，其中 CAX11（2 vCPU / 4 GB / 40 GB）为 3.79 欧元，最高至 CAX41（16 vCPU / 32 GB / 320 GB）为 24.49 欧元。<sup>[23](https://systemadministration.net/hetzner-shakes-up-cloud-pricing/)</sup> 在有货时，netcup 的 VPS 1000 ARM 方案提供 6 vCPU / 8 GB / 256 GB NVMe，价格为每月 7.77 欧元，而同等 x86 方案为 10.37 欧元；截至 2026 年 9 月 21 日，netcup 和 Hetzner 均不再销售 ARM 方案，Hetzner 的 CAX 方案已不在其价格表中。<sup>[24](https://hostingsift.com/blog/arm-vps-hosting-2026)</sup>

**2026 年价格大幅变动。** 2026 年 2 月，Hetzner 警告客户，价格计划自 2026 年 4 月 1 日起在其美国、新加坡等地区上涨最多 50%。<sup>[25](https://www.theregister.com/on-prem/2026/02/24/hetzner-50-price-hike-no-fooling-from-april-1st/4547119)</sup> Hetzner 自己的公告将标准化和价格调整日期定为 2026 年 6 月 15 日中欧夏令时上午 8:00，适用于所有地区专用服务器和云方案的新订单，归因于硬件采购成本大幅增加，现有合同保留原条款。<sup>[26](https://www.hetzner.com/pressroom/standardization-and-price-adjustment-of-our-server-products/)</sup> 实测涨幅很大：Hetzner 的 CPX22（2 vCPU / 4 GB / 80 GB）从每月 7.99 欧元涨至 19.49 欧元（+144%），CPX32 从 13.99 欧元涨至 35.49 欧元（+154%），CCX13 从 15.99 欧元涨至 42.99 欧元（+169%）。涨价后，CPX22 的 22.99 美元与 DigitalOcean、Linode 和 AWS Lightsail 收取的 24 美元相差约一美元，且高于 Vultr 同等方案的 20 美元。<sup>[27](https://hostingsift.com/blog/vps-price-increases-2026-who-raised-who-held)</sup> 截至 2026 年 10 月 5 日，Hetzner 的成本优化系列（从 CX23 到 CAX41）被列为“目前不可用”，无法订购。<sup>[28](https://webhosting.today/2026/10/05/ovhcloud-unbundled-the-ip-and-the-disk-hetzner-took-its-cheapest-line-off-sale-the-memory-bill-has-reached-the-price-list/)</sup>

**产品结构也发生了变化。** DigitalOcean 的 v5 Droplet 基于第五代 AMD EPYC 处理器，每核性能比上一代提升高达 30%，并首次允许独立选择 vCPU、内存和存储。<sup>[14](https://www.digitalocean.com/blog/introducing-v5-droplets)</sup> Lightsail 套餐现在提供公网 IPv4、双栈 IPv4+IPv6 或仅 IPv6 寻址，价格因是否包含公网 IPv4 地址而异。<sup>[29](https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-bundles.html)</sup> 合规态势也因提供商而异：在所比较的五家提供商中，AWS Lightsail 是唯一一家能为获取 [SOC 2](https://www.edgepedia.org/zh/soc-2) 等正式认证及使用符合 HIPAA 要求的服务提供直接途径的提供商，而 Hetzner 的态势则围绕 GDPR 和欧盟数据保护法。<sup>[4](https://shattered.io/cheapest-cloud-vps-2026-provider-comparison/)</sup>

## References

1. [What Is a VPS? Virtual Servers Explained, KVM vs Containers, enterno.io](https://enterno.io/en/articles/what-is-vps)
2. [Security Issues and Challenges for Virtualization Technologies, ACM Computing Surveys](https://dl.acm.org/doi/pdf/10.1145/3382190)
3. [Cloud vs VPS vs Dedicated Servers, UpCloud](https://upcloud.com/global/blog/cloud-vs-vps-vs-dedicated-servers-choosing-right-infrastructure/)
4. [Cheapest Cloud VPS 2026: Hetzner vs DigitalOcean vs AWS, shattered.io](https://shattered.io/cheapest-cloud-vps-2026-provider-comparison/)
5. [How much does a VPS cost in 2026?, SSD Nodes](https://www.ssdnodes.com/learn/how-much-does-a-vps-cost)
6. [Virtualization Techniques Compared: Performance, Resource, and Power Usage Overheads in Clouds, ICPE 2018](https://research.spec.org/icpe_proceedings/2018/proceedings/p145.pdf)
7. [The VPS Hosting Guide 2026, bestusavps.com](https://bestusavps.com/guides/ultimate-vps-guide-2026/)
8. [Virtual Private Server Market, Future Market Insights](https://www.futuremarketinsights.com/reports/virtual-private-server-market)
9. [Basic concepts of virtualization in RHEL, Red Hat](https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/10/html/configuring_and_managing_linux_virtual_machines/basic-concepts-of-virtualization-in-rhel)
10. [KVM vs. OpenVZ vs. LXC, Cloudzy](https://cloudzy.com/blog/kvm-vs-openvz-vs-lxc-vps-buying-decision)
11. [Literature survey on virtualization isolation mechanisms, AtLarge Research, 2023](https://atlarge-research.com/pdfs/2023-asklavos-litsurvey.pdf)
12. [A general method for evaluating the overhead when consolidating servers, Journal of Supercomputing, 2022](https://link.springer.com/article/10.1007/s11227-022-04318-5)
13. [Performance Evaluation of Virtualization Technologies for Server Consolidation, USENIX](https://rtcl.eecs.umich.edu/papers/publications/2030/usenix.pdf)
14. [Introducing v5 Droplets, DigitalOcean](https://www.digitalocean.com/blog/introducing-v5-droplets)
15. [VPS, VDS or dedicated server: what the words mean, renode.space](https://www.renode.space/blog/vps-vs-vds-vs-dedicated-server)
16. [Virtual Private Server and Web Hosting – Amazon Lightsail FAQs, AWS](https://aws.amazon.com/lightsail/faq/)
17. [The cheap VPS landscape in October 2025, topinsight.co](https://topinsight.co/dev-infra/cheap-vps-landscape/)
18. [VPS Benchmark: Hetzner vs Digital Ocean, AIMultiple](https://aimultiple.com/vps-benchmark)
19. [Virtual Server Terminology Decoded, virtualserversvps.com](https://virtualserversvps.com/blog/vps-vs-virtual-server-understanding-the-differences/)
20. [VPS Hosting Explained: The Complete Guide (2026), PaidHosting](https://www.paidhosting.com/vps-hosting-explained/)
21. [VPS Security Checklist 2026, corelab.tech](https://corelab.tech/vps-security-hardening/)
22. [Harden a new VPS, ServPrivacy](https://servprivacy.io/guides/harden-a-new-vps/)
23. [Hetzner shakes up cloud pricing in 2025, systemadministration.net](https://systemadministration.net/hetzner-shakes-up-cloud-pricing/)
24. [ARM VPS Hosting 2026, hostingsift.com](https://hostingsift.com/blog/arm-vps-hosting-2026)
25. [Hetzner: 50% price hike, no fooling, from April 1st, The Register](https://www.theregister.com/on-prem/2026/02/24/hetzner-50-price-hike-no-fooling-from-april-1st/4547119)
26. [Details regarding the standardization and price adjustment of our server products effective 15 June 2026, Hetzner](https://www.hetzner.com/pressroom/standardization-and-price-adjustment-of-our-server-products/)
27. [VPS Price Increases in 2026 and the Hosts That Held, hostingsift.com](https://hostingsift.com/blog/vps-price-increases-2026-who-raised-who-held)
28. [OVHcloud Unbundles, Hetzner Sells Out, webhosting.today](https://webhosting.today/2026/10/05/ovhcloud-unbundled-the-ip-and-the-disk-hetzner-took-its-cheapest-line-off-sale-the-memory-bill-has-reached-the-price-list/)
29. [Lightsail instance bundles, AWS documentation](https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-bundles.html)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 17, 2026; Oct 15, 2026 · Edited: Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 软件与编程 › Named software products and platforms › Cloud, virtualization, and containers

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/virtual-private-server

English original: https://www.edgepedia.org/virtual-private-server
