All Products
Search
Document Center

CloudOps Orchestration Service:ACS::CICD::SoftwarePackageDeployOnSingleEcs

Last Updated:Jun 22, 2026

Action

ACS::CICD::SoftwarePackageDeployOnSingleEcs

Description

Pulls a software package from Object Storage Service (OSS) and deploys it on an Elastic Compute Service (ECS) instance. This action supports only Linux ECS instances.

Syntax

Action: ACS::CICD::SoftwarePackageDeployOnSingleEcs
Properties:
  regionId: String
  instanceId: String
  bucketName: String
  objectName: String
  isInternal: Boolean
  downloadPath: String
  deployScript: String

Attributes

Attribute

Description

Type

Required

Default value

Limit

regionId

The region ID.

String

No

{{ ACS::RegionId }}

instanceId

The ID of the ECS instance.

String

Yes

bucketName

The name of the OSS bucket.

String

Yes

objectName

The name of the OSS object.

String

Yes

isInternal

Specifies whether to generate an internal URL.

Boolean

No

True

downloadPath

The download path of the software package.

String

No

/home/admin/app/

deployScript

The deployment script.

String

No

# Deployment script example
# tar zxvf /home/admin/app/package.tgz -C /home/admin/app/
# sh /home/admin/app/deploy.sh restart
# git clone ***@***.git

Output

None

References

For more information, see ACS::CICD::SoftwarePackageDeployOnSingleEcs.yml on GitHub.