Updated on 2023-06-20 GMT+08:00

Overview

This document summarizes practices in common application scenarios of Object Storage Service (OBS). Each practice case is given detailed solution description and operation guidance, helping you easily build your storage services based on OBS.

Table 1 OBS best practices

Best Practice

Description

Using Backup Software to Back Up Local Data to OBS

Describes why you should back up local data to OBS and what backup software you can use, and uses Commvault as an example to describe how to back up local data to OBS.

Using a User-Defined Domain Name to Host a Static Website

Describes how to use a user-defined domain name to host static websites on OBS, for you to quickly launch personal and enterprise static websites without setting up website servers.

Optimizing the Performance

Describes how to add random prefixes to object names to implement horizontal expansion for high-speed requests, and thus improve the access rate and shorten the access latency.

Using the PostObject API to Upload Data from a Web Client to OBS

Describes how to use the PostObject API to directly upload files from a web client to OBS, that is, to upload files to OBS through a browser. With this method, you can directly upload data to OBS, without having to upload data to the app server first. This makes the transmission faster and does not impose pressure on the server. Additionally, it is more secure to adopt direct transmission with a signature returned by the server.

Uploading Data from Mobile Apps to OBS

Describes two methods for app clients to access OBS, to better protect data and prevent data leakage and unauthorized access.

Uploading Data from Mini Programs to OBS

Demonstrates how to upload files to OBS using a mini program.

Accessing OBS Through an Nginx Reserve Proxy

Describes how to configure the Nginx reverse proxy on an ECS, so that you can use a fixed IP address to access OBS.