All Products
Search
Document Center

Platform For AI:Overview

Last Updated:Jun 20, 2024

Data Science Workshop (DSW) of Platform for AI (PAI) provides the following SSH connection methods: direct connection and proxy client connection. You can select a connection method that meets your business requirements based on resource dependencies, usage methods, and limits.

Connection methods

You can use one of the following methods to connect to a DSW instance:

Comparison

The following table describes the two connection methods. The direct connection method is more stable and faster, but supports limited instance types. The proxy client connection method supports all instance types and eliminates the need to purchase an Internet NAT gateway. However, you must download a proxy tool.

Item

Direct connection

Proxy client connection

Resource dependency

Virtual private cloud (VPC)

Required.

Not required. PAI internal network is used.

Internet NAT gateway

If you want to access your DSW instance over the Internet, you must purchase an Internet NAT gateway.

Not required. PAI internal network is used.

DNAT entry

If you want to enable your DSW instance to provide services over the Internet, you must create a DNAT entry for the Internet NAT gateway.

Not required. PAI internal network is used.

Usage methods

SSH client

Use an SSH client to directly access the DSW instance.

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

Authentication

Use the SSH public or private key for authentication.

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

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

Limits

Network

  • 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