检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
How Do I Reduce the Size of an Image Created Locally or on ECS? Choose a smaller image that fits your needs.
Creating a Custom Image on an ECS and Using It in Notebook Application Scenarios and Process Step 1 Preparing a Docker Server and Configuring an Environment Step 2 Creating a Custom Image Step 3 Registering a New Image Step 5 Creating and Starting a Development Environment Parent
Run the following command on the Docker ECS to configure the environment: bash install_on_ubuntu1804.sh Figure 3 Configured source /etc/profile The installation script is executed to: Install Docker.
Troubleshooting an Unreachable ECS Port Common Ports Used by ECSs More Operating Systems Why Is My Windows ECS Muted? How Can I Install GUI on a Linux ECS?
Debugging an SWR Image on an ECS ma-cli allows you to debug an SWR image on an ECS to determine whether to use the image in a ModelArts development environment.
High-Risk Operations When you perform operations on ModelArts Lite Cluster resources on the CCE, ECS, or BMS console, certain resource pool functions may be abnormal. The table below shows common risky operations.
For details, see How Can I Use SCP to Transfer Files Between a Local Linux Computer and a Linux ECS?
Running a Multi-Node Multi-Card GPU-based Training Job on ModelArts Standard Process Preparations Purchasing Service Resources (VPC, SFS, OBS, SWR, and ECS) Assigning Permissions Creating a Dedicated Resource Pool (connecting to the VPC) Mounting an SFS Turbo File System to an ECS
Figure 2 Locating the target dedicated resource pool Figure 3 Obtaining the network configuration Figure 4 Interconnecting the VPC Create an ECS in the VPC. Log in to the ECS management console and click Buy ECS in the upper right corner.
To use a key pair, see Logging In to a Linux ECS Using an SSH Key Pair. To use a key pair, see Logging In to a Linux ECS Using an SSH Password. Parent topic: Configuring Lite Cluster Resources
You can purchase an ECS of the same specifications or use an existing local host to create a custom image. For details about how to purchase an ECS, see Purchasing and Logging In to a Linux ECS. When creating the ECS, select an Ubuntu 18.04 public image.
Creating a VPC Elastic Cloud Server (ECS) ECSs are more cost-effective than physical servers. Within minutes, you can obtain ECS resources from the cloud service platform. ECS resources are flexible and on-demand. You can use ECS to mount SFS Turbo storage.
If the Docker ECS runs on GPUs, install nvidia-docker2 to mount the GPUs to the Docker container. Parent topic: Creating a Custom Image on an ECS and Using It in Notebook
Figure 2 Obtaining the network configuration Figure 3 Interconnecting the VPC Create an ECS in the VPC. Log in to the ECS management console and click Buy ECS in the upper right corner. On the Buy ECS page, configure basic settings and click Next: Configure Network.
Figure 2 Obtaining the network configuration Figure 3 Interconnecting the VPC Create an ECS in the VPC. Log in to the ECS management console and click Buy ECS in the upper right corner. On the Buy ECS page, configure basic settings and click Next: Configure Network.
Associated Services Using a custom image may require the following cloud services: Software Repository for Container (SWR), Object Storage Service (OBS), and Elastic Cloud Server (ECS).
Figure 1 Creating and debugging an image Parent topic: Creating a Custom Image on an ECS and Using It in Notebook
Figure 2 Checking the conda environment Parent topic: Creating a Custom Image on an ECS and Using It in Notebook
Parent topic: Creating a Custom Image on an ECS and Using It in Notebook
pip install torch==1.8.1 torchvision==0.9.1 && \ pip install ipykernel==6.7.0 && \ conda init bash && \ conda deactivate #Install FFmpeg and GCC USER root RUN apt-get -y install ffmpeg && \ apt -y install gcc-8 g++-8 Parent topic: Creating a Custom Image on an ECS