Help Center/ Huawei Cloud Flexus_Huawei Cloud Flexus X Instance/ User Guide/ Managing Images/ Configuring Application Acceleration for a FlexusX Instance
Updated on 2024-09-25 GMT+08:00

Configuring Application Acceleration for a FlexusX Instance

Scenarios

On FlexusX instances created using the Huawei Cloud EulerOS 2.0 image, certain applications can run at optimal speed thanks to the optimization of the vCPU, memory, network, storage, kernel, application, and other settings. Typical applications, such as Nginx, Redis, and MySQL, can run 20% faster.

When you purchase a FlexusX instance, you need to select the Huawei Cloud EulerOS 2.0 image and then choose the application to be booted: Nginx, Redis, or MySQL. Then the Huawei Cloud EulerOS 2.0 image will pre-install the optimized version of Nginx, Redis, or MySQL to provide you with the optimal performance. For details about the performance benefits, see Table 1.

  • Based on the application acceleration type you configured, the default application version from the Huawei Cloud EulerOS yum repository will be installed on the FlexusX instance. If you use other application versions, you may not get the accelerated performance.
  • If you choose not to use application acceleration, Nginx, Redis, or MySQL will not be pre-installed in the Huawei Cloud EulerOS 2.0 image.
  • Huawei Cloud EulerOS 2.0 can accelerate only one type of application at a time.
  • Huawei Cloud EulerOS 2.0 supports application acceleration only in some regions. For details, see the management console.

Enabling Application Acceleration

When purchasing a FlexusX instance, if you select the Huawei Cloud EulerOS 2.0 public image, you can enable application acceleration for Nginx, Redis, or MySQL. For details about how to purchase a FlexusX instance, see Purchasing a FlexusX Instance.

Figure 1 Enabling application acceleration

Viewing Application Acceleration

After application acceleration is enabled, the information about the enhanced performance is displayed on the FlexusX instance console. If the application acceleration information is displayed after you perform the following steps, the application is accelerated.

  1. Log in to the FlexusX console, in the upper left corner, click , and select a region and project.
  2. Click the name of the FlexusX instance. On the Summary tab, view the accelerated application and performance improvement.

Uninstalling the Accelerated Application

If Nginx, Redis, or MySQL is no longer needed, you can uninstall it. After the application is uninstalled, application acceleration cannot be enabled again.

  1. Log in to the FlexusX instance.

    For details, see Logging In to a FlexusX Instance.

  2. Run the following command as user root to uninstall the involved application:

    bash /opt/booster_remove.sh