All Products
Search
Document Center

Service Catalog:Getting Started

Last Updated:Apr 19, 2024

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

  1. 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.

    Note

    If 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.

  2. Log on to the Alibaba Cloud Management Console as the RAM user that is created in Step 1.

  3. In the Service Catalog console, create a product portfolio.

    1. Log on to the Service Catalog console.

    2. In the left-side navigation pane, choose Administrator > Portfolio management.

    3. On the Portfolio management page, click Create portfolio.

    4. 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.

    5. Click Confirm.

  4. Create a product for the product portfolio that is created in Step 3. In this example, a Virtual Private Cloud (VPC) product is created.

    1. Click the name of the created product portfolio. On the Products tab, click Create product.

    2. 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:

        1. Select Getting Started Example.

        2. Select Virtual Private Cloud (VPC).

    3. Click Confirm.

  5. 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.

    1. 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.

    2. On the RAM user tab of the Grant access panel, find RAM User B.

    3. Click Access in the Operation column.

Manage a product instance as an end user

  1. 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.

  2. In the left-side navigation pane, click Products.

  3. On the Products page, view information about the VPC product.

  4. Click Launch product in the Operation column.

  5. Configure the parameters that are described in the following table and click Next.

    Parameter

    Example

    Product instance name

    VPC-52****

    Note

    A 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

  6. 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.