You can manage the entire lifecycle of your images. When you create and enable a custom image, an independent resource pool is activated. You can then configure image policies to control the dispay streaming service and ensure that cloud computers meet your business needs.
Prerequisites
Custom image management is a paid feature. You must purchase a benefit package before using this feature. For more information, see Billing details.
Create an image
Log on to the AgentBay console.
In the left navigation pane, click Image Management.
On the Images page, click the Custom Image tab, and click Create Image.
In the Create Image panel, enter an image name, select an image on the System Image or Custom Image tab, and click Confirm and Start.
On the online creator page, create the custom image.
In the Prepare Setup Environment step, wait for the environment to be prepared. When the environment is ready, a guide dialog box appears. In the dialog box, click Create.
In the Create and Configure Image step, install applications, add files, or modify the registry as needed. Then, click Next.
In the MCP Configuration dialog box, enable or disable services as needed, then click Next.
You can also register a custom MCP service. Click Register Custom MCP, configure the required parameters, then click OK.
NoteWhen you register a custom MCP service, upload your MCP application to the image using the file upload feature or a cloud drive.
Parameter
Description
Name
Enter the MCP service name.
Description
Enter the MCP service description.
Icon
Click Click to Upload to upload an icon.
Connection
STDIO
MCP Configuration
Change the
commandvalue in the following code block to the absolute path of your MCP application in the image. Then, copy and paste the code block into the MCP Configuration input box.{ "mcpServers": { "FileSystem": { "name": "FileSystem", "icon": "", "version": "1.0.0", "description": "", "detail": "https://www.alibabacloud.com/help/en/wuying-workspace/filesystem", "disabled": false, "timeout": 60, "command": "C:\Program Files (x86)\FileSystem.exe", "args": [], "transportType": "stdio" } } }NoteA custom MCP service is enabled by default upon creation.
In the Test dialog box, click Test Now.
NotePreparing the environment for the Test and Verify step typically takes 1 to 5 minutes.
After the test environment is ready, click Start Test.
In the Test environment, follow the on-screen instructions to test and verify the MCP service.
After the test and verification are complete, click Test Passed. In the confirmation dialog box, click Confirm.
On the Test Passed page, click Publish Image. In the confirmation dialog box, click Confirm.
In the dialog box that appears, click Go Now to return to the AgentBay console and view the progress and result of the image publication.
Enable an image
When you enable an image, an independent resource pool is generated from the custom image. This resource pool is revoked if it remains disconnected for more than 30 days.
Prerequisites
You have created and published a custom image.
Procedure
On the Images page, find the image you created and click Enable in the Actions column.
In the dialog box that appears, click Enable.
ImportantYou can enable a maximum of two custom images at the same time.
Configure an image policy
After you enable an image, you can configure an image policy to control the behavior of the independent resource pool generated from that image.
On the Images page, click Image Policy in the Actions column for the image you enabled.
In the Image Policy dialog box, configure the parameters as needed, and then click OK.
Linux
Parameter
Description
System Taskbar, Application Launchers, and Desktop Setting
Options:
Default Reference Image
Customize by Administrator
Hide System Taskbar, Application Launchers, and Desktop
This configuration item is displayed when you set System Taskbar, Application Launchers, and Desktop Setting to Customize by Administrator.
If you enable this feature, the client hides the taskbar, application launchers, and desktop from the user.
Maximize, Minimize, and Close Button Setting
Options:
Default Reference Image
Customize by Administrator
Hide the Maximize, Minimize, and Close buttons
This configuration item appears if you set Maximize, Minimize, and Close Button Setting to Customize by Administrator.
If you enable this feature, the client hides the Maximize, Minimize, and Close buttons from the user.
Full Screen Setting
Options:
Default Reference Image
Customize by Administrator
Default to Full Screen
This configuration item appears only if you set Full Screen Setting to Customize by Administrator.
If you enable this feature, applications open in full screen by default.
Windows
Configuration Item
Description
Hide system taskbar, application entry, and desktop
If you enable this feature, the client hides the entry for the taskbar, application entry, and desktop from the user.
Stop an image
If you no longer need the independent resource pool generated from an image, you can stop the image.
On the Images page, find the image that you enabled, and in the Actions column, click Stop.
In the dialog box that appears, click Stop.
ImportantAfter you stop an image, the independent resource pool generated from the image becomes unavailable. However, the image itself is retained.
Delete an image
If you no longer need an image or if the image creation failed, you can delete the image.
Prerequisites
The image that you created is not enabled or is stopped.
Procedure
On the Images page, find the image that you want to delete and click Delete in the Actions column.
In the dialog box, click Delete.