All Products
Search
Document Center

CloudOps Orchestration Service:ACS-ECS-BulkyReleasePublicIpAddress

Last Updated:Jun 22, 2026

Template name

Releases public IP addresses of ECS instances in batches.

Execute now

Template description

Releases the public IP addresses of multiple ECS instances in a single operation.

Template type

Automation

Owner

Alibaba Cloud

Input parameters

Parameter name

Description

Type

Required

Default value

Constraints

publicIpAddress

The public IP addresses of the ECS instances to release.

List

Yes

regionId

The ID of the region.

String

No

{{ ACS::RegionId }}

rateControl

The concurrency settings for task execution.

Json

No

{‘Mode’: ‘Concurrency’, ‘MaxErrors’: 0, ‘Concurrency’: 10}

OOSAssumeRole

The RAM role assumed by OOS to execute the template.

String

No

“”

Output parameters

None.

Access policies required to execute this template

{
    "Version": "1",
    "Statement": [
        {
            "Action": [
                "ecs:ReleasePublicIpAddress"
            ],
            "Resource": "*",
            "Effect": "Allow"
        }
    ]
}

Details

ACS-ECS-BulkyReleasePublicIpAddress details

Template content

FormatVersion: OOS-2019-06-01
Description:
  name-en: ACS-ECS-BulkyReleasePublicIpAddress
  name-zh-cn: Release public IP addresses in batches
  en: Releases public IP addresses in batches.
  zh-cn: Release public IP addresses in batches
Parameters:
  regionId:
    Type: String
    Label:
      en: RegionId
      zh-cn: Region ID
    AssociationProperty: RegionId
    Default: '{{ ACS::RegionId }}'
  publicIpAddress:
    Label:
      en: PublicIpAddress
      zh-cn: Public IP addresses of instances
    Type: List
  rateControl:
    Label:
      en: RateControl
      zh-cn: Concurrency rate for task execution
    Type: Json
    AssociationProperty: RateControl
    Default:
      Mode: Concurrency
      MaxErrors: 0
      Concurrency: 10
  OOSAssumeRole:
    Label:
      en: OOSAssumeRole
      zh-cn: The RAM role that OOS assumes
    Type: String
    Default: ''
RamRole: '{{ OOSAssumeRole }}'
Tasks:
  - Name: releasePublicIpAddress
    Action: ACS::ExecuteAPI
    Description:
      en: Releases the public IP address.
      zh-cn: Release the public IP address
    Properties:
      Service: ECS
      API: ReleasePublicIpAddress
      Parameters:
        RegionId: '{{ regionId }}'
        PublicIpAddress: '{{ ACS::TaskLoopItem }}'
    Loop:
      RateControl: '{{ rateControl }}'
      Items: '{{ publicIpAddress }}'