All Products
Search
Document Center

Cloud Storage Gateway:Manage cloud resources

Last Updated:Jan 23, 2025

This topic describes how to manage cloud resources in the on-premises file gateway console, including binding, unbinding, and speed testing.

Prerequisites

  1. An on-premises file gateway client is created. For more information, see Deploy an on-premises console for a file gateway.

  2. An OSS bucket is created. For more information, see Get started by using the OSS console.

    Important
    • File gateways support the following storage classes of OSS buckets: Standard, Infrequent Access (IA), and Archive. File gateways do not support OSS buckets for which back-to-origin routing is configured.

    • We recommend that you do not associate a gateway with an Archive bucket. If files that are written from a file gateway to OSS are infrequently modified, we recommend that you store the files in a Standard or IA bucket first and configure a lifecycle rule that changes the storage class of the files to Archive or Cold Archive. This reduces unnecessary restoration operations and optimizes storage costs and efficiency.

    • When a client writes a file to a file gateway, the gateway records at least two actions: writing the file and setting the file modification time. The gateway merges the two actions where possible. However, the gateway may still initiate multiple operations on the object to the bucket where the object is stored. The CopyObject operation is called to store the file modification time as a piece of metadata of the object in the bucket. If the object is an Archive or Cold Archive object, this operation requires object restoration, which takes some time to complete. This increases the time required for object uploads and even causes upload failures if not enough time is left to upload data in the cache.

Bind a cloud resource

  1. Open your browser, enter https://<IP address of the file gateway> in the address bar, and then press Enter.

  2. In the dialog box that appears, enter your username and password, and then click OK.

  3. On the Cloud Resources page, click Bind.

  4. In the Bind Cloud Resource dialog box, set the parameters described in the following table.

    Parameter

    Description

    Resource Name

    Enter the name of the cloud resource.

    Cross-region Binding

    Specify whether to enable cross-region binding.

    • If you select Yes, you can access a bucket that resides in a different region from the specified gateway.

    • If you select No, you can access only a bucket that resides in the same region as the specified file gateway.

    Note

    The time zone of an on-premises file gateway must the same as the time zone of the corresponding OSS bucket.

    Region

    Select the region where the bucket resides.

    Bucket Name

    Select the bucket that you want to bind to the file gateway.

    Use SSL

    If you select Yes, you can connect to the OSS bucket over SSL.

  5. Click OK.

Related operations

On the Cloud Resources page, you can also perform the following operations.

Operation

Procedure

Unbinding

Find the cloud resource and click Unbind.

After the cloud resource is unbound, the data on the cloud resource is retained. You can access and delete the data in the Alibaba Cloud Object Storage Service (OOS) console.

Speed testing

Find the cloud resource and click Speed Test to test the upload and download speed.

What to do next