All Products
Search
Document Center

Elastic Compute Service:Migrate open source software

Last Updated:Sep 20, 2023

Most operating systems are built based on open source software, and most open source software is supported by ARM-based YiTian platforms. You can directly use open source software that is provided in operating systems. This topic describes how to use open source software such as NGINX, MySQL, Redis, TensorFlow, and PyTorch on YiTian Elastic Compute Service (ECS) instances.

Nginx

NGINX is a high-performance HTTP and reverse proxy server, Weband serves as a mail proxy for IMAP, POP3, and SMTP protocols. You can install and use NGINX on YiTian instances.

sudo yum install nginx -y

MySQL

MySQL is a popular relational database management system. Due to its small size, fast speed, and low cost, MySQL is a great choice for web development. You can install and deploy MySQL on YiTian instances.

sudo yum install mysql -y

Redis

Redis is a high-performance key-value data store that is released under the open source Berkeley Software Distribution (BSD) license. Redis can be used as a database, cache, message broker, and streaming engine. You can install and deploy Redis on YiTian instances.

sudo yum install redis -y

TensorFlow

TensorFlow is an end-to-end open source platform for machine learning. TensorFlow provides a comprehensive and flexible ecosystem that consists of tools, libraries, and community resources. It is widely used to conduct research in machine learning and deep neural networks. We recommend that you use the following methods to work with TensorFlow on YiTian instances:

  • Use the official version of TensorFlow to create TensorFlow Docker images. For more information, see TensorFlow for AArch64.

    Use --build-type tensorflow and --build-target=neoverse-n2 to create TensorFlow Docker images that are compatible with YiTian instances.

  • Use Docker Hub to download official Docker images for ARM. For more information, see TensorFlow docker images for Arm Neoverse.

PyTorch

PyTorch is an open source Python machine learning framework based on the Torch library and is used for applications such as natural language processing (NLP). We recommend that you use the following methods to work with PyTorch on YiTian instances:

  • Use the official version of PyTorch to create PyTorch Docker images. For more information, see PyTorch for AArch64.

    Use --build-type pytorch and --build-target=neoverse-n2 to create PyTorch Docker images that are compatible with YiTian instances.

  • Use Docker Hub to download official Docker images for ARM. For more information, see PyTorch docker images for Arm Neoverse.