NVIDIA RTX 虚拟工作站云 v10

快速入门指南

NVIDIA RTX 虚拟工作站 (在 Amazon Web Services 弹性计算云上) 快速入门指南

适用于所有 NVIDIA RTX 虚拟工作站 AWS EC2 用户的入门信息。

云中的 NVIDIA® RTX™ 虚拟工作站是一个 NVIDIA 虚拟机镜像 (VMI),预配置了 NVIDIA RTX 虚拟工作站软件和 NVIDIA GPU 硬件。NVIDIA RTX 企业驱动程序已预装在 VMI 上,NVIDIA 确保镜像始终与最新的 NVIDIA RTX ISV 认证、补丁和升级保持同步。入门帮助和技术信息可在 NVIDIA RTX 虚拟工作站 (vWS) on CSP Marketplace 社区论坛和更多资源中找到。

1.1. 创建 GPU 加速的虚拟工作站

准备从 Amazon Web Services 弹性计算云 Marketplace 创建 GPU 加速的虚拟工作站,步骤如下

  1. 在 Web 浏览器中,登录 Amazon EC2 控制台 (https://console.aws.amazon.com/ec2/)
  2. 转到您要使用的访客操作系统的 NVIDIA RTX 虚拟工作站列表
  3. 点击查看详情链接,查看 NVIDIA RTX 虚拟工作站的每小时定价。此外,还有 Amazon Web Services 弹性计算云基础设施成本,用于 GPU、内存和存储。
  4. 选择最具成本效益的区域和您要在其上部署 GPU 加速的虚拟工作站的 EC2 实例类型。NVIDIA RTX 虚拟工作站在 Amazon Web Services 弹性计算云上唯一可用的交付选项是 64 位 (x86) Amazon Machine Image (AMI)。
  5. 点击继续订阅
  6. 在打开的“订阅此软件”页面中,点击接受条款
  7. 订阅完成后,点击继续配置
  8. 在打开的“配置此软件”页面中,选择以下选项
    • 您要在实例中运行的 NVIDIA vGPU 软件图形驱动程序的软件版本
    • 您希望部署实例的区域

    NVIDIA RTX 虚拟工作站在 Amazon Web Services 弹性计算云上唯一可用的交付选项是 64 位 (x86) Amazon Machine Image (AMI)

  9. 点击继续启动
  10. 在打开的“启动此软件”页面上,从选择操作下拉列表中,选择用于启动实例的操作。
    • 要从“启动此软件”页面启动实例,请选择从网站启动

      如果您选择此选项,则其他选项将保留在此页面上,以便您从此页面配置实例。

    • 要从 Amazon EC2 控制台页面启动实例,请选择通过 EC2 启动

      如果您选择此选项,则其他选项将从此页面中删除,以便您使用启动实例向导配置实例。

  11. 配置并启动实例。

    出现提示时,请确保您创建或添加密钥对到为此实例授权的密钥集中。如果您在没有密钥对的情况下继续,您将无法登录到实例。

    实例启动后,将显示一个确认页面,其中包含指向 EC2 控制台上实例的链接。

  12. 在启动确认页面中,点击指向 EC2 控制台上实例的链接,以确认实例正在运行且所有状态检查均已完成。
  13. 如果您正在创建 Windows 实例并希望通过 RDP 连接到实例,请编辑实例的安全组以添加 RDP 安全规则,从而为 TCP 连接打开端口 3389。

按照您选择的操作系统的说明连接到实例

连接到实例后,按照 验证 GPU 加速的虚拟工作站的创建 中的说明验证其是否已正确创建

1.2. 连接到 Windows VM 实例上的 GPU 加速的虚拟工作站

注意

有关 Linux VM 的说明,请参阅 连接到您的 Linux 实例,出自 Amazon EC2 Linux 实例用户指南


  1. 在 EC2 控制面板上的实例列表中,选择实例并点击连接
  2. 在打开的连接到您的实例窗口中,下载 RDP 文件并获取用于连接到您的实例的密码。
    1. 点击下载远程桌面文件
    2. 点击获取密码
    3. 出现提示时,指定与此实例关联的密钥对文件的路径,然后点击解密密码

    qvws-amazon-web-services-ec2-connect-windows.png

  3. 远程桌面文件下载完成后,双击该文件以在 VM 上启动远程桌面连接会话。
  4. 如果您收到警告,指出无法识别远程连接的发布者,并询问是否仍要连接,请点击连接
  5. 出现提示时,使用用户名 Administrator 和您之前获得的密码登录到 VM。
  6. 如果您收到警告,指出无法识别远程连接的发布者,并询问是否仍要连接,请点击
  7. 关闭连接到您的实例窗口。

连接到 GPU 加速的虚拟工作站后,按照 验证 GPU 加速的虚拟工作站的创建 中的说明验证其是否已正确创建。

1.3. 验证 GPU 加速的虚拟工作站的创建

连接到 GPU 加速的虚拟工作站后,通过列出其 GPU 来验证其是否已正确创建。在 Windows VM 实例上,您还可以使用 NVIDIA 控制面板来验证 NVIDIA 驱动程序是否正在运行。

详情请参阅

验证 GPU 加速的虚拟工作站的创建后,您现在可以运行您的设计和工程软件了。

1.3.1. 验证 Windows VM 实例上的 GPU 加速的虚拟工作站的创建

  1. 打开命令提示符窗口,并更改到包含 nvidia-smi 命令的文件夹。
    复制
    已复制!
                

    C:\Users\Administrator>cd C:\Program Files\NVIDIA Corporation\NVSMI

  2. 通过运行不带任何选项的 nvidia-smi 命令,列出 GPU 加速的虚拟工作站中的 GPU。以下示例显示了为配置了四个 NVIDIA V100 GPU 的 Windows VM 实例运行 nvidia-smi 的输出。
    复制
    已复制!
                

    C:\Program Files\NVIDIA Corporation\NVSMI>nvidia-smi Fri Jul 12 01:33:40 2019 +-----------------------------------------------------------------------------+ | NVIDIA-SMI 425.31 Driver Version: 425.31 CUDA Version: 10.1 | |-------------------------------+----------------------+----------------------+ | GPU Name TCC/WDDM | Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | |===============================+======================+======================| | 0 Tesla V100-SXM2... WDDM | 00000000:00:1B.0 Off | 0 | | N/A 42C P0 37W / 300W | 343MiB / 16384MiB | 1% Default | +-------------------------------+----------------------+----------------------+ | 1 Tesla V100-SXM2... WDDM | 00000000:00:1C.0 Off | 0 | | N/A 41C P0 38W / 300W | 239MiB / 16384MiB | 0% Default | +-------------------------------+----------------------+----------------------+ | 2 Tesla V100-SXM2... WDDM | 00000000:00:1D.0 Off | 0 | | N/A 43C P0 40W / 300W | 239MiB / 16384MiB | 0% Default | +-------------------------------+----------------------+----------------------+ | 3 Tesla V100-SXM2... WDDM | 00000000:00:1E.0 Off | 0 | | N/A 42C P0 38W / 300W | 239MiB / 16384MiB | 0% Default | +-------------------------------+----------------------+----------------------+ +-----------------------------------------------------------------------------+ | Processes: GPU Memory | | GPU PID Type Process name Usage | |=============================================================================| | 0 1256 C+G Insufficient Permissions N/A | | 0 1536 C+G ...t_cw5n1h2txyewy\ShellExperienceHost.exe N/A | | 0 4244 C+G C:\Windows\explorer.exe N/A | | 0 4340 C+G Insufficient Permissions N/A | | 0 5724 C+G ...dows.Cortana_cw5n1h2txyewy\SearchUI.exe N/A | | 0 6044 C+G Insufficient Permissions N/A | +-----------------------------------------------------------------------------+

  3. 启动 NVIDIA 控制面板以验证 NVIDIA 驱动程序是否正在运行。
    1. 右键点击桌面。
    2. 从打开的菜单中,选择 NVIDIA 控制面板
  4. 在 NVIDIA 控制面板中,从帮助菜单中,选择系统信息以获取有关 GPU 的信息。

    NVIDIA 控制面板报告正在使用的 GPU、其功能以及已加载的 NVIDIA 驱动程序版本。

    qvws-amazon-web-services-ec2-nvcpl.png

1.3.2. 验证 Linux VM 实例上的 GPU 加速的虚拟工作站的创建

通过运行不带任何选项的 nvidia-smi 命令,列出 GPU 加速的虚拟工作站中的 GPU。

以下示例显示了为配置了四个 NVIDIA V100 GPU 的 Linux VM 实例运行 nvidia-smi 的输出。

复制
已复制!
            

ubuntu@ip-172-31-16-135:~$nvidia-smi Fri Jul 12 01:47:40 2019 +-----------------------------------------------------------------------------+ | NVIDIA-SMI 425.31 Driver Version: 425.31 CUDA Version: 10.1 | |-------------------------------+----------------------+----------------------+ | GPU Name TCC/WDDM | Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | |===============================+======================+======================| | 0 Tesla V100-SXM2... WDDM | 00000000:00:1B.0 Off | 0 | | N/A 42C P0 37W / 300W | 343MiB / 16384MiB | 1% Default | +-------------------------------+----------------------+----------------------+ | 1 Tesla V100-SXM2... WDDM | 00000000:00:1C.0 Off | 0 | | N/A 41C P0 38W / 300W | 239MiB / 16384MiB | 0% Default | +-------------------------------+----------------------+----------------------+ | 2 Tesla V100-SXM2... WDDM | 00000000:00:1D.0 Off | 0 | | N/A 43C P0 40W / 300W | 239MiB / 16384MiB | 0% Default | +-------------------------------+----------------------+----------------------+ | 3 Tesla V100-SXM2... WDDM | 00000000:00:1E.0 Off | 0 | | N/A 42C P0 38W / 300W | 239MiB / 16384MiB | 0% Default | +-------------------------------+----------------------+----------------------+ +-----------------------------------------------------------------------------+ | Processes: GPU Memory | | GPU PID Type Process name Usage | |=============================================================================| | No running processes found | +-----------------------------------------------------------------------------+ ubuntu@ip-172-31-16-135:~$

通知

This document is provided for information purposes only and shall not be regarded as a warranty of a certain functionality, condition, or quality of a product. NVIDIA Corporation (“NVIDIA”) makes no representations or warranties, expressed or implied, as to the accuracy or completeness of the information contained in this document and assumes no responsibility for any errors contained herein. NVIDIA shall have no liability for the consequences or use of such information or for any infringement of patents or other rights of third parties that may result from its use. This document is not a commitment to develop, release, or deliver any Material (defined below), code, or functionality.

NVIDIA reserves the right to make corrections, modifications, enhancements, improvements, and any other changes to this document, at any time without notice.

Customer should obtain the latest relevant information before placing orders and should verify that such information is current and complete.

NVIDIA products are sold subject to the NVIDIA standard terms and conditions of sale supplied at the time of order acknowledgement, unless otherwise agreed in an individual sales agreement signed by authorized representatives of NVIDIA and customer (“Terms of Sale”). NVIDIA hereby expressly objects to applying any customer general terms and conditions with regards to the purchase of the NVIDIA product referenced in this document. No contractual obligations are formed either directly or indirectly by this document.

NVIDIA products are not designed, authorized, or warranted to be suitable for use in medical, military, aircraft, space, or life support equipment, nor in applications where failure or malfunction of the NVIDIA product can reasonably be expected to result in personal injury, death, or property or environmental damage. NVIDIA accepts no liability for inclusion and/or use of NVIDIA products in such equipment or applications and therefore such inclusion and/or use is at customer’s own risk.

NVIDIA makes no representation or warranty that products based on this document will be suitable for any specified use. Testing of all parameters of each product is not necessarily performed by NVIDIA. It is customer’s sole responsibility to evaluate and determine the applicability of any information contained in this document, ensure the product is suitable and fit for the application planned by customer, and perform the necessary testing for the application in order to avoid a default of the application or the product. Weaknesses in customer’s product designs may affect the quality and reliability of the NVIDIA product and may result in additional or different conditions and/or requirements beyond those contained in this document. NVIDIA accepts no liability related to any default, damage, costs, or problem which may be based on or attributable to: (i) the use of the NVIDIA product in any manner that is contrary to this document or (ii) customer product designs.

No license, either expressed or implied, is granted under any NVIDIA patent right, copyright, or other NVIDIA intellectual property right under this document. Information published by NVIDIA regarding third-party products or services does not constitute a license from NVIDIA to use such products or services or a warranty or endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual property rights of the third party, or a license from NVIDIA under the patents or other intellectual property rights of NVIDIA.

Reproduction of information in this document is permissible only if approved in advance by NVIDIA in writing, reproduced without alteration and in full compliance with all applicable export laws and regulations, and accompanied by all associated conditions, limitations, and notices.

THIS DOCUMENT AND ALL NVIDIA DESIGN SPECIFICATIONS, REFERENCE BOARDS, FILES, DRAWINGS, DIAGNOSTICS, LISTS, AND OTHER DOCUMENTS (TOGETHER AND SEPARATELY, “MATERIALS”) ARE BEING PROVIDED “AS IS.” NVIDIA MAKES NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT, MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE. TO THE EXTENT NOT PROHIBITED BY LAW, IN NO EVENT WILL NVIDIA BE LIABLE FOR ANY DAMAGES, INCLUDING WITHOUT LIMITATION ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL, PUNITIVE, OR CONSEQUENTIAL DAMAGES, HOWEVER CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF ANY USE OF THIS DOCUMENT, EVEN IF NVIDIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Notwithstanding any damages that customer might incur for any reason whatsoever, NVIDIA’s aggregate and cumulative liability towards customer for the products described herein shall be limited in accordance with the Terms of Sale for the product.

VESA DisplayPort

DisplayPort 和 DisplayPort Compliance Logo、Dual-mode Sources 的 DisplayPort Compliance Logo 以及 Active Cables 的 DisplayPort Compliance Logo 是视频电子标准协会在美国和其他国家/地区拥有的商标。

HDMI

HDMI、HDMI 标志和高清晰度多媒体接口是 HDMI Licensing LLC 的商标或注册商标。

OpenCL

OpenCL 是 Apple Inc. 的商标,已获得 Khronos Group Inc. 的许可使用。

商标

NVIDIA、NVIDIA 标志、NVIDIA GRID、NVIDIA GRID vGPU、NVIDIA Maxwell、NVIDIA Pascal、NVIDIA RTX、NVIDIA Turing、NVIDIA Volta 和 Tesla 是 NVIDIA Corporation 在美国和其他国家/地区的商标或注册商标。其他公司和产品名称可能是与其相关的各自公司的商标。

版权所有

© 2024 NVIDIA Corporation。保留所有权利。

© 版权所有 2024,NVIDIA。 上次更新时间:2024 年 8 月 20 日。