Updated on 2024-06-17 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 Nextcloud 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.

(Optional) Step 3: Add and Resolve a Domain Name

Add and resolve a domain name for the server so that users can use the domain name to access the website. If the website is only used for personal development or testing, there is no need to add a domain name.

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

    Nextcloud

    Select the Nextcloud application image.

    Instance Specifications

    2 vCPUs | 4 GiB memory and 80 GiB system disk

    Select instance specifications as needed.

    Instance Name

    Nextcloud-Example

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

    (Optional) Associated Services

    • Data disk: 10 GiB
    • Host security
    • Cloud backup vault: 90 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 console 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

    100

    Allow

    IPv4

    TCP: 9001

    0.0.0.0/0

    Allows external access to the application management page.

    100

    Allow

    IPv4

    TCP: 9000

    0.0.0.0/0

    Allows external access to the application O&M dashboard.

(Optional) Step 3: Add and Resolve a Domain Name

Add and resolve a domain name for the server so that users can use the domain name to access the website. If the website is only used for personal development or testing, there is no need to add a domain name.

  1. In the navigation pane on the left, choose Cloud Servers. Locate the server and click its name.
  2. On the Server Details page, click the Domain Names tab and click Add Domain Name.

    Parameter

    Setting

    Domain Name

    Enter a domain name that will be added for the instance, for example, wpwebsite.com.

    NOTE:

    A domain name that is not registered can be added. After the domain name is added, it must be registered and licensed. To ensure that a domain name can be used normally, register the domain name and complete ICP licensing before adding the domain name.

    Enterprise Project

    Select an enterprise project from the drop-down list.

    Enterprise projects are associated with public zones. You can manage public zones by enterprise project.

    NOTE:

    This parameter is displayed only when your account is an enterprise account.

  3. Click OK.
  4. In the row containing the wpwebsite.com domain name, click Configure Record Set.

    Parameter

    Setting

    Domain Name Prefix

    If you enter a prefix, a subdomain is used for website access. Either the domain name or its subdomains can be resolved to the EIP of the instance.

    Suppose the domain name is wpwebsite.com.

    • If the domain name prefix is left empty, wpwebsite.com is resolved to the EIP.
    • If the domain name prefix is www, the subdomain www.wpwebsite.com is mapped to the EIP.

    EIP

    The EIP bound to the instance is displayed here automatically.

  5. On the Domain Names tab, view the domain name resolution details.
  6. Apply for ICP licensing for the domain name.

    To successfully access the server using a domain name, you must file the domain name. Domain name filing in the Huawei Cloud ICP license center is free of charge. For details, see ICP Filing Process.