Application Scenario
This document shows you how to create a dev machine instance in TI-ONE.
Directions
1. Log in to the TI-ONE console and click Dev Machine in Menu Bar. The page will navigate to the instance list page of the dev machine. This page will list all dev machine instances created by the user. 2. On the dev machine instance list page, click Create in the upper left corner to go to the settings page for creating a dev machine instance. Then, enter the following information:
Name: Specifies the name of a dev machine. It should not exceed 60 characters and may only contain Chinese and English characters, digits, underscores (_), and hyphens (-). Additionally, it should start with a Chinese or English character or a digit.
Region: This field is non-modifiable and will automatically display the region you selected on the platform.
Image: You can choose an image to start the dev machine. You can view the list of supported images in Built-in Training Image List. Among them, Tilearn-llm-related training images come with the latest version of the Angel acceleration component, Tilearn-llm, which can be directly used to accelerate the training of some open-source large models. For a detailed guide, see introduction to Angel training acceleration feature. Billing Mode: The options include pay-as-you-go and yearly/monthly subscription. If pay-as-you-go is selected, the computing specification and node quantity should be selected. If yearly/monthly subscription is selected, create a resource group and purchase nodes first. For related operations, see resource group management. After selecting a resource group, select the corresponding computing resources. You can view the supported billing specifications in billing overview. Storage Path Settings: You can select high-performance cloud block storage, Cloud SSD, and CFS (including CFS Turbo) file systems. Multiple storage paths can be configured. To ensure that a development machine instance works normally, the first selected storage path will be mounted to the default work directory /home/tione/notebook of the development machine.
If a Premium Disk or cloud SSD is selected, the platform will mount the hard disk you requested to the working directory of your dev machine container. The minimum size of the hard disk storage volume you can request is 10 GB and should be a multiple of 10. (Cloud disk is only available for dev machine instances in pay-as-you-go billing mode.)
If a CFS file system is selected, enter the source directory and container mounting path of the CFS file system. The platform will mount the source directory of the CFS file system to the specified container mounting path.
Tag: You can add a tag to a dev machine, or multiple tags.
Advanced settings (collapsed by default):
Environment Variable: Multiple environment variables can be added.
CLS: You can determine whether to enable CLS.
Lifecycle Configuration: You can determine whether to use lifecycle scripts.
Git Repository: The field is optional. You can go to Git Repository > Add Repository to make configurations.
Automatic Stop: When this option is enabled, an instance will automatically stop when its running time exceeds the specified duration. Please note that stopped computing resources will not be charged, but charges will still apply for storage resources. The automatic stop duration is measured in hours and ranges from 1 to 24 hours
SSH Connection: You can choose whether to enable the SSH connection feature. If this feature is enabled, you can access this instance from other machines. You need to enter the content of the ~/.ssh/id_rsa.pub file from the machine initiating the SSH login. If the file does not exist, generate one by running the ssh-keygen command. Please ensure that the private key matches when initiating the SSH login. Enter multiple public keys if you need to initiate the SSH login from multiple machines. You can add multiple public keys by pressing the Enter key.
VPC and Subnet: In the platform, you can configure VPC and subnet for a dev machine container. When VPC and subnet are selected, the dev machine container will be able to access other cloud products under the same network.
Direct Internet Access: By default, no VPC is used for a dev machine. This means that no VPC is configured for a dev machine container. In this case, internet access is enabled by default. If VPC and subnet are selected, the dev machine container will be configured with this private network. After the configuration, the dev machine container can access other cloud services under the same VPC network. You can choose to disable Direct Internet Access after selecting VPC and subnet. At this point, the dev machine container will be unable to access the internet. (In yearly/monthly subscription billing mode, a dev machine instance can access the internet by default. Therefore, you do not need to select this option.)
3. Click Create and a new instance record will be added to the dev machine list. When the instance status changes from Starting to Running, click Open to access the dev machine instance.