检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Assume the domain name of your website is www.example.com and the file you want to migrate to OBS is abc.html. After the file is migrated to OBS, you can use http://www.example.com/abc.html to access it.
You can compose the domain name according to the structure of bucket domain names, or you can obtain it from basic information of the bucket on OBS Console or OBS Browser+.
Before using the server-side encryption of OBS, ensure that the OBS OperateAccess and KMS-related permissions have been granted to the account or user on IAM. If the current account or user is the grantee, it also requires the OBS OperateAccess permission.
Parent topic: OBS Browser+, obsutil, and Other OBS Tools
You can clear the fragments in a bucket on OBS Console or OBS Browser+. If fragments are generated due to interruptions to multipart uploads on OBS Browser+, the fragments will disappear once those multipart uploads are continued and finished.
Other OBS access scenarios include: Accessing OBS Using Permanent Access Keys Accessing OBS Using Temporary Access Keys Accessing OBS Using a Temporary URL Accessing OBS Using an IAM Agency Access Control OBS access control can be implemented based on IAM permissions, bucket policies
Server-Side Encryption Overview You can use server-side encryption to encrypt data uploaded to OBS to improve storage security and compliance. With server-side encryption, the OBS server encrypts the objects uploaded from the client before storing them.
For the maximum number allowed in each region, see the requirements on OBS Console. By default, user-defined domain names allow requests for OBS over only HTTP.
OBS generates and keeps keys, and uses the keys to encrypt objects. A user generates and keeps keys, and OBS uses the keys to encrypt objects.
This is a bug in the OBS Android SDK of an earlier version. Upgrade the SDK to the latest version. The endpoint passed during ObsClient initialization is incorrect. Ensure that the endpoint is correct. Parent topic: Troubleshooting
No user-defined domain name of OBS is required.
Preparations (SDK for Java) Before using OBS SDK for Java to access OBS, you need to prepare the service and development environments. To prepare the service environment, you will need an account and access keys.
Resources Cannot Be Released If memory leakage occurs or the OBS server is not disconnected after the OBS Android SDK is used, perform the following operations: 1. Check whether ObsClient.close is correctly called. 2.
Replicating Bucket Policies Scenarios OBS allows you to replicate the existing bucket policies to a new bucket.
Bucket API Overview (SDK for Go) OBS SDK for Go provides methods for accessing OBS using bucket-related APIs with signed URLs.
HTTP Status Codes (SDK for Java) The OBS server complies with the HTTP standard. After an API is called, the OBS server returns a standard HTTP status code. The following tables list the categories of HTTP status codes and the common HTTP status codes in OBS.
Example Programs OBS BrowserJS SDK provides abundant example programs for your reference and use. You can obtain them from the OBS BrowserJS SDK.
You must create a cloud service agency using IAM to delegate OBS to pull data from the origin server. The agency must include the obs:object:PutObject, obs:object:GetObject, obs:bucket:ListBucket, and obs:object:AbortMultipartUpload permissions.
HTTP Status Codes The OBS server complies with the HTTP standard. After an API is called, the OBS server returns a standard HTTP status code. The following tables list the categories of HTTP status codes and the common HTTP status codes in OBS.
HTTP Status Codes (SDK for Python) The OBS server complies with the HTTP standard. After an API is called, the OBS server returns a standard HTTP status code. The following tables list the categories of HTTP status codes and the common HTTP status codes in OBS.