WebUI
Prerequisites
- The version of the Atlas 500 AI edge station is the same as that of the obtained software package. For details, see 2.b.
- The system time is set correctly. For details, see Setting the System Time.
- Drive partitions have been created. For details, see (Optional) Creating Drive Partitions.
Procedure
- Choose Add Service Instance page is displayed in the right pane. . The
- Enter basic information, such as the service instance name and its description.
- Set container information as follows:
- Click
on the right of Container Image File to upload a file.
The file size (including the decompressed files) cannot exceed 512 MB. The file must be in *.tar or *.tar.gz format.
- Click
on the right of Additional Configuration File to upload a file and mount the file to the container directory.
The additional configuration file is a directory for storing configuration and data files of the container service. This directory is used to store inference model files, images, and video data.
The file must be in *.tar or *.tar.gz format and cannot exceed 512 MB.
- Resource Restriction
- CPU: Select this option and enter the maximum CPU usage for a container.
- Memory: Select this option and enter the maximum memory capacity for a container.
- AI Compute Power: Select the option to allow the container to use AI compute power.
- Click
- Set environment variables, including the variable name and value.
- To delete an environment variable, click Delete in the Operations column.
- To add an environment variable, click
.
- System environment variables can be configured in the container running environment and can be modified even after the service instance is deployed.
- The values of environment variables are displayed in plaintext. Do not enter sensitive information. If sensitive information is involved, encrypt it to prevent information leakage.
- Mount a drive partition.
- Click
under Drive Partition Name and select a drive partition name to view the total capacity (GB) and available capacity (GB). Set the host mount point of the drive partition and container mount directory, and select the permission.
- To delete the drive partition, click Delete in the Operations column.
- Click
to mount the drive partition.
Set the local drive partition that is mounted to the container to implement persistent data file storage.
- Click
- Configure the container restart policy and container service network.
- The container restart policies include:
- Restart Upon Failure: The system restarts the container only if the container is exited abnormally.
- Not Restart: The system does not restart the container regardless of whether the container is exited normally or abnormally.
- Always Restart: The system restarts the container regardless of whether the container is exited normally or abnormally.
- The available container service network configurations include:
- Host network: Configure the container to directly use the host network.
- Port mapping: Map host ports to container ports.
- To delete a port mapping, click Delete in the Operations column.
- To add a port mapping, click
.
- The container restart policies include:
- Check the configuration and click OK to start the deployment. After the deployment is complete, the new service is displayed in the list.
The deployment requires a long time. Do not close the page before the deployment result is displayed. Otherwise, the deployment will fail.