Normal integration is a service integration type of CloudFlow. In normal integration, CloudFlow integrates API operations of other Alibaba Cloud services by using OpenAPI, without processing or optimizing the API operations of other services. CloudFlow orchestrates workflows by calling API operations of multiple Alibaba Cloud service categories, including elastic computing, storage services, database, container, big data processing, observability services, and middleware services. This topic describes the procedure to perform normal integration. This topic also provides a list of Alibaba Cloud services with which CloudFlow can be integrated through normal integration.
Procedure
This sample procedure describes how CloudFlow is integrated with Elastic Compute Service by calling the DescribeInstances API operation of ECS.
Log on to the CloudFlow console. In the top navigation bar, select a region.
On the Workflows page, click Create Workflow.
In the Create Workflow dialog box, select Use Blank Canvas, select a workflow mode in the Workflow mode section, configure the Workflow Name and Workflow description parameters, and then click Create.
On the Workflow Studio graphical interface, click the CloudFlow Studio tab to configure the Timeout Period parameter and click the Configure Workflow tab to configure the Execution Role parameter for the workflow.
NoteIf you have created Resource Access Management (RAM) roles, select an existing RAM role.
The first time you use CloudFlow, click Create Role to create a RAM role and grant required permissions to the RAM role. For more information, see the "Create an execution role" section of the Create execution roles topic.
Enter DescribeInstances in the search box of the Actions tab in the state view section of the Workflow Studio graphical interface, find the DescribeInstances API operation of ECS, and then drag the API operation to the flowchart. Configure the Basic Settings, Input Settings, Output Settings, and Troubleshooting parameters in the parameter configuration section on the right side of the page.
For information about how to configure the parameters, see the "Procedure" section of the Create a workflow based on a blank canvas topic.
You can also click YAML in the upper-right corner and then specify the API operation that you want to call in the YAML script. Example:
Type: StateMachine Name: test SpecVersion: v1 Timeout: 600 StartAt: DescribeInstances States: - Type: Task Name: DescribeInstances Action: ECS:DescribeInstances TaskMode: RequestComplete Parameters: RegionId: cn-hangzhou VpcId: vpc-bp11y195luy47h8**** VSwitchId: vsw-bp1wb297ekw7xyh**** End: true
Description of parameters in the preceding code:
Action: the name of the API operation that you want to call. In this example, the value of this parameter is
ECS:DescribeInstances
. This operation is used to query information about one or more ECS instances. To call the DescribeInstances API operation of ECS, you must grant theAliyunECSReadOnlyAccess
permission to the execution role of the workflow.TaskMode: the service integration mode that is used by this workflow. For more information, see the "Integration modes" section of the Overview topic.
Parameters: the parameters that are configured for the integrated service. The configurations of Parameters vary based on the integrated service.
Click Execute in the upper-right corner. In the Execute Workflow panel, configure the Execution Name and Input of Execution parameters, and then click OK.
After the workflow is executed, you can view the information about the execution event on the Execution Details page.
Alibaba Cloud services with which CloudFlow can be integrated through normal integration
CloudFlow can be integrated with most Alibaba Cloud services by calling API operations of the services. The following table describes the Alibaba Cloud services with which CloudFlow can be integrated through normal integration.
Category | Cloud service |
Elastic computing | Function Compute |
CloudFlow | |
Elastic Compute Service | |
Container Registry | |
Distributed Cloud Container Platform for Kubernetes | |
Elastic Container Instance | |
Serverless App Engine | |
Web App Service | |
Elastic Desktop Service | |
Container Service for Kubernetes | |
Cloud Phone | |
Auto Scaling | |
Elastic Accelerated Computing Instances | |
Server Migration Center | |
Resource Orchestration Service | |
CloudOps Orchestration Service | |
Middleware | EventBridge |
ApsaraMQ for RocketMQ 5.0 | |
SchedulerX | |
Application High Availability Service | |
ApsaraMQ for MQTT | |
Service Mesh | |
Simple Message Queue (formerly MNS) | |
ApsaraMQ for RabbitMQ | |
Storage and CDN | Alibaba Cloud CDN |
Object Storage Service | |
Dynamic Content Delivery Network | |
Elastic Block Storage | |
Database File System | |
Apsara File Storage for HDFS | |
File Storage NAS and Cloud Parallel File Storage | |
Intelligent Media Management | |
Cloud Backup | |
Hybrid Disaster Recovery | |
Edge Node Service | |
Monitoring and management | ActionTrail |
Cloud Governance Center | |
Key Management Service | |
Service Catalog | |
Operations Incident Center | |
Quota Center | |
Application services | API Gateway |
CloudESL | |
Alibaba Cloud DNS PrivateZone | |
Secure Access Service Edge | |
Blockchain as a Service | |
IoV Command Center | |
Intelligent Dual-Recording System | |
Smart Conversation Analysis | |
Voice Navigator | |
Energy Expert | |
Scalable Open Financial Architecture | |
Database | ApsaraDB for MongoDB |
RDS Data API | |
AnalyticDB for PostgreSQL | |
ApsaraDB for ClickHouse | |
ApsaraDB for HBase | |
ApsaraDB for OceanBase | |
ApsaraDB RDS | |
Tair (Redis OSS-compatible) | |
ApsaraDB for Cassandra | |
ApsaraDB for MyBase | |
Database Backup | |
AnalyticDB for MySQL | |
Extension | HTTP |
Terraform | |
Cloud gaming | Graphic Computing Service |
Cloud communications | ChatApp Message Service |
Cell Phone Number Service | |
Artificial Intelligence Cloud Call Service | |
Direct Mail | |
AI | Automated Machine Learning Platform for NLP |
eKYC | |
Optimization Solver | |
Image Search | |
Address Purification | |
Document Self-learning Platform | |
Intelligent Visual Production | |
OpenPlatform for Digitized Virtual Human | |
Visual Intelligence API - Human Face & Human Body | |
Visual Intelligence API - Image Segmentation | |
Visual Intelligence API - Commodity Understanding | |
Visual Intelligence API - Image Production | |
Visual Intelligence API - Image Recognition | |
Visual Intelligence API - Text Recognition | |
Visual Intelligence API - Object Detection | |
Image Search | |
DashScope | |
Domains and websites | Enterprise Services |
Big data search and analytics | Simple Log Service |
Big data computing | MaxCompute |
Big data | Data Lake Analytics |
Elasticsearch | |
Quick BI | |
Hologres | |
Data Lake Formation | |
Storage services | Photo and Drive Service |
Security (Apsara Stack Security) | Anti-DDoS |
Anti-DDoS Origin | |
Cloud Firewall | |
Bastionhost | |
Threat Intelligence | |
Anti-DDoS Proxy | |
Captcha | |
Developer platform | Cloud Architect Design Tool |
Technical support | Cloud Control API |
Support Plan | |
Tag Service | |
CloudSSO | |
Alibaba Cloud Tickets | |
Network | Virtual Private Cloud |
Cloud Enterprise Network | |
Anycast Elastic IP Address | |
Global Accelerator | |
Application Load Balancer | |
PrivateLink | |
Network Load Balancer | |
Network Intelligence Service | |
Video services | Apsara Video PaaS |
ApsaraVideo Media Processing | |
Visual Edge Computing Service | |
Visual Compute Service | |
ApsaraVideo VOD |
References
For information about the Workflow Studio interface, see Interface Overview.
For information about the standard mode and express mode of CloudFlow, see Standard mode and express mode.