Restrictions

This section describes use restrictions of OBS features.

Table 1 OBS use restrictions

Restriction Item

Description

Bandwidth

By default, the maximum bandwidth for read/write (GET/PUT) requests of a single HUAWEI CLOUD account is 16 Gbit/s. If the actual bandwidth reaches the threshold, flow control will be triggered.

If you require a bandwidth higher than 16 Gbit/s, submit a service ticket.

Queries per second (QPS)

Default maximum QPS allowed by a single HUAWEI CLOUD account:

  • 6,000 write requests (PUT Object) per second
  • 10,000 read requests (GET Object) per second
  • 1,000 listing requests (LIST) per second
NOTE:

If you use sequential prefixes (such as timestamps or alphabetical order) for object naming, object access requests may be concentrated in a specific partition, resulting in access hotspots. This limits the request rate in a hotspot partition and increases access delay.

Random prefixes are recommended for naming objects so that requests are evenly distributed across partitions, achieving horizontal expansion. For details about how to name objects with random prefixes, see Performance Optimization.

If you require a higher QPS requirement, submit a service ticket.

Resource packages

  • A resource package can be used only in the specified region and cannot be shared across regions. So select an appropriate region when purchasing a resource package.
  • OBS provides resource packages only for some billing items. For other billing items, the pay-per-use billing mode applies. For details, see Billing.
  • Any resource usage beyond your package quotas in the current month is billed in the pay-per-use mode. A newly purchased resource package cannot cover the already generated resource usage.
  • A storage package must be consistent with your bucket's data redundancy policy (single-AZ storage or multi-AZ storage) and storage class (Standard, Infrequent Access, or Archive). Otherwise, the pay-per-use billing mode applies.
  • Your Standard storage, Archive storage, and Internet outbound traffic packages can cover the fees incurred by both your parallel file systems and buckets. The pull traffic and cross-region replication traffic packages are currently not available for parallel file systems.

Access rules

Based on the DNS resolution performance and reliability, OBS requires that the bucket name must be placed in front of the domain when a request carrying a bucket name is constructed to form a third-level domain name, or virtual hosting access domain name.

For example, you have a bucket named test-bucket in the cn-north-4 region, and you want to access the ACL of an object named test-object in the bucket. The correct URL is https://test-bucket.obs.cn-north-4.myhuaweicloud.com/test-object?acl.

Buckets

  • On OBS, each bucket name must be unique and cannot be changed.
  • After a bucket is created, its bucket name, region, and data redundancy storage policy cannot be changed.
  • An account (including all IAM users under the account) can create a maximum of 100 buckets. You can leverage the fine-grained permission control capability of OBS to properly plan and use buckets. For example, you can create folders in a bucket based on object prefixes and use fine-grained permission control to implement permission isolation between departments.
  • By default, neither the entire OBS system nor any single bucket has limitations on storage capacity or the number of objects that can be stored.
  • A bucket can be deleted only after all objects in the bucket have been deleted.
  • The name of a deleted bucket can be reused for another bucket or a parallel file system at least 30 minutes after the deletion.

Uploading objects

  • OBS Console supports uploading files in a batch. A maximum of 100 files can be uploaded in a batch with the total size of no more than 5 GB. If you upload only one file using the batch upload mode, the maximum size of the file is 5 GB.
  • If you upload an object through OBS Browser+, obsutil, or using the API and SDK, the maximum size of the object is 48.8 TB.
  • The batch upload function is available only when the following conditions are met:

    The bucket version must be 3.0.

  • If versioning is disabled and the name of a newly uploaded file is the same as that of a file in the bucket, the newly uploaded file automatically overwrites the existing file and does not retain the ACL information of the existing file. If the name of the newly uploaded folder is the same as that of a folder in the bucket, the two folders will be merged, and files in the new folder will overwrite the same-name files in the old folder.
  • If versioning is enabled and the name of a newly uploaded file is the same as that of a file in the bucket, a new version is added to the existing file.
  • Though any UTF-8 characters can be used in object keys (object names), it is recommended that object keys be named according to the object key naming guidelines. These guidelines help object key names substantially meet the requirements of DNS, web security characters, XML analyzers, and other APIs.

Bucket policy

There is no limit on the number of bucket policies (statements) for a bucket. However, the total size of JSON descriptions of all bucket policies in a bucket cannot exceed 20 KB.

ACL

  • A bucket ACL supports a maximum of 100 permission grants.
  • An object ACL supports a maximum of 100 permission grants.

Lifecycle management

There is no limit on the number of lifecycle rules in a bucket, but the total size of JSON descriptions about all lifecycle rules in a bucket cannot exceed 20 KB.

Restoring objects from Archive storage

  • If an Archive object is being restored, you cannot suspend or delete the restoration task.
  • You cannot re-restore an object that is in the Restoring state.
  • After an object is restored, a copy of the object is generated and saved in the Standard storage class. In this way, the object in the Archive storage class and its copy in the Standard storage class co-exist in the bucket. During the restoration validity period, you will be charged for the storage space taken by both the object in the Archive storage and its copy in the Standard storage. The copy will be automatically deleted upon expiration of its validity period.

Deleting objects

If versioning is not enabled for a bucket, deleted objects cannot be recovered. Exercise caution when performing this operation.

Parallel File System

For details, see Parallel File System Feature Guide.

Image processing

For details, see the Image Processing Feature Guide.

Cross-region replication

For details, see Cross-Region Replication Overview

User-defined domain name binding

  • Only buckets whose version is 3.0 support user-defined domain name binding.
  • A maximum of 20 user-defined domain names can be bound to each bucket.
  • Currently, user domain names bound to OBS only allow access requests over HTTP.

    If you want to use a user domain name to access OBS over HTTPS, you need to enable CDN to manage HTTPS certificates.

    For details about how to manage HTTPS certificates on the CDN management console, see HTTPS Settings.

  • A user-defined domain name can be bound to only one bucket.
  • Currently, the suffix of a user-defined domain name can contain 2 to 6 uppercase and lowercase letters.

Back to source (under open beta testing)

For details, see Overview of Back to Source.

Data+ (under open beta testing)

  • Data+ is currently available only in the CN North-Beijing1, CN North-Beijing4, and CN East-Shanghai2 regions.
  • Only serial workflows are supported.
  • An event trigger can be associated with only one workflow, but a workflow can have multiple event triggers.
  • The name of each workflow should be unique. Even after a workflow is deleted, its name cannot be reused.
  • Each trigger name must be unique in the same bucket.
  • A Data+ workflow and the required FunctionGraph service, data processing services, SMN, as well as the associated OBS bucket should be in the default project of the same region.
    NOTE:

    By default, a bucket and its Data+ workflows are in the same region. If workflow A is created for bucket A, workflow A is in the region where bucket A is located.

Bucket inventory

For details, see Bucket Inventory Overview.