Облачная платформаAdvanced

Create a File System

Язык статьи: Английский
Перевести

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

Prerequisites

  1. Before creating a file system, ensure that a VPC is available.

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

  2. Before creating a file system, ensure that ECSs are available and are in the created VPC.

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

Creating an SFS Turbo File System

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

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

  2. In the navigation pane on the left, choose SFS Turbo > File Systems. In the upper right corner of the page, click Create File System.
  3. Configure the parameters, as shown in Figure 1. Table 1 describes the parameters.

    Figure 1 Creating an SFS Turbo file system


    Table 1 File system parameters

    Parameter

    Description

    Region

    Mandatory

    Region of the tenant. Select the 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.

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

    Type

    Mandatory

    The following types are supported: Standard, Standard-Enhanced, Performance, Performance-Enhanced, 20 MB/s/TiB, 40 MB/s/TiB, 125 MB/s/TiB, and 250 MB/s/TiB.

    For more information, see File System Types.

    NOTE:

    After a file system is created, its type cannot be changed. To change the file system type, you need to create another file system. 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.

    For details about the capacities of different types of SFS Turbo file systems, see File System Types.

    Bandwidth (GB/s)

    Defines the cache bandwidth, which is recommended for workloads with heavy reads and 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, or 250 MB/s/TiB file system type, this parameter and its value will show up. Bandwidth size = Capacity × Bandwidth density (type value). The minimum bandwidth is 150 MB/s. If the calculated bandwidth is less than 150 MB/s, 150 MB/s will be used. For the maximum bandwidths, see File System Types.
    • If you select the Standard, Standard-Enhanced, Performance, or Performance-Enhanced file system type, this parameter will not show up.

    Protocol Type

    Mandatory

    SFS Turbo file systems support shared file access using NFS (NFSv3 only).

    VPC

    Mandatory

    Select a VPC and a subnet.

    • VPC: A server cannot access file systems in a different VPC. Select the VPC in which the servers reside.
    • Subnet: A subnet is an IP address range in a VPC. In a VPC, a subnet segment must be unique. A subnet provides dedicated network resources that are logically isolated from other networks, improving network security.
    NOTE:

    Upon creation, only one VPC can be added for each file system. Multi-VPC file sharing can be implemented through VPC peering connection.

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

    Security Group

    Mandatory

    A security group is a virtual firewall that provides network access control policies for file systems. You can define different access rules for a security group to protect the file systems that are added to this security group.

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

    You are advised to use a separate security group for an SFS Turbo file system to keep it isolated from service nodes.

    The security group rule configuration affects the normal access and use of SFS Turbo. 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 port required by the NFS protocol. This ensures that the SFS Turbo file system can be accessed by your servers and prevents file system mounting failures. The inbound ports required by the NFS protocol 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.

    Automatic Backup

    Cloud Backup and Recovery (CBR) provides backup protection for SFS Turbo and allows you to use backup data to create SFS Turbo file systems. After you configure backup, the system will associate the SFS Turbo file system with the backup vault and apply the selected policy to the vault to periodically back up the file system.

    The following options are available, Do not use is preselected by default.

    • Do not use: Backup is not configured. If you need backup protection after a file system has been created, log in to the CBR console, locate the desired vault, and associate the file system with the vault.
    • Use existing:
      1. Select an existing cloud backup vault from the drop-down list.
      2. Select a backup policy from the drop-down list, or go to the CBR console and configure a desired one.
    • Buy new:
      1. Enter a vault name, which can contain a maximum of 64 characters, including letters, digits, underscores (_), and hyphens (-), for example, vault-turbo-3288. The default naming rule is vault-turbo-xxxx.
      2. Enter a vault capacity, which is required for backing up SFS Turbo file systems. The vault capacity cannot be less than the size of file systems, so enter a value ranging from the total size of the associated file systems to 10,485,760, in the unit of GB.
      3. Select a backup policy from the drop-down list, or go to the CBR console and configure a desired one.

    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 this parameter is selected, the following parameters will be displayed:

    • KMS key name

      KMS key name is the identifier of the key, and you can use KMS key name to specify the KMS key that is to be used for encryption. Select an existing key from the drop-down list, or click View KMS List to create a new key. For details, see section "Creating a Custom Key" in the Key Management Service 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.

    Tag

    Optional

    You can add tags when creating file systems. Tags can help you to identify, classify, and search for your file systems.

    A tag is composed of a key-value pair.

    • Key: Mandatory if the file system is going to be tagged

      A tag key can contain a maximum of 128 characters.

    • Value: Optional if the file system is going to be tagged. It can be an empty character string. A tag value can contain a maximum of 255 characters.
      NOTE:
      • You can add a maximum of 20 tags to a file system.
      • Tag keys of the same file system must be unique.
      • Except for tagging the file system during file system creation, you can also add, modify, or delete tags for existing file systems.

    Description

    Optional. Enter the description of the SFS Turbo file system.

    Comply with the following rules when entering the description:

    • Start with a letter or digit.
    • Enter only letters, digits, spaces, and the following characters: ._-=,
    • Enter no more than 255 characters.

    Enterprise Project

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

    An enterprise project is a cloud resource management mode, in which cloud resources and members are centrally managed by project. The default project is default.

    Select an enterprise project from the drop-down list.

    Mandatory. Select an enterprise project you want to add the SFS Turbo file system to. This parameter is only available for enterprise accounts.

    Enterprise projects let you manage cloud resources and users by project. The default project is default. When creating an SFS Turbo file system, you can add it to an enterprise project for unified management.

    You can only select an existing enterprise project. To create a new one, click Create Enterprise Project next to the drop-down list. For detailed operations, see section "Creating an Enterprise Project" in the Enterprise Management User Guide.

    For more information, see the Enterprise Management User Guide.

    Name

    Mandatory. Customize a name for the SFS Turbo file system.

    Comply with the following rules when customizing the name:

    • It must be unique within your account in a given region.
    • If an SFS Turbo file system is deleted, you can create a new SFS Turbo file system with the same name after at least 30 minutes.
    • It must start with a letter and can contain only letters, digits, underscores (_), and hyphens (-).
    • It must contain 4 to 64 characters.

  4. Click Create Now.
  5. Confirm the file system information and click Submit.
  6. Complete the creation and 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.