This topic describes the frequently asked questions (FAQ) about Aliyun Linux 2 images and their solutions.

What are the differences between Aliyun Linux and Aliyun Linux 2?

Aliyun Linux 2 differs in the following aspects:
  • Aliyun Linux 2 is optimized for containers to better support cloud-native applications.
  • Aliyun Linux 2 is equipped with an updated Linux kernel and updated user-mode packages.

How do I use Aliyun Linux 2 in Alibaba Cloud public cloud?

Alibaba Cloud provides public images for Aliyun Linux 2. You can choose Public Image > Aliyun Linux, and then select a version of Aliyun Linux 2 image when you create an ECS instance.

Will I be charged for using Aliyun Linux 2 in Alibaba Cloud ECS?

No, Aliyun Linux 2 images are free of charge. You will only be charged for the ECS instances to which the images are applied.

Which ECS instance types does Aliyun Linux 2 support?

Aliyun Linux 2 supports most ECS instance types, including ECS Bare Metal Instance types.
Note Aliyun Linux 2 does not support instances on the Xen virtual machine monitor.

Does Aliyun Linux 2 support 32-bit applications or libraries?

No. Aliyun Linux 2 does not support 32-bit applications or libraries.

Does Aliyun Linux 2 provide a graphical user interface (GUI) desktop?

No. Aliyun Linux 2 does not provide a GUI desktop.

Can I view the source code of Aliyun Linux 2 components?

Yes. Aliyun Linux 2 is open source. You can use the yumdownloader tool or visit the official Alibaba Cloud download pages to download the source code package. You can also download the source code tree of the Aliyun Linux kernel from GitHub. For more information, visit Github.

Is Aliyun Linux 2 backward-compatible with the current Aliyun Linux version?

Yes. Aliyun Linux 2 is compatible with Aliyun Linux 17.01.
Note You may need to re-compile a compiled kernel module on Aliyun Linux 2 before it can be used.

Can I use Aliyun Linux 2 on an on-premises environment?

Yes, you can use Aliyun Linux 2 on an on-premises environment. Aliyun Linux 2 provides local images in the qcow2 format. These images are supported only for Kernel-based virtual machines (KVMs). For more information, see Use the Aliyun Linux 2 image in an on-premises environment.

Which third-party applications can run on Aliyun Linux 2?

Aliyun Linux 2 is binary compatible with CentOS 7.6.1810. Applications that can run on CentOS can also run on Aliyun Linux 2.

What are the advantages of Aliyun Linux 2 compared with other Linux operating systems?

Aliyun Linux 2 is binary compatible with CentOS 7.6.1810 and provides differentiated operating system features.

Compared with CentOS and RHEL, Aliyun Linux 2 has the following advantages:
  • Updates are released at a faster pace. Updated Linux kernels, user-mode software, and toolkits are provided.
  • Aliyun Linux 2 works out of the box and requires minimal configuration.
  • Aliyun Linux 2 is optimized to work with the optimized hypervisor and maximizes performance for users.
  • Unlike RHEL, Aliyun Linux 2 does not have any runtime charges. Different from CentOS, Alibaba Cloud provides commercial support for Aliyun Linux 2.

How does Aliyun Linux 2 protect data security?

Aliyun Linux 2 is binary compatible with CentOS 7.6.1810 and RHEL 7.6 and complies with the RHEL safety specifications. Aliyun Linux 2 uses the following tools to protect your data:
  • Uses industry-standard vulnerability scan and security test tools to perform periodical security scanning.
  • Periodically assesses the CVE patch updates of CentOS 7 to fix operating system security vulnerabilities.
  • Supports existing solutions of Alibaba Cloud for operating system security hardening.
  • Uses the same mechanism as CentOS 7 to release user security alerts and patch updates.

Does Aliyun Linux 2 support data encryption?

Yes. Aliyun Linux 2 uses the CentOS 7 data encryption toolkit implemented by Key Management Service (KMS) to encrypt data.

How do I grant permissions to manage Aliyun Linux 2?

You can grant management permissions in Aliyun Linux 2 in the same manner as you would in CentOS 7. This means the same commands can be used to grant management permissions in both Alibaba Cloud CentOS 7 images and Aliyun Linux 2.