All Products
Search
Document Center

Platform For AI:how to connect to a DSW instance

Last Updated:Jan 04, 2025

DSW offers two SSH connection options to accommodate the need for flexible remote access: direct SSH and proxy client connections. Consider resource dependencies, usage, and limitations when selecting the method that best fits your requirements.

Connection methods

DSW supports two remote connection methods:

  • Direct SSH Connection

    Enable SSH logon to directly connect to your DSW instance via SSH. For more information, see direct SSH connection.

  • Proxy Client Connection

    Configure a proxy client to establish an SSH connection to a DSW instance from an on-premises host. For more information, see proxy client connection.

Advantages comparison

Choose the most suitable SSH connection method by comparing their advantages. Direct connections are typically more stable and quicker but are limited to certain instance types. Proxy client connections support all instance types and do not require the purchase of an Internet NAT gateway. However, this method necessitates downloading a proxy tool:

Comparison item

Direct SSH connection (recommended)

Proxy client connection

Resource dependency

Virtual private cloud (VPC)

Required.

Not required. Platform for AI (PAI) internal network is used.

Internet NAT gateway

If you want to enable Internet access, you must purchase an Internet NAT gateway.

Not required. PAI internal network is used.

DNAT entry

If you want to enable Internet access, you must create a DNAT entry for the Internet NAT gateway.

Not required. PAI internal network is used.

Usage

SSH client

Use an SSH client to directly access the DSW instance.

You need to download and configure a proxy client. Then, use an SSH client to access the DSW instance.

Authentication method

Use the SSH public key or SSH private key for authentication.

  1. To perform authentication, specify information such as the Alibaba Cloud AccessKey pair in the proxy client.

  2. Perform authentication by using the SSH public key or SSH private key.

Limits

Access URL

  • Access over the Internet.

  • Access over the VPC.

Access over the Internet.

Bandwidth

The bandwidth depends on the DSW instance type and the Internet access gateway:

  • Public Internet Gateway: shared public bandwidth.

  • Private Internet Gateway: exclusive to individual users.

Shared public bandwidth.

DSW instances

Only the following instance types are supported:

  • DSW instances that are created by using Lingjun resources in the China (Ulanqab) and Singapore regions.

  • Pay-as-you-go DSW instances that are created by using public resource groups in the China (Hangzhou), China (Shanghai), China (Beijing), China (Shenzhen), and Singapore regions.

All DSW instances.

Stability

High

Medium

Microsoft Remote Desktop

Not supported

Not supported