检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Interconnecting with OBS Instances Object Storage Service (OBS) is a secure and cost-effective cloud storage service. With OBS, you can easily create, modify, and delete buckets, as well as upload, download, and delete objects.
Prerequisites After connecting an application to the OBS-type object storage proxy connector, you need to pay for the OBS service separately. For details on the pricing, see Huawei Cloud Pricing.
Constraints None Value obs: connector for interconnecting with OBS. minio: connector for connecting to MINIO. objectstorageproxy: object storage proxy type.
Currently, only OBS and MINIO are supported. In Huawei Cloud Astro Zero, you can create OBS and MinIO connectors to store data in OBS and MinIO, for details, see Interconnecting with OBS Instances and Connecting MinIO for Object and Asset Storage.
Using Connectors to Interconnect with Cloud Services Interconnecting with OBS Instances Connecting MinIO for Object and Asset Storage Format of the Compatible Instance for Interconnecting with the Object Storage Proxy Connecting to Redis to Cache Object Data Connecting to CSS to Implement
Table 2 OBS/MINIO archive instance parameters Parameter Description Access key Access key ID of OBS/MINIO, which needs to be obtained in advance. Key Key of OBS/MINIO, which needs to be obtained in advance. Terminal node Endpoint, for example, obs.***.example.com.
A Create an OBS connector. In the application designer, choose Integrations > Connector > Connector Instance. Choose OBS under Storage and click + to create an OBS connector. Configure basic information, add the bucket, and click Save.
Region Select the region where the OBS bucket used by the private repository resides. Bucket The OBS bucket used by the private repository. Click Submit.
Example Request An OBS connector has been created. The connector instance name is Namespace_TestOBS. Large files need to be uploaded to the a/b/c path of the OBS bucket.
Example Request An OBS connector has been created. The connector instance name is Namespace __TestOBS. The 1.txt file exists in the a/b/c directory of the OBS bucket.
There are several types of image libraries: OBS, MINIO, and OBJECTSTORAGEPROXY: A connector is used to obtain images from the OBS or MINIO bucket.
Example Request An OBS connector has been created. The connector instance name is Namespace __TestOBS. The a/b directory exists in the OBS bucket.
For example, use the OBS connector diagram element to establish a connection with OBS. Prerequisites The OBS connector has been configured. For details, see Interconnecting with OBS Instances.
Example Request Create an OBS connector. Assume that the connector instance name is namespace__TestOBS. Upload the 1.txt file to the a/b/c directory of the OBS bucket.
Example Request An OBS connector has been created. The connector instance name is Namespace __TestOBS. The 1.txt file exists in the a/b/c directory of the OBS bucket.
Image Source Setting Whether the image source is from an OBS connector. If you select Use Connector, the data is obtained from an OBS connector. If there are too many images in the connector, the image reading may be slow.
For example, using a connector to link with OBS enables files to be saved from a frontend page to an OBS bucket. Figure 1 Checking the file in a specified path of the OBS bucket Implementation Methods Make preparations. To access OBS, you need a HUAWEI ID or an IAM user.
Example Request An OBS connector has been created. The connector instance name is Namespace __TestOBS.
Using Connectors to Interconnect with Cloud Services The platform encapsulates different types of connectors to connect to third-party services, such as OBS, Redis, Cloud Search Service, and ROMA Connect.
Example Request An OBS connector has been created. The connector instance name is Namespace __TestOBS. Run the following request to list files in the a/b/c path of the OBS bucket. The start file is 1.txt.