Overview of Publishing SaaS Products
Alibaba Cloud Marketplace supports two modes for producing SaaS instances: SPI mode and license mode. Choose the mode that matches how your product activates after purchase, then publish your SaaS product with the corresponding configuration.
Choose a mode
Select the mode based on how your product activates after purchase:
|
Mode |
When to use |
What you develop |
|
SPI mode |
Product activates immediately after purchase |
An SPI operation that Alibaba Cloud Marketplace calls to trigger instance production |
|
License mode |
Customer activates the product manually on your website |
An activation page where customers enter a license generated by Alibaba Cloud Marketplace |
SPI mode
In SPI mode, Alibaba Cloud Marketplace calls your SPI (service provider interface) operation to trigger instance production immediately after a customer purchases or renews the product.
To use SPI mode, develop an SPI operation based on the specifications provided by Alibaba Cloud Marketplace, and provide the SPI endpoint when you publish your SaaS product. After the instance is produced or renewed, return the relevant instance information to Alibaba Cloud Marketplace. For more information, see Publish SaaS products in SPI mode.
Related resources:
-
SPI Demo
License mode
In license mode, customers activate your SaaS product themselves on your official website after purchase.
To use license mode, develop an activation page and provide its URL when you publish the product. Alibaba Cloud Marketplace generates a license for each purchase and displays it to the customer in the console. The customer visits your activation page, enters the license, and you call the Describe License and Activate License operations to verify and activate the product. For more information, see:
-
Note
Only authorized RAM users can call license-related operations. For more information, see Create a custom policy.
To authorize RAM users to call license-related operations, configure the following custom policy:
{
"Version":
"Statement": [
{
"Action":
"Resource":
"Effect": "Allow"
}
]
}