Creating a Runtime Environment
A runtime environment is a notebook instance. This section describes how to create a notebook instance.
Preparations
- Create a resource group. For details about how to create a resource group, see Managing Notebook Resource Groups.
- The system provides images that you can directly use. You can also create a custom image by following the instructions in Creating a Custom Image.
Constraints
- You can create a maximum of 10 notebook runtime environments in the current workspace.
- The permissions of preset roles are as follows: You can select a proper role to perform desired operations.
- If you are the administrator of the current workspace or have the DAYU Administrator or Tenant Administrator permissions, you can create runtime environments owned by yourself and delete, operate, query, and edit all runtime environments in the workspace. To create a runtime environment for another user, you need to create a runtime environment owned by yourself first, and then change the environment owner to the target user.
- As a developer, you can create, delete, operate, query, and edit runtime environments owned by yourself.
- If you are assigned a custom role and have the create permission, you can only create and manage runtime environments owned by yourself. If you have the delete, operate, query, and edit permissions, you can perform the corresponding operations on all runtime environments in the workspace. You can change the owner of a runtime environment only if you have the edit permission on the environment. For details about how to create a custom role, see (Optional) Defining a Workspace Role.
- If you are assigned both a preset role and a custom role, you have permissions of both roles.
- You cannot share your notebook runtime environments with others.
- Notebook runtime environments are owned by and can only be used by individuals.
Creating a Runtime Environment
- Log in to the DataArts Studio console.
For details, see Accessing the DataArts Studio Instance Console.
- On the DataArts Studio console, locate a workspace and click DataArts Factory.
- In the lower right corner of the DataArts Factory page, click Runtime Environment Unavailable. The following message is displayed: "An individual development environment is an account-level development instance on the cloud that supports interactive Python programming based on notebooks. You have no environment." Figure 1 Runtime Environment Unavailable
- If there is a runtime environment in the current workspace, Individual Development Environment is displayed in the lower right corner. You can click Individual Development Environment to view the runtime environment and click Manage Environment to view details of the environment. Figure 2 Viewing the environment name
- If there is no runtime environment, click Runtime Environment Unavailable, Manage Environment, and Create Runtime Environment to create a runtime environment. Figure 3 Creating a runtime environment
- If there is a runtime environment in the current workspace, Individual Development Environment is displayed in the lower right corner. You can click Individual Development Environment to view the runtime environment and click Manage Environment to view details of the environment.
- Click Create Environment. On the Create Runtime Environment page, set the following parameters.
Table 1 Creating a notebook Parameter
Description
Runtime Environment Name
Name of the runtime environment, which contains a maximum of 128 characters.
Owner
Owner of the runtime environment.
Resource Group
Resource group to which the notebook belongs. For details about how to view or create resource groups, see Managing Notebook Resource Groups.
Runtime Resource Specifications
- 1CU (1U4G) (free)
- 2CU (2U8G)
- 4CU (4U16G)
- 8CU (8U32G)
- 16CU (16U64G)
1 CU means 1 vCPU and 4 GB of memory
Image
For details about how to view or create images, see Managing Images.
You can select a custom image or system image.
Auto stop
Select this option. Then the runtime environment will automatically stop if no operation is performed within the specified period. The period ranges from 1 hour to 72 hours. It is 1 hour by default.
Description (Optional)
Description, which can contain a maximum of 1,000 characters
Figure 4 Creating a runtime environment
- Click Create in the lower right corner to submit the creation request. The creation takes about one minute. You can also create a runtime environment by referring to Managing Notebook Resources.
You can view all the runtime environments you have created in the lower right corner of the page or by clicking Manage Environment.
Before using a runtime environment, run it first.
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot