This topic describes how to deploy products as the administrator and manage instances as an end user. In this example, a virtual private cloud (VPC) is created by using a Terraform template to help you get started with Service Catalog.
Before you begin
If you log on to the Service Catalog console for the first time, you must authorize the system to create a service-linked role named AliyunServiceRoleForServiceCatalog. Service Catalog assumes this role to access the resources of Resource Orchestration Service (ROS). For more information, see Service-linked role.
Deploy a product as the administrator
Create a Resource Access Management (RAM) user in the RAM console and attach the AdministratorAccess policy to the RAM user.
For more information, see Create a RAM user and Grant permissions to RAM users.
NoteIf the AdministratorAccess policy is attached to an existing RAM user, you can log on to the Alibaba Cloud Management Console as the existing RAM user.
Log on to the Alibaba Cloud Management Console as the RAM user that is created in Step 1.
For more information, see Log on to the Alibaba Cloud Management Console as a RAM user.
In the Service Catalog console, create a product portfolio.
Log on to the Service Catalog console.
In the left-side navigation pane, choose .
On the Portfolio management page, click Create portfolio.
On the Create portfolio page, configure the parameters. The following table describes the parameters.
Parameter
Description
Example
Name
The name of the product portfolio.
TestPortfolio.
Provider
The employee or department that provides and manages the product portfolio. When the administrator shares the configurations of the product portfolio with other accounts, users can identify the provider of the product portfolio based on the value of this parameter.
Alice.
Description
The description of the product portfolio. This helps users understand the features and scenarios of the product portfolio.
Get started with Service Catalog.
Click Confirm.
Create a product for the product portfolio that is created in Step 3. In this example, a Virtual Private Cloud (VPC) product is created.
Click the name of the created product portfolio. On the Products tab, click Create product.
On the Create product page, configure the parameters. The following table describes the parameters.
Parameter
Parameter and example
Product details
Name: VPC.
Provider: Alice.
Product description: Create a VPC.
TemplateType: Terraform.
Version details
Version name: 1.0.0.
Product version description: The initial version of the VPC product.
Terraform Template:
Select Getting Started Example.
Select Virtual Private Cloud (VPC).
Click Confirm.
In the RAM console, create a RAM user as an end user. For example, you can create a RAM user named RAM User B, and grant permissions to RAM User B.
For more information, see Grant permissions to an end user.
On the Portfolio management page, click the name of the created product portfolio. On the page that appears, click the Access tab, and then click Grant access.
On the RAM user tab of the Grant access panel, find RAM User B.
Click Access in the Operation column.
Manage a product instance as an end user
Log on to the Service Catalog console as RAM User B that is created in Step 5 of the Deploy a product as the administrator section.
In the left-side navigation pane, click Products.
On the Products page, view information about the VPC product.
Click Launch product in the Operation column.
Configure the parameters that are described in the following table and click Next.
Parameter
Example
Product instance name
VPC-52****
NoteA name is automatically generated for the product instance to be created. You do not need to manually specify a name.
Product version
1.0.0
Region
China (Hangzhou)
VPC CIDR Block
172.16.0.0/12
Check and confirm the information that you specified, and then click Launch product.
Wait for a period of time. After Available appears next to the Instance status parameter, the product instance is created. Then, you can query the information about the product instance based on your business requirements.