All Products
Search
Document Center

:Personal development environment

Last Updated:Dec 03, 2024

Personal development environments can be integrated with a Git repository and File Storage NAS (NAS) and support Python programming and notebook-based analysis. This topic describes how to use a personal development environment.

Features and scenarios

Data Studio allows you to create a personal development environment instance at the account level. After network connections are established, you can access a Git repository and NAS with ease to clone code in the Git repository, and develop and debug Python code and notebook code online. You can also commit code to a project directory for scheduling.

Personal development environment instances provide the following features:

  • Support SQL, AI notebook, and Python ecosystems, allow you to run Python and Shell scripts on your on-premises machine, and provide a code debugging feature.

  • Support the integration with a Git repository for code management. This way, you can clone, push, and manage code with ease.

  • Support the integration with NAS for data management and access.

  • Allow you to use custom images and support the connection with various external services to improve flexibility and extensibility.

Data Studio provides an efficient, flexible, and powerful development environment that allows you to perform operations, such as data processing, analysis, and model training, in a more convenient manner to improve the development efficiency and code quality.

Prerequisites

  • A workspace is created, and Participate in Public Preview of DataStudio of New Version is turned on. For more information about how to create a workspace, see Create a workspace.

  • A resource group is created and is associated with the created workspace. For more information, see Create and use a serverless resource group.

Billing

When you create a personal development environment instance, you must specify a resource group and a compute unit (CU) quota. You are charged for the resource group based on the number of CUs and the running duration of the resource group. For more information, see Billing of serverless resource groups.

Important

You are charged computing fees when your personal development environment instance is in the running state. If you no longer need to use a personal development environment instance, stop the instance on the instance management page at the earliest opportunity.

Precautions

  • You can select and use only a personal development environment instance that is created by using the current Alibaba Cloud account.

  • A maximum of 10 personal development environment instances can be created by each member in a workspace.

  • Descriptions for file deletion from the storage space of a personal development environment instance:

    • After you delete files from the NAS file system that is mounted to a personal development environment instance, the files cannot be found in the recycle bin of Data Studio. The default mount target of the NAS file system is /mnt/data. If you enable the recycle bin feature in the NAS console, the deleted files can be found in the recycle bin of the NAS file system.

    • After you delete files from the built-in storage space of a personal development environment instance, the files cannot be found in the recycle bin of Data Studio. The default storage directory of the personal development environment instance is /mnt/workspace.

Go to the page for creating a personal development environment instance

  1. Go to the Workspaces page in the DataWorks console. In the top navigation bar, select a desired region. Find the desired workspace and choose Shortcuts > Data Studio (New Version) in the Actions column.

  2. In the top navigation bar, click Select Personal development environment.

Create a personal development environment instance

  • If no personal development environment instance is available, click go to new to create one.

    image

  • If a personal development environment instance exists, click Management Environment, and then click New Instance in the Personal Development Environment Instances panel to create a personal development environment instance.

    image

Parameters that are involved in creating a personal development environment instance:

Required parameters

Parameter

Description

Instance Name

The name of the personal development environment instance. You can specify a custom name.

Resource Group

Select a serverless resource group for the personal development environment instance.

Resource Group Quota

Select the CU specifications that can be used by the selected resource group. You can specify an upper limit for the resources that can be used by the current personal development environment instance on the quota management page of the selected serverless resource group.

Select Image

Select an image based on your business requirements.

System Disks

Each personal development environment instance comes with a cloud disk that has a free quota of 30 GiB. The cloud disk is reclaimed 15 days after the instance is stopped.

The default path of the built-in storage space of a personal development environment instance is /mnt/workspace.

Optional parameters

  • Add Storage Source

    Note

    You can click Add Storage Source to mount a NAS file system to your personal development environment instance. This way, you can develop files that are stored in the NAS file system in Data Studio, and persistently store the scripts and files that are developed in Data Studio in the NAS file system.

    Parameter description

    Parameter

    Description

    Data Storage

    The data storage. Valid values: General-purpose NAS and Extreme NAS.

    File System

    Select an existing file system.

    File system mount point

    Select a mount target for the file system. If no mount target is available, click New Mount Point to create one.

    File System Path

    The mount path and the subpath of the file system. You can log on to the NAS console to query the paths of the file system. For more information, see the Query the mount status of an ECS instance section of the "Mount an NFS file system in the NAS console" topic.

    • Enter the value in the Mount Path column in Area 1 in the following figure in the Default mount path field.

    • Enter the value in the NAS Directory column in Area 2 in the following figure in the File System Path field. If the specified file system path does not exist in the file system, the personal development environment instance cannot be created.

    image

    Default mount path

  • Networking

    Note

    The network settings are optional. You can configure network settings in the following business scenarios:

    • If you want to access a resource in a virtual private cloud (VPC), configure the VPC, Security Group, and vSwitch parameters in the Networking section.

    • If you do not need to access resources in a VPC, you do not need to specify a VPC. By default, a personal development environment supports Internet access.

    • If you want to access resources in a VPC and over the Internet at the same time, you must specify a VPC and configure a private Internet NAT gateway for the VPC.

    Parameter description

    Parameter

    Description

    VPC

    We recommend that you select the VPC configured for the data source that you want to use for task development. This helps reduce additional configurations for network connectivity.

    Security Group

    Select an existing security group for mounting.

    vSwitch

    Optional. If you do not configure this parameter, the system randomly selects a vSwitch based on the selected VPC.

  • Advanced Information

    Parameter

    Description

    Instance RAM Role

    You can associate a RAM role with a personal development environment instance to enable the instance to access other cloud services based on temporary credentials of Security Token Service (STS). The temporary credentials are periodically updated. This ensures the security of your AccessKey pair and helps you implement fine-grained permission management by using RAM. By default, this parameter is set to DataWorks Default Role.

Stop or delete a personal development environment instance

  1. In the top navigation bar, click Select Personal development environment. Then, click Management Environment.

  2. Stop or delete a personal development environment instance.

    • Stop: If you temporarily do not need to use a personal development environment instance, we recommend that you stop the instance to avoid unnecessary charges. To stop a personal development environment instance, find the instance in the Personal Development Environment Instances panel and click Stop in the Actions column.

    • Delete: If you want to release a personal development environment instance, find the instance in the Personal Development Environment Instances panel and click Delete in the Actions column. In the Delete message, click Delete Instance.

References

  • You can create a custom image from your personal development environment instance and use the custom image when you develop nodes.

  • For more information about how to connect a personal development environment with a Git repository to clone, push, and manage code, see Connect a personal development environment to a Git repository.