☁️ Setting Up a MySQL Instance on Flexus

Ertugrul Basar
Huawei Developers
Published in
4 min readSep 18, 2024
Flexus — MySQL

🔦Introduction

Hi everyone! In today’s article, I’ll show you how you can buy a Flexus X instance with MySQL. In this way, you don’t have to install the database application to your instance, it comes installed after you buy it! Since Flexus is a lightweight cloud server designed for a variety of applications, you can use your service to run your databases. And with the Flexus’ Application Acceleration option, we will get better performance from this server. Also, before I show you how to get an instance, let me briefly inform you about what Flexus is.

Flexus is a cloud computing service specifically designed for small and medium-sized businesses. It offers a simplified way to deploy and manage cloud applications, providing cost-effective solutions with easy-to-use tools. As a part of Huawei Cloud, Flexus aims to make cloud technology accessible to a wider audience.

In Flexus, you have 2 options:

⚡️Flexus L: Flexus L Instance is a pre-configured cloud server specifically designed for small and medium-sized enterprises (SMEs). It offers a simplified user experience with pre-installed software and optimized configurations. Think of it as a ready-to-use cloud server package. Essentially, Flexus L provides a hassle-free cloud computing solution for businesses that want to quickly get started without the complexities of configuring a server from scratch.

⚡️Flexus X: Flexus X Instance is a flexible cloud server service designed for small and medium-sized enterprises (SMEs) and developers. It offers similar functionalities to Elastic Cloud Servers (ECS) but with greater flexibility in terms of specifications and functions. Unlike Flexus L instances which are sold and managed as packages, Flexus X instances provide more customization options to suit different workloads and budgets. Essentially, Flexus X is a more adaptable and tailored cloud server solution compared to Flexus L.

You can find a screenshot of a comparison between Flexus L, Flexus X, and ECS 👇

Flexus L vs Flexus X vs ECS

💻Demo

After getting access to the cloud console and Flexus X Instance page, click on Buy FlexusX on the top right side of the page.

Flexus X Dashboard

Then we need to configure some important aspects of the cluster. In the Basic Configuration section, I will continue with Pay-per-use as the billing mode and South-Guangzhou as the region. My recommendation would be to choose a region which is closest to you.

Basic Configuration

As for the instance specifications, this is an important part as it will determine the performance of your instance. We have some preset options, but also you can choose a custom pair of vCPU and memory for your needs. In this exercise, I think 2 vCPUs and 4 GiB of memory will be enough. That’s why I’ll continue choosing the option below. Also, you can turn on the Performance Mode, which will allow you to get higher PPS values, with a small change in the price. In this exercise I will continue with it turned off.

Instance Specifications

The last important section we are going to examine here is Image. Because my article is on Flexus — MySQL cooperation, I will choose Huawei Cloud EulerOS as the OS, and select MySQL as the Application Acceleration option. This will make us sure that MySQL is installed after we create the instance.

Image Selection

If you’re looking for a guide with a more detailed buying process, you can refer to this link. But the general view of the instance is the screenshot below 👇

Confirm Specifications

After we get the Flexus instance, we can log in to it and see that MySQL is installed by default.

MySQL Version Check

👉Conclusion

In conclusion, this article demonstrated how to buy a Flexus instance, with MySQL. By creating these instances, you can initiate your databases quickly. And because it has an Application Acceleration feature, your database will do operations faster than a normal VM instance. Keep an eye on my next articles, I think one of them will be about comparing the database performances between Flexus and ECS. Until then, goodbye!

💁References

--

--