This topic describes how to create an object storage configuration in OCP to provide storage support for AI clusters.
Prerequisites
- You have prepared an object storage service that supports the S3 protocol, such as Alibaba Cloud OSS, AWS S3, Tencent Cloud COS, or Huawei Cloud OBS.
- You have obtained the following information about the object storage service:
- The Endpoint address.
- The region.
- The AccessKey ID.
- The AccessKey Secret.
Procedure
After logging in to OCP, select the icon Administration > External Integration from the left navigation bar to go to the External Integration page.
On the External Integration page, click the Object Storage tab.
Click the Create button to open the Create Object Storage dialog box.
Enter the object storage configuration information:
Note
- When creating an object storage configuration, the system verifies whether the Endpoint is reachable and whether the AccessKey credentials are valid.
- We recommend that you name the object storage configurations differently for different businesses or environments to facilitate future management.
- Currently, object storage can only be accessed using the AccessKey ID and AccessKey Secret. Authorization via a RAM URL is not supported.
Parameter |
Description |
Required |
|---|---|---|
| Name | The name of the object storage configuration, used to identify and distinguish between different configurations. The name must be 2 to 32 characters long and can contain Chinese characters, English letters, numbers, and underscores. | Yes |
| Protocol Type | The protocol type of the object storage service. Valid values: S3, OSS, and OBS. | Yes |
| Endpoint | The access domain name for the object storage service, for example, oss-cn-hangzhou.aliyuncs.com. |
Yes |
| AccessKey ID | The access ID for the object storage service, used to identify the user. | Yes |
| AccessKey Secret | The key used to encrypt signature strings and for the signature service to verify signature strings. Keep your AccessKey Secret secure. | Yes |
| Region | The current private cloud region, for example, cn-hangzhou. |
Yes |
| Remarks | Remarks for this object storage configuration. Optional. | No |
After filling in the information, click Verify to check if the configuration information is valid.
If verification passes, click OK to successfully create the object storage configuration.
Edit an object storage configuration
You can edit the remarks for an existing object storage configuration. Click the Edit button for the target configuration in the object storage list, modify the remarks in the dialog box that appears, and then save the changes.
Note
For security reasons, only the remarks can be modified directly on the editing page. You cannot directly modify the AccessKey on this page. To replace the AccessKey, see Object Storage Best Practices - AccessKey Rotation.
