Getting Started
Deploy products as an administrator and manage instances as an end user. This example uses a Terraform template to create a VPC instance 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
-
In the RAM console, create a RAM user 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 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, set the following 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 sharing configurations with other accounts, this value helps users identify the provider.
Alice.
Description
The description of the product portfolio. Helps users understand its features and applicable scenarios.
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.
-
On the Products tab of the product portfolio page, click Create product.
-
On the Create product page, set the following parameters.
Parameter
Parameter and example
Basic information
-
Name: VPC Product.
-
Provider: Alice.
-
Product description: Create a VPC.
-
TemplateType: Terraform.
Version details
-
Version name: 1.0.0.
-
Product version description: 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 product portfolio page, click the Access tab, and then click Grant access.
-
On the RAM user tab of the Grant access panel, find RAM User B.
-
In the Operation column for RAM User B, click Access.
-
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, review the details of the VPC product.
-
In the Operation column for the VPC product, click Launch product.
-
Enter the launch parameters and click Next.
Parameter
Example
Product instance name
VPC-52****
NoteA name is automatically generated for the product instance. You do not need to specify one manually.
Product version
1.0.0
Region
China (Hangzhou)
VPC CIDR Block
172.16.0.0/12
-
Review and confirm the VPC CIDR block, and then click Launch product.
Wait a few moments. When the Instance status changes to Available, the VPC instance is created. You can then view the instance information.