指点云用户44 发表于 2022-7-29 20:58:10

VDS是什么?VPS和VDS的区别详解!

<p data-first-child="" data-pid="tSU4CCo2" style="margin-top: 0px; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"><a href="https://link.zhihu.com/?target=https%3A//zhizhenyun.com.cn/" class=" wrap external" target="_blank" rel="nofollow noreferrer" data-za-detail-view-id="1043" style="text-decoration-line: none; cursor: pointer; border-bottom: 1px solid rgb(128, 128, 128);">VPS</a>可能大家都很熟悉,但是对于<span style="font-weight: 600; font-synthesis: style;">VDS</span>就有些陌生了,毕竟接触的少,那什么是VDS?<span style="font-weight: 600; font-synthesis: style;">VDS全称虚拟独立服务器系统</span>(Virtual Dedicated Server),该系统介于虚拟主机和独立服务器之间,通过该系统,用户可以自主创建和管理其站点和用户。特别适用于入门级虚拟主机增值服务商和大中型企业事业单位。在<span style="font-weight: 600; font-synthesis: style;">VDS系统</span>上仅有少数几个高级用户,他们可以通过WEB管理界面,完全自主地创建和管理自己的用户和站点。不同高级用户之间也是完全隔离和独立的。从这些高级用户的角度看来,该服务器就像一台自己拥有的独立服务器一般。故称为<span style="font-weight: 600; font-synthesis: style;">VDS虚拟独立</span><a href="https://link.zhihu.com/?target=https%3A//zhizhenyun.com.cn/" class=" wrap external" target="_blank" rel="nofollow noreferrer" data-za-detail-view-id="1043" style="text-decoration-line: none; cursor: pointer; border-bottom: 1px solid rgb(128, 128, 128);">服务器</a>。</p><p><br/></p><figure data-size="normal" style="margin: 1.4em 0px; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"></figure><p><br/></p><p data-pid="sR-9x9o5" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">VPS和VDS两者在功能上几乎是完全相同的,从表面上看是一样的东西,但还是有其本质上的区别,两者的主要区别在于底层操作系统和使用的虚拟技术上。下面介绍下VPS和VDS的区别是什么。</p><h2 style="margin: calc(2.33333em) 0px calc(1.16667em); font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; font-size: 1.2em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; clear: left; font-synthesis: style; color: rgb(18, 18, 18); white-space: normal; background-color: rgb(255, 255, 255);">01)一、技术上:</h2><p data-pid="Hpfmk902" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">VDS使用的是全虚拟化技术(Full-virtualization),提供了一个完全独立的虚拟服务器环境,即相当于一台真正的物理机器。在VDS上可以同时运行各种类型的操作系统。典型的技术平台有VMware, Hyper-V等。</p><p data-pid="ZfCN_w_6" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">VPS主要是基于软件层的虚拟化技术,即操作系统级虚拟技术(Operating system-level virtualization)。其可以不用虚拟硬件环境,但需要通过对Guest OS进行一些必要的修改。典型的技术平台有Virtozzo,OpenVZ。</p><p data-pid="JiKTKCSp" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">另外,值得一提的是,在实际中大家都习惯将Xen归类于VPS,但其使用的半虚拟化技术(Paravirtualization)在特点上更类似于VDS,所以也比较模棱两可吧。</p><h2 style="margin: calc(2.33333em) 0px calc(1.16667em); font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; font-size: 1.2em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; clear: left; font-synthesis: style; color: rgb(18, 18, 18); white-space: normal; background-color: rgb(255, 255, 255);">02)二、资源上:</h2><p data-pid="zhkqYCzB" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">VDS对CPU,内存和带宽等资源,一旦分配后,就始终只为自己所用。硬件资源会在运行前预先分配好,并且可分配的资源不得超出物理机器可分配的最大资源,即物理机器如果是2G内存,绝不能分配出4G来。拥有Swap内存。</p><p data-pid="nLvpugaW" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">VPS对CPU,内存和带宽等资源的占用则是共享的,所在每个VPS之间是会相互影响的。其资源分配则不受什么限制,如物理机器是2G内存,你可以虚拟分配出4G来,但是意义不大。没有Swap内存。</p><p data-pid="qhogJHP7" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">所以从资源分配方式上看,VDS显然是更稳定可靠的选择。VDS在虚拟服务提供商中还不多见,VPS则是当下最流行的,而且价格也比较便宜。</p><p><br/></p><figure data-size="normal" style="margin: 1.4em 0px; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"></figure><p><br/></p><h2 style="margin: calc(2.33333em) 0px calc(1.16667em); font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; font-size: 1.2em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; clear: left; font-synthesis: style; color: rgb(18, 18, 18); white-space: normal; background-color: rgb(255, 255, 255);">03)三、数量上:</h2><p data-pid="Q5h_lyLU" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">在虚拟的数量上,VDS由于更适合运用于对稳定可靠性要求比较高的应用中,所以通常在一台物理机器上只会运行3-4个左右的VDS。而VPS由于其底层开销比较少,执行效率要明显高于全虚拟,所以在一台物理机器上运行的VPS通常可以运行20-40个VPS。理论上VDS在一台服务器上可以虚拟上百个独立操作系统,但其结果可想而知,意义不大。</p><h2 style="margin: calc(2.33333em) 0px calc(1.16667em); font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; font-size: 1.2em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; clear: left; font-synthesis: style; color: rgb(18, 18, 18); white-space: normal; background-color: rgb(255, 255, 255);">04)四、安全上:</h2><p data-pid="TYVntwXr" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">VDS由于不论是硬件资源或者系统都是完全独立的,所以在受到攻击时,通常不会影响到同台服务器上的其他VDS。而VPS由于资源始终是共享同台服务器上的资源,所以当一台VPS受到攻击时,将直接会影响其他的所有VPS的运行。另外由于VPS没有Swap内存,所以一旦使用的内存超过了分配的内存,将会导致VPS直接死机之类的现象;而VDS因为拥有Swap内存,在严重超出的时候也不会立刻死机,但系统响应会非常的缓慢。总体上讲,两者都增强了物理机器的能力,安全性和可靠性。</p><h2 style="margin: calc(2.33333em) 0px calc(1.16667em); font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; font-size: 1.2em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; clear: left; font-synthesis: style; color: rgb(18, 18, 18); white-space: normal; background-color: rgb(255, 255, 255);">05)五、成本上:</h2><p data-pid="zvFAxdfC" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">从各方面的比较来看,VPS在成本要低于VDS。</p><h2 style="margin: calc(2.33333em) 0px calc(1.16667em); font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; font-size: 1.2em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; clear: left; font-synthesis: style; color: rgb(18, 18, 18); white-space: normal; background-color: rgb(255, 255, 255);">06)六、总结:</h2><p data-pid="VMZ1-ilB" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"><span style="font-weight: 600; font-synthesis: style;">相同点:</span>VPS和VDS都有自己的独立IP和硬盘空间、内存、网络带宽。</p><p data-pid="xkhNdSiq" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"><span style="font-weight: 600; font-synthesis: style;">不同点:</span>VPS是软件虚拟出的操作系统桌面不是独立的操作系统,VDS则是独立操作系统;</p><p data-pid="oXVxu2sN" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">使用VDS技术的服务器,可以独立的安装不同操作系统,用户重启的行为不影响其他的用户正常使用,病毒的隔离性也较好,文件的保密性也更好;而使用VPS技术的服务器,只可以安装一种操作系统,一个用户的重启行为会影响其他用户的正常使用。</p><p><br/></p><figure data-size="normal" style="margin: 1.4em 0px; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"></figure><p><br/></p><p data-pid="k_8fYA7S" style="margin-top: 1.4em; margin-bottom: 0px; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"><span style="font-weight: 600; font-synthesis: style;">关于VDS的</span>介绍就到这里了,有任何的问题</p><p><br/></p><link rel="stylesheet" href="//www.zhidianyun.cn/source/plugin/wcn_editor/public/wcn_editor_fit.css?v134_TZ8" id="wcn_editor_css"/>
页: [1]
查看完整版本: VDS是什么?VPS和VDS的区别详解!