Updated on 2024-11-04 GMT+08:00

Creating a File System

You can create an SFS Turbo file system and mount it to multiple servers. Then the servers can share this file system.

Prerequisites

  1. A VPC is available.

    If no VPC is available, create one by referring to section "Creating a VPC" in the Virtual Private Cloud User Guide.

  2. ECSs are available and they belong to the created VPC.

    If no ECSs are available, create ECSs by referring to section "Creating an ECS" in the Elastic Cloud Server User Guide.

  3. Creating SFS Turbo file systems depends on the following services: VPC, Billing Center, DSS, and ECS. Ensure that required roles or policies have been configured.
    • The permissions of the SFS Turbo FullAccess policy already include the permissions of VPC FullAccess, which are required for creating file systems. An IAM user assigned the SFS Turbo Full Access policy does not need to have the VPC FullAccess policy assigned explicitly.
    • To create yearly/monthly file systems, the BSS Administrator policy is required.
    • To create file systems in dedicated projects, the DSS FullAccess and ECS FullAccess policies are required.

Signing In to the Console

  1. Visit the Huawei Cloud website.
  2. Sign up for an account.

    Before using SFS Turbo, you need to sign up for a HUAWEI ID and enable Huawei Cloud services. You can use this account to access all Huawei Cloud services, including SFS Turbo. If you already have an account, start from 3.

    1. In the upper right corner of the page, click Sign Up.
    2. Complete the registration as instructed.

      After the registration is complete, you will be redirected to your personal information page.

  3. Sign in to the console.

    1. In the upper right corner of the displayed page, click Console.
    2. Enter the username and password as prompted, and click Sign In.

  4. In the upper left corner of the page, select the region where the service is located from the drop-down list.
  5. Choose Storage > Scalable File Service to go to the SFS Turbo console.
  6. (Recommended) Top up your account and then buy and use SFS Turbo file systems.

Creating an SFS Turbo File System

  1. Log in to the console using a cloud account.

    1. Log in to the console and select a region and a project.
    2. Choose Storage > Scalable File Service.

  2. In the upper right corner of the page, click Create File System.
  3. Configure the parameters based on Table 1, as shown in Figure 1.

    Figure 1 Creating an SFS Turbo file system

    Table 1 File system parameters

    Parameter

    Description

    Remarks

    Billing Mode

    Mandatory

    -

    Region

    Mandatory

    Region of the tenant. Select a region from the drop-down list in the upper left corner of the page.

    You are advised to select the region where the servers reside.

    AZ

    Mandatory

    A geographical area with an independent network and an independent power supply.

    There is certain performance loss when a file system is accessed from a different AZ. You are advised to select the AZ where your servers reside.

    Type

    Mandatory

    The following types are supported: Standard, Standard-Enhanced (Discontinued), Performance, Performance-Enhanced (Discontinued), 20 MB/s/TiB, 40 MB/s/TiB, 125 MB/s/TiB, 250 MB/s/TiB, 500 MB/s/TiB, and 1,000 MB/s/TiB.

    Select Standard.

    NOTE:

    After a file system is created, its type cannot be changed. If you want to change the type, you need to create another file system. So, plan the file system type in advance.

    Capacity

    Maximum capacity allowed for a single file system. When the used capacity of a file system reaches this value, no more data can be written to the file system. You need to expand the file system capacity. The capacity of an SFS Turbo file system cannot be reduced. Set an appropriate file system capacity based on your service needs.

    Supported ranges:

    • Standard: 500 GB to 32 TB
    • Performance: 500 GB to 32 TB
    • Standard-Enhanced (Discontinued): 10 TB to 320 TB
    • Performance-Enhanced (Discontinued): 10 TB to 320 TB
    • 20 MB/s/TiB: 3.6 TB to 1 PB
    • 40 MB/s/TiB: 1.2 TB to 1 PB
    • 125 MB/s/TiB: 1.2 TB to 1 PB
    • 250 MB/s/TiB: 1.2 TB to 1 PB
    • 500 MB/s/TiB: 1.2 TB to 1 PB
    • 1,000 MB/s/TiB: 1.2 TB to 1 PB

    Bandwidth (GB/s)

    Defines the cache bandwidth, which is recommended for workloads with frequent reads but infrequent writes. The higher the bandwidth, the larger the capacity required.

    • If you select the 20 MB/s/TiB, 40 MB/s/TiB, 125 MB/s/TiB, 250 MB/s/TiB, 500 MB/s/TiB, or 1,000 MB/s/TiB file system type, this parameter and its value will show up. Bandwidth size = Capacity x Bandwidth density (type value). The minimum bandwidth is 150 MB/s. If the calculated bandwidth is less than 150, 150 MB/s will be used..
    • If you select the Standard-Enhanced (Discontinued), Standard, Performance-Enhanced (Discontinued), or Performance type, this parameter will not show up.

    Protocol Type

    Mandatory

    SFS Turbo file systems support file access from clients using NFS.

    The default value is NFS.

    VPC

    Mandatory

    Select a VPC and a subnet.

    • VPC: A server cannot access file systems in a different VPC. Select the VPC to which the servers reside.
    • Subnet: A subnet is a unique IP address range in a VPC. A subnet provides dedicated network resources that are logically isolated from other networks to improve network security.
    NOTE:
    • To achieve the optimal network performance, select the VPC where your servers reside. You can also use VPC peering connections to connect two or more VPCs to share files between VPCs.

      When a file system is accessed across VPCs, the latency, bandwidth, and IOPS loss may be high. Therefore, intra-VPC access is recommended.

      For details about VPC peering connections, see section "VPC Peering Connection" in Virtual Private Cloud User Guide.

    -

    Enterprise Project

    This function is provided for enterprise users. When creating a file system, you can add the file system to an existing enterprise project.

    An enterprise project makes it easy to manage projects and groups of cloud resources and users. Use the default enterprise project or create one.

    Select an enterprise project from the drop-down list.

    You can select only created enterprise projects. To create an enterprise project, click Enterprise in the upper right corner of the console page.

    Encryption

    Optional

    Specifies whether a file system is encrypted. You can create a file system that is encrypted or not, but you cannot change the encryption attribute of an existing file system. If you enable encryption, the following parameters will be displayed:

    • KMS key name

      A key name is the identifier of the key, and you can use KMS key name to specify a KMS key and use it for encryption. Select an existing key from the drop-down list, or click View KMS List to create a new key. For details, see Creating a CMK in the Data Encryption Workshop User Guide.

    • KMS Key ID

      After you select a key name, the system automatically shows the key ID.

    • Key Encryption Algorithm

      After you select a key name, the system automatically shows the encryption algorithm of the key.

    You are advised to enable encryption to ensure core data security. If you use KMS encryption, any usage beyond the free quota given by KMS will be billed. For details, see DEW Pricing Details.

    Security Group

    Mandatory

    A security group is a virtual firewall that provides network access control policies for file systems. You can define access rules for a security group. Then these rules will apply to all file systems added to this security group.

    When creating an SFS Turbo file system, you can select only one security group.

    You are advised to use an independent security group for an SFS Turbo file system to isolate it from service nodes.

    The security group rules affect the normal access and use of an SFS Turbo file system. For details about how to configure a security group rule, see section "Adding a Security Group Rule" in the Virtual Private Cloud User Guide. After an SFS Turbo file system is created, the system automatically enables the security group ports required by NFS. This ensures that the SFS Turbo file system can be successfully mounted to your servers. The inbound ports required by NFS are ports 111, 2049, 2051, 2052, and 20048. If you need to change the enabled ports, go to the VPC console, choose Access Control > Security Groups, locate the target security group, and change the ports.

    -

    Name

    Mandatory

    User-defined file system name.

    The name must start with a letter and can contain only letters, digits, underscores (_), and hyphens (-). It must contain more than four characters but no more than 64 characters.

  4. Click Create Now.
  5. Confirm the file system information and click Submit.
  6. When the creation is complete, go back to the file system list.

    If the status of the created file system is Available, the file system is created successfully. If the status is Creation failed, contact the administrator.