Updated on 2024-09-04 GMT+08:00

Deploying an Application on ServiceStage 2.0

ServiceStage is an application and microservice management platform that facilitates application deployment, monitoring, O&M, and governance.

ServiceStage supports Container deployment, AS Group, and ECS. You can select a deployment system based on project requirements.

This section is not applicable to the Mexico and Singapore sites.

Prerequisites

  1. You have created an application on ServiceStage.
  2. You have created and deployed a component on ServiceStage.
  3. You have created an environment on ServiceStage.

Procedure

Table 1 CCE deployment system

Parameter

Description

Action Name

Name of an added deployment action. Max 128 characters. Do not start or end with a space. Use letters, digits, spaces, and these special characters: -_,;:./().

Region

Region where ServiceStage is deployed.

Deployment System

Supports Container deployment, AS Group, and ECS.

Application

Select the application created in ServiceStage.

Stack

Docker or other technology stacks.

Component

Select the component to be deployed.

Component Version

The component version number is used to roll back the component in ServiceStage.

Environment

Select the environment to be deployed.

Cluster

Select the CCE cluster to be deployed in the preceding environment.

Namespace

Namespace where the component is to be deployed in the CCE cluster.

Pods

Enter the number of pods of the component.

Image

Select the image to be deployed. (Push the required image to SWR).

Image Tag

Select an image tag.

Container Specifications

Select specs:

  • default: You can select the default resource configuration provided by the system.
  • customize: You can configure resources as required.

Control Options

Continue the task even if this action fails.

Table 2 ECS deployment system

Parameter

Description

Action Name

Name of an added deployment action. Max 128 characters. Do not start or end with a space. Use letters, digits, spaces, and these special characters: -_,;:./().

Region

Region where ServiceStage is deployed.

Deployment System

Supports Container deployment, AS Group, and ECS.

Application

Select the application created in ServiceStage.

Component

Select the component to be deployed.

Component Version

The component version number is used to roll back the component in ServiceStage.

Environment

Select the environment to be deployed.

ECS

Select the ECS to be deployed.

Select deploy source

Artifact: Select an existing software package from Artifact.

OBS: Select the software package uploaded using OBS.

Control Options

Continue the task even if this action fails.

Table 3 AS Group deployment system

Parameter

Description

Action Name

Name of an added deployment action. Max 128 characters. Do not start or end with a space. Use letters, digits, spaces, and these special characters: -_,;:./().

Region

Region where ServiceStage is deployed.

Deployment System

Supports Container deployment, ECS, and AS Group.

Application

Select the application created in ServiceStage.

Component

Select the component to be deployed.

Component Version

The component version number is used to roll back the component in ServiceStage.

Environment

Select the environment to be deployed.

AS Group

Select the AS group to be deployed.

AS Instance

Select the AS group instance to be deployed.

Select Deploy Source

Artifact: Select an existing software package from Artifact.

OBS: Select the software package uploaded using OBS.

Control Options

Continue the task even if this action fails.

If you encounter any problem during deployment, see Solutions to Common Problems.