Use low-code to quickly customize your cloud product console
This topic describes how to quickly build a custom cloud product console using the Mobi low-code development platform.
Overview
Alibaba Cloud provides powerful product integration capabilities through its OpenAPI to meet diverse needs. The default cloud product console may not be sufficient for scenarios that involve multiple cloud products, custom operations management flows, or unique information displays. The Mobi low-code platform features a low-code application development interface and a built-in Alibaba Cloud OpenAPI connector. These features allow you to quickly build and customize a dedicated cloud product console for more efficient and personalized operations management and information display.
Access
You can access the Mobi console in a browser to start building your application.
What is Magic Pen?
Mobi is an AI-native, low-code application development platform for professional developers on Alibaba Cloud. It integrates various connectors, such as the Alibaba Cloud OpenAPI connector and the Qwen Large Language Model (LLM) connector, to make development and applications more intelligent. Mobi provides one-stop, full lifecycle management for applications, including visual development, publishing, and operations management. Based on a cloud-native architecture, it offers scalability and low-cost Alibaba Cloud Managed Services. This helps developers efficiently manage application development, iteration, and operations management.
Result
Server instance list page

Server instance details page

Security group details page

Add security group rule form

Build the page
Create an Alibaba Cloud OpenAPI connector
From the Resource > Integration menu, create a new connector of the Alibaba Cloud OpenAPI type:

On the configuration page, enter your Alibaba Cloud AccessKey pair (AccessKey ID and AccessKey secret):

You can then call Alibaba Cloud OpenAPI from the Mobi editor. This tutorial covers calling the following OpenAPI operations:
Query region list
Query instance details
Query security group list
Query security group details
For security reasons, this tutorial does not cover high-risk operations on ECS, such as deleting or modifying instances. You can add these high-risk features by following the examples in this tutorial.
Build the layout
Building the layout involves the following Alibaba Cloud OpenAPI operation:
Query region list
First, create a new empty project in Mobi:

Next, add a layout component to the page:

First, delete all preset header elements. Next, add a dropdown list to the header for region selection. Then, in the navigation pane on the left, add an Instance menu item.
To retrieve the list of ECS regions, create an integration operation that uses the Alibaba Cloud OpenAPI connector you created. Then, bind the operation to the dropdown list:

Add a global variable named currentRegion to store the value selected from the dropdown list:

In the Data Source settings for the dropdown list, use the return value from the integration operation as the data source:

In the Events settings, bind a Set Variable operation. This operation sets the value of currentRegion to the value that is currently selected in the dropdown list.

The dropdown list now displays all available ECS region options.
Build the instance list page
Next, design the Instance page. Reuse the Alibaba Cloud OpenAPI connector to create a Get Instance List integration operation:

As shown in the preceding figure, an expression is entered in the RegionId field. If you set the trigger mode to Auto Run, the integration operation automatically runs when the variable changes. This simplifies the page logic design.
Continue to design the page by dragging a table component onto it. Then, configure its data source and the display logic for the first column:
For the Tag column, customize the logic to display a tag for ECS instances that are managed by Container Service:

Next, use the fields provided by the OpenAPI to configure the remaining columns:

In the table's design panel, enable server-side paging. To enable the paging feature, enter the values from the integration operation into the corresponding input boxes:


Build other pages
This topic does not provide detailed instructions for building the other pages. You can explore this process using the ECS Console template.