• Resource Template Service

rts
  1. Help Center
  2. Resource Template Service
  3. User Guide
  4. Example Templates
  5. Creating an ECS Group

Creating an ECS Group

Application Scenarios

This template is used to create a group of ECSs.

Example Template

heat_template_version: 2014-10-16
description: Create a group of ECSs.
resources:
  instance_group:
    type: OS::Heat::ResourceGroup
    properties:
      count: Number of resource
      resource_def:
        type: OS::Nova::Server
        properties:
          name: aaaa-%index%
          image: Image Name or ID
          flavor: Flavor Name
          key_name: Key Pair
          networks:
            - network: Network Name or ID
          availability_zone: AZ Name