All Products
Search
Document Center

Blockchain as a Service:Cloud Service Integration

Last Updated:Feb 22, 2023

Alibaba Cloud BaaS integrated Alibaba Cloud’s other products and services, as well as providing convenient functions for on-chain and off-chain collaboration, reduce the development cost of the integration of the blockchain with other cloud services, helping you quickly complete system construction. At the same time, Alibaba Cloud BaaS also provides you with a REST API to help you avoid the tedious blockchain SDK configuration process, you can directly call smart contracts, query blocks, query transactions, and subscribe events on the chain through the REST API.

Function Compute

When you want various events on the blockchain to automatically trigger off-chain business logic, you can upload the business logic code to the Function Compute. By integrating the Function Compute service, when the event you configure to listen occurs on the chain, Alibaba Cloud BaaS will automatically invoke and push events into function that you configured in console. For configuration procedure, please refer to Integrate with Function Compute. For a detailed example, please refer to On-chain Event Triggering Off-chain Operation.

Message Queue RocketMQ

By integrating the Message Queue RocketMQ service, we will reliably and automatically publish events on the blockchain to specific topics of the Message Queue RocketMQ according to the configuration. Other applications can subscribe to these event messages in MQ for further processing. For configuration procedure, please refer to Integrate with Message Queue. For a detailed example, please refer to On-Chain Events Send to Message Queue.

Connect to External HTTP Service

By integrating external HTTP service, you can let various events on the blockchain automatically trigger your own business applications or third-party services, and push the event content to the outside for further processing. For configuration procedure, please refer to Integrate with External HTTP Service.

Content Moderation

Due to the immutable nature of the blockchain, if there is illegal information on the data on the chain, it will be difficult to clear it separately. By integrating Alibaba Cloud Content Moderation service, you can prevent such problems and prevent illegal information from being uploaded to the chain. For configuration procedure, please refer to Integrate with Content Moderation. For an example of usage, please refer to Invoke with Content Moderation.

Database

Generally blockchain data is in key-value format, which is inconvenient for data query and analysis. By integrating with relational database, BaaS can reliably and automatically export blockchain data to target database table according to your configuration. Other applications can process the data via SQL statement or analysis tools further. For configuration procedure, please refer to Integrate with Database. For an example of usage, please refer to Export Blockchain Data to Database.

OSS (Object Storage Service)

Alibaba Cloud BaaS supports storing a large volume of data or files on OSS, which can be linked with on-chain data by using trusted anchoring technique. This can guarantee immutability of the data or files. A sample application based on Hyperledger Fabric Go SDK has been provided for reference.

Video DNA

Alibaba Cloud BaaS supports fusion with Video DNA service, which can extract unique identifier from multimedia contents (e.g. image, video, audio) as DNA. And by recording such key information (including DNA) on blockchain, we are able to build up platforms for copyright attestation, infrigement tracing, copyright trading. You can refer to the homepage of The Blockchain copyright protection solution for more details.

CEN (Cloud Enterprise Network) and DNS Private Zone

Alibaba Cloud BaaS supports hybrid cloud-based consortium network by integrating with CEN and DNS Private Zone. CEN can provide secure interconnectivity between VPC and local datacenter, where blockchain nodes of BaaS and applications are deployed. Besides, DNS Private Zone can provide private domain name resolution and management capbalities for blockchain services within the CEN network.

For Enterprise Edition and Enterprise Security Edition, Alibaba Cloud BaaS supports running Hyperledger Fabric Client SDK (private key management and signature) in Link TEE, which can be leveraged for providing enhanced security for blockchain applications, especially on edge devices in IoT scenarios. You can refer to the homepage of BaaS-IoT Edge & Device Security Solution for more details.

DDoS Protection

Alibaba Cloud BaaS has built in Anti-DDoS Basic Service by default. And BaaS can also support integrating with Anti-DDoS Pro Service and Anti-DDoS Premium Service for protecting critical core business.