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

Preparations

Preparing Resources

  1. Create a VPC. For details, see Creating a VPC.
  2. Create an ECS. For details, see Purchasing an ECS in Custom Config Mode.

    The VPC to which the ECS belongs is the one created in 1.

  3. Create a bucket for storing software packages. For details, see Creating a Bucket.

Obtaining and Uploading the Software Package

  1. Download the software package demoJavaExample.zip.
  2. Upload the software package obtained in 1 to the OBS bucket prepared in Preparing Resources.

    For details, see Streaming Upload (PUT).

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

    Enterprise Project

    Specify Enterprise Project.

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

    For details, see Enabling the Enterprise Project Function.

    Environment Type

    Select VM.

    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 ECSs under Compute. Then click Manage Resource.

    1. Select the ECS created in Preparing Resources.
    2. Click OK.

  5. Install the VM agent on the managed ECS. For details, see Installing a VM Agent.

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

    Enterprise Project

    Specify Enterprise Project.

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

    For details, see Enabling the Enterprise Project Function.

  3. Click OK.