Creating a Storage Space
Before uploading files (Object) to US3, you need to use the CreateBucket interface in the US3 API to create a storage space (Bucket) for storing files. The storage space has various configuration properties, including region, access permissions, and other metadata. Or use the US3 Console to create a storage space (Bucket) and set the access permissions of the storage space.
Operation Methods
Operation Method | Description |
---|---|
Console | Web application, intuitive and easy to use |
Management Tool | Management tool |
API | API |
SDK | SDK |
Usage Restrictions
-
The total number of storage spaces created by the same user cannot exceed 20.
-
The name of each storage space must be globally unique; otherwise, creation will fail.
-
The name of the storage space must comply with naming conventions.
-
Once a storage space is created, its name and region cannot be modified.
Setting Storage Space Read/Write Permissions
You can set the access control list (ACL) of a storage space (Bucket) when creating it, or modify the ACL of the Bucket later according to your business needs. This operation can only be performed by the owner of the storage space.
A storage space has two types of access permissions:
Private Space: Only the owner of the storage space can perform write operations on files in the space. All files can only be accessed with the owner’s API key authorization.
Public Space: Only the owner of the storage space can perform write operations on files in the space. Anyone (including anonymous visitors) can perform read operations on files in the storage space.