Storage Volume Type
Click the storage volume, and enter the storage volume management page. It supports to query storage volume by name and tag.
Click “Create a storage volume”, enter the storage volume name, select “Storage volume template”, and you can add tag and description for the storage volume. Click “OK” to complete creation of the storage volume.
Currently, many storage volume templates are supported, such as:
- CFC, you can introduce functions from CFC. Currently, it supports Python27, Python36 and Nodejs85 functions.
- BOS, you can import zip from BOS. Currently, it only supports to import ZIP.
- Client certificate issued through BIE, generating client certificates and ca.
- Server certificate issued through BIE, generating server certificates and ca.
- Client certificate of Baidu AI Cloud IoT Hub.
- Custom storage volume, you can create files freely.
- Storage volume with empty directory. It only equals to a directory and cannot store files
- baetyl module configuration.
Click “Edit” to view information and description about the version and basic information about the storage volume, and you can edit the tag and description.
You can view information about the core associated with the storage volume.
baetyl Module Configuration
It is often used for module configuration provided by the BIE official with fixed configuration file name for you.
Computing Template
CFCFunction template
To reference a CFC function, you have to create the function to be used in CFC first. Currently, it supports Python27, Python36 and Nodejs85 functions.
Operation diagram
BOS documentation template
To import a ZIP package of a BOS product, you have to upload the ZIP package in BOS first. Currently, it only supports to import ZIP files.
Operation diagram
Certificate Template
Client certificate issued through BIE
It is issued through BIE and is suitable for being a certificate of the client.
Operation diagram
- You can enter the domain name, or if you do not enter it, it will be randomly generated.
- The generated files include ca.pem, client.key and client.pem, used for issuing ca, certificate private key and certificate respectively.
Server certificate issued through BIE
It is issued through BIE and is suitable for being a certificate of the server.
Operation diagram
- You can enter the domain name, or if you do not enter it, it will be randomly generated.
- The generated files include ca.pem, server.key and server.pem, used for issuing ca, certificate private key and certificate respectively.
Client certificate of the Baidu AI Cloud IoT Hub
You can upload certificate of the Baidu AI Cloud IoT Hub, and it can help you spilt the certificate.
The name of the certificate obtained through the Baidu AI Cloud IoT Hub is cert-and-keys.txt
. If you want to directly use it, it has to be split, and the template will help you to split it.
Operation diagram
)
- Upload the
cert-and-keys.txt
file. - The generated files include ca.pem, client.key and client.pem, respectively corresponding to the ca certificate, certificate private key and certificate.
Custom Storage Volume
You can create it based on the actual business demands. In the custom storage volume, you can “Create an editable file”, “Upload a ZIP package of the storage volume”, “Clean up the storage volume files” and have other operations.
In the custom storage volume, you can upload a ZIP file directly, as shown below:
Note: Uploading a ZIP package will clean up other files.
The system will show you the first level directory, as shown below:
Note: After a ZIP package is uploaded, “Create an editable file” cannot be performed. You can clean up the ZIP package and continue to “Create an editable file”. After the ZIP package is cleaned up, you can click “Clean up the storage volume files” button.
Storage Volume with Empty Directory
Usually it is used for data persistence and logs. After it is created, you do not have to release the version, and the V1 version will be automatically generated. It equals to an empty directory.
For more information about introduction and operation of storage volumes, see How to import a storage volume correctly