Updated on 2024-09-23 GMT+08:00

Purchasing and Configuring a FlexusL Instance

This section describes how to purchase and configure a FlexusL instance, including purchasing a cloud server, setting the server login password, logging in to the server, configuring a security group, and adding and resolving a domain name.

Procedure

Procedure

Description

Step 1: Purchase a FlexusL Instance

Purchase a FlexusL instance and select the PrestaShop application image.

Step 2: Configure a Security Group

Add inbound security group rules to ensure that the application preinstalled in the image can be accessed.

Step 1: Purchase a FlexusL Instance

  1. Log in to the FlexusL console.
  2. Click Buy FlexusL.
  3. Specify required parameters for the FlexusL instance.

    Parameter

    Example

    Description

    Region

    CN-Hong Kong

    For low network latency and quick resource access, select the region nearest to your target users. After a FlexusL instance is created, the region cannot be changed. Exercise caution when selecting a region.

    Application Images

    PrestaShop

    Select the PrestaShop application image.

    Instance Specifications

    2 vCPUs | 2 GiB memory and 60 GiB system disk

    Select instance specifications as needed.

    Instance Name

    PrestaShop-Example

    Customize an instance name that is easy to identify, for example, PrestaShop-Example.

    (Optional) Associated Services

    • Data disk: 10 GiB
    • Host security
    • Cloud backup vault: 70 GiB

    You can bundle any of the services to your FlexusL instances as needed: EVS, HSS (basic edition), and CBR and set specifications as needed.

    Required Duration

    1 month

    The minimum duration of a purchase is one month and the maximum duration is three years.

    Auto-renew is enabled by default, which means the purchased FlexusL instances will be automatically renewed before they expire. If you do not enable auto-renew during the purchase process, you can still enable it later after the instances are created. Monthly subscription allows you to renew the subscription for one month every time. The number of renewal times is not limited.

    For more information about auto-renewal rules, see Auto-Renewal Rules.

    Quantity

    1

    Set the number of FlexusL instances to be purchased.

  4. Click Buy Now.

    On the displayed page, confirm the order details, read and select the agreement, and click Submit.

  5. Select a payment method and complete the payment.
  6. Go back to the FlexusL console and view the purchased FlexusL instance.

Step 2: Configure a Security Group

Add inbound security group rules to ensure that the application preinstalled in the image can be accessed.

  1. Log in to the FlexusLconsole and click a resource card to go to the instance details page.
  2. In the navigation pane on the left, choose Cloud Servers and then click the server name.

  3. On the Security Groups tab, click Add Rule. In the displayed dialog box, add rules displayed in the following figure and click OK.

    The following figure only displays common rules. You can add more rules as needed.

    Table 1 Security group rules

    Priority

    Action

    Type

    Protocol & Port

    Source

    Description

    1

    Allow

    IPv4

    TCP: 22

    0.0.0.0/0

    Allows access to the FlexusL instance using SSH locally.

    1

    Allow

    IPv4

    TCP: 80

    0.0.0.0/0

    Specifies the internal forwarding port of application images

    1

    Allow

    IPv4

    TCP: 3306

    0.0.0.0/0

    Allows access to MySQL databases.

    1

    Allow

    IPv4

    TCP: 9001

    0.0.0.0/0

    Allows external access to the application dashboard.

    1

    Allow

    IPv4

    TCP: 9000

    0.0.0.0/0

    Allows external access to the application O&M dashboard.