Updated on 2025-07-09 GMT+08:00

Preparations

Preparing Resources

  • Create a VPC. For details, see Creating a VPC.
  • Create an elastic load balancer and bind it to an EIP. For details, see Creating a Shared Load Balancer.

    The VPC to which the load balancer belongs has been created.

  • Create a CCE standard cluster. Set Cluster Scale to 50 nodes and Master Nodes to Single.
    For details, see Buying a CCE Standard/Turbo Cluster.
    • The cluster must contain at least one ECS node with 8 vCPUs and 16 GB memory or two ECS nodes with 4 vCPUs and 8 GB memory.

      For details about how to add nodes to a CCE cluster, see Creating a Node .

    • The VPC to which the cluster belongs has been created.
  • Create a DCS instance. For details, see Buying a DCS Redis Instance.
  • Create a bucket for storing software packages. For details, see Creating a Bucket.

Obtaining and Uploading the Component Template Package

  1. Download the component template package template-package-demo.zip.
  2. Upload the package to the OBS bucket prepared in Preparing Resources.

    For details, see Streaming Upload (PUT).

Obtaining the Download Address of the Uploaded Image Package

  1. Download the image package demo-app.tar.
  2. Upload the package to the SWR image repository.

    For details, see Uploading an Image.

  3. Obtain the image package download address. For details, see Obtaining an Image Pull Address.

Creating an Environment

  1. Log in to ServiceStage.
  2. Choose Environment Management > Create Environment. Then set required environment information by referring to the following table, and retain the default values for other parameters.

    Parameter

    Description

    Environment

    Enter an environment name, for example, template-demo-env.

    Enterprise Project

    Enterprise projects let you manage cloud resources and users by project.

    For details, see Enabling the Enterprise Project Function.

    Environment Type

    Select Kubernetes.

    HA Environment

    Select No.

    VPC

    Select the VPC prepared in Preparing Resources.

    The VPC cannot be modified after the environment is created.

    Configuration Mode

    Select Resource Management.

  3. Click Create Now.
  4. Choose Clusters under Compute and click Bind now.

    1. For Cluster, select the CCE cluster created in Preparing Resources.
    2. Set Namespace to default.
    3. Click OK.

  5. Choose Load Balancers under Networking. Then click Manage Resource.
  6. In the dialog box that is displayed, select the ELB resource created in Preparing Resources and click OK.
  7. Choose Distributed Cache Service under Middleware and click Manage Resource.
  8. In the dialog box that is displayed, select the DCS resource created in Preparing Resources and click OK.

Creating an Application

  1. Click in the upper left corner to return to the Environment Management page.
  2. Choose Application Management > Create Application and configure the application by referring to the following table.

    Parameter

    Description

    Name

    Enter an application name, for example, template-demo-app.

    Enterprise Project

    default is selected by default.

    Enterprise projects let you manage cloud resources and users by project.

    For details, see Enabling the Enterprise Project Function.

  3. Click OK.

Creating an Organization

  1. Choose Deployment Source Management > Organization Management.
  2. Click Create Organization.
  3. Enter an organization name, for example, org-test.
  4. Click OK.