Updated on 2024-10-17 GMT+08:00

Functions

Table 1 lists the basic functions of OBS.

It is recommended that you get familiar with the basic concepts of OBS before using OBS.

Table 1 OBS functions

Function

Description

Region Availability

OBS 2.0

OBS 3.0

Storage classes

OBS offers the following storage classes: Standard, Infrequent Access, Archive, and Deep Archive (under limited beta testing), to meet different requirements for storage performance and cost.

All

Supported

Supported

Bucket management

Buckets are containers that store objects in OBS. OBS provides easy bucket management. You can conveniently create, list, search for, view, and delete buckets.

All

Supported

Supported

Object management

Objects are the fundamental entities stored in OBS. You can perform the following operations on objects: upload, download, listing, searching, resumable transfer, and multipart uploads.

All

Supported

Supported

Permissions management

OBS uses IAM permissions, bucket policies, object policies, and ACLs for access control. You can grant access to different accounts and users, and also configure policies or ACLs for buckets and objects to control read and write permissions for them.

All

Supported

Supported

Server-side encryption

To enhance data security, OBS uses server-side encryption to encrypt data before storing it. The encryption methods include SSE-KMS, SSE-OBS, and SSE-C.

See Function Overview.

NOTE:

To find out the regions that support SSE-KMS or SSE-OBS, see Server-Side Encryption.

Supported

Supported

WORM

You can use a write-once-read-many (WORM) model to protect objects from being deleted or tampered with within a specified period.

See Function Overview.

Not supported

Supported

Lifecycle management

You can configure lifecycle rules to automatically delete objects or transition objects between storage classes.

All

Supported

Supported

Static website hosting

You can upload static website files to your OBS bucket, grant the read permission for these files to anonymous users, and configure static website hosting for the bucket to host them.

All

Supported

Supported

CORS

Cross-origin resource sharing (CORS) is a browser-standard mechanism defined by the World Wide Web Consortium (W3C). It allows a web client in one origin to interact with resources in another one. For general web page requests, website scripts and contents in one origin cannot interact with those in another because of Same Origin Policies (SOPs). OBS supports CORS rules for resources in it to be accessed across origins.

All

Supported

Supported

URL validation

URL validation protects your data in OBS from being stolen using the Referer field in HTTP requests. Such authorization is controlled using whitelists and blacklists.

All

Supported

Supported

Bucket tags

Tags are provided for you to identify and classify OBS buckets. If you add tags to a bucket, service detail records (SDRs) generated for it will be labeled with these tags. You can classify SDRs by tag for cost analysis.

All

Supported

Supported

User-defined domain names

You can bind a domain name to an OBS bucket and then use this domain name to access data in the bucket. For instance, if you need to migrate files from a website to OBS while keeping the website address unchanged, you can bind the website domain name to an OBS bucket.

All

Not supported

Supported

Cross-region replication

You can create a cross-region replication rule to automatically, asynchronously replicate objects from a source bucket in one region to a destination bucket in another region, as long as both buckets are under your account. This enables cross-region data disaster recovery, catering to your needs for remote backup.

All

Not supported

Supported

Image processing

You can this function to quickly process images stored in OBS, including compression, cropping, resizing, watermarking, and format conversion.

See Function Overview.

Not supported

Supported

Bucket inventories

Bucket inventories help you manage objects. You can configure a bucket inventory rule for OBS to periodically scan the specified objects, list the objects with their properties (such as metadata, size, modification time, and storage class) in CSV files, and store the files into the specified bucket.

See Function Overview.

Not supported

Supported

Parallel file systems

Parallel File System (PFS) is a high-performance file system with access latency in milliseconds. It supports TB/s-level bandwidth and millions of IOPS, which is ideal for processing high-performance computing (HPC) workloads. You can call standard OBS APIs to read data in a parallel file system, or use obsfs, an OBS tool, to mount a parallel file system to a Linux server in the cloud. Migrating files and directories in a parallel file system is just like operating a local file system.

See Function Overview.

Not supported

Supported

Logging

With logging, you can obtain the bucket access data. After logging is enabled for a bucket, OBS automatically logs every access request for the bucket, packs multiple log records into a log file, and saves the log file to the specified bucket. Using the stored logs, you can analyze or audit logs.

All

Supported

Supported

Versioning

When versioning is enabled for a bucket, OBS can keep multiple versions of an object in the bucket. That way you can quickly retrieve and restore every object version as needed, or recover data from both accidental actions and application failures.

All

Supported

Supported

Appending data to objects

You can call the AppendObject API to write additional data to an appendable object in a specified bucket. Objects created by calling the AppendObject API are appendable, while those created by calling the PutObject API are normal ones.

See Function Overview.

Not supported

Supported

Customizing metadata

You can add, modify, or delete metadata of uploaded objects.

All

Supported

Supported

Bucket storage quota

You can set the bucket space quota to limit the maximum amount of data that can be stored in a bucket. The maximum value is 263-1, in bytes. By default, the quota of a newly created bucket is not limited.

All

Supported

Supported

Direct reading

With direct reading enabled, you can download objects in the Archive storage class without restoring them in advance. Direct reading is a billable function.

See Function Overview.

Not supported

Supported

Object sharing

You can share a file or folder stored in OBS with all users by using a temporary URL. All shared URLs are valid for only the specified period of time.

See Function Overview.

Supported

Supported

Fragment management

You can clear fragments that are generated during multipart uploads to save storage space in a bucket.

All

Supported

Supported

Enterprise projects

When you create a bucket, you can specify an enterprise project for it, to facilitate bucket resource and permission management.

See Function Overview.

Not supported

Supported

Bucket encryption

You can enable server-side encryption for a bucket when creating it. Then all objects uploaded to this bucket will be encrypted by default.

See Function Overview.

Not supported

Supported

Multi-AZ storage

When creating a bucket, you can choose multi-AZ storage to store your data in multiple AZs for a higher data reliability. OBS uses the Erasure Code (EC) algorithm, instead of multiple copies, to ensure data redundancy.

See Function Overview.

Not supported

Supported

Back to source

With a back-to-source rule, if the data you requested is not found in OBS, OBS automatically pulls the data from its origin server and returns the data to you.

See Function Overview.

Not supported

Supported

Online decompression

Online decompression allows you to compress multiple files into a ZIP package and upload it to OBS for auto decompression.

See Function Overview.

Not supported

Supported

Bucket settings replication

You can replicate the settings of an existing bucket to the bucket you are creating, including bucket policies, CORS rules, back-to-source rules, image processing styles, online decompression rules, and lifecycle rules.

All

Not supported

Supported

Agencies

You can create an IAM agency to authorize other cloud services or Huawei Cloud accounts to manage your OBS resources.

All

Not supported

Supported

Monitoring

You can monitor the traffic statistics and requests of buckets on OBS Console and Cloud Eye, so that you are able to properly use your buckets.

See Function Overview.

Supported

Supported

Audit

CTS keeps track of operations on buckets and objects in OBS. You can query the records from CTS for security analysis, compliance audit, resource tracking, and fault locating.

All

Supported

Supported

Tools

OBS offers a range of tools, including OBS Browser+, obsfs, and obsutil, for data migration and management in different scenarios.

All

Supported

Supported

API

OBS provides REST APIs that support HTTP and HTTPS. You can call these APIs to create, modify, and delete buckets, as well as to upload, download, or delete objects.

All

Supported

Supported

SDKs

OBS SDKs help you perform secondary development. The SDKs are available in the following programming languages: Java, Python, C, Go, BrowserJS, .NET, Android, iOS, PHP, and Node.js.

All

Supported

Supported