Data Science Workshop (DSW) of Platform for AI (PAI) provides the following Secure Shell (SSH) connection methods: direct connection and proxy client connection. You can select a connection method that meets your business requirements for remote instance connection based on resource dependencies, usage methods, and limits.
Connection methods
You can use one of the following methods to remotely connect to a DSW instance:
Direct connection
You can enable SSH for a DSW instance to directly connect to the instance over SSH. For more information, see Directly connect to a DSW instance.
Proxy client connection
You can configure a proxy client to connect to a DSW instance over SSH from an on-premises host. For more information, see Use a proxy client to connect to a DSW instance.
Comparison
The following table describes the two connection methods. The direct connection method provides higher stability than the proxy client connection. However, only specific instance types support direct connection. The proxy client connection is supported by all instance types and eliminates the need to purchase an Internet NAT gateway. However, you need to download a proxy tool.
Item | Direct connection (recommend) | Proxy client connection | |
Resource dependency | Virtual Private Cloud (VPC) | Required. | Optional. PAI internal network is used. |
Internet network address translation (NAT) gateway | If you want to enable Internet access, you must purchase an Internet NAT gateway. | Optional. PAI internal network is used. | |
Destination network address translation (DNAT) entry | If you want to enable Internet access, you must create a DNAT entry for the Internet NAT gateway. | Optional. 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 | Use the SSH public key or SSH private key for authentication. |
| |
Limits | Network |
| Access over the Internet |
Bandwidth | The bandwidth varies based on the DSW instance type and the Internet access gateway:
| Shared public bandwidth | |
Instance type | Only the following instance types are supported:
| All DSW instances | |
Stability | High stability | Medium stability | |
Remote desktop | Not supported | Not supported |