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

Enterprise Website/App Background

Context

For I/O-intensive website services, SFS Turbo can provide shared website source code directories and storage for multiple web servers, enabling low-latency and high-IOPS concurrent share access. Features of such services are as follows:

  • Massive small files: Static website files need to be stored, including HTML files, JSON files, and static images.
  • Intensive read I/Os: Heavy read of small files, less data writes
  • Concurrent access: Multiple web servers access an SFS Turbo background for high availability of website services.

Configuration Process

  1. Sort out the website files.
  2. Log in to the SFS Turbo console and create an SFS Turbo file system to store the website files.
  3. Log in to the cloud server that functions as the compute node and mount the file system.
  4. On the head node, upload the files to the file system.
  5. Start the web server.

Prerequisites

  • A VPC has been created.
  • that function as the head node and compute node have been created, and are in the created VPC.
  • SFS Turbo has been enabled.

Example Configuration

  1. Log in to the SFS Turbo console.
  2. In the upper right corner of the page, click Create File System.
  3. On the Create File System page, configure parameters as instructed.
  4. To mount a file system to Linux ECSs, see Mounting an NFS File System to ECSs (Linux).
  5. Log in to the head node and upload the files to the file system.
  6. Start the web server.