Getting Started

更新时间:
复制 MD 格式

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

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

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

    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. On the Products tab of the product portfolio page, click Create product.

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

        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 product portfolio page, 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. In the Operation column for RAM User B, click Access.

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, review the details of the VPC product.

  4. In the Operation column for the VPC product, click Launch product.

  5. Enter the launch parameters and click Next.

    Parameter

    Example

    Product instance name

    VPC-52****

    Note

    A 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

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