edit-icon download-icon

Create a scaling configuration

Last Updated: Mar 06, 2018

This document gives an example of how to make the CreateScalingConfiguration API request, including specifying ImageID, InstanceType, and ScalingGroupId.

Request example

  1. http://ess.aliyuncs.com/?Action=CreateScalingConfiguration
  2. &ScalingGroupId=dP8VqSd9ENXPc0ciVmbcrBT1
  3. &SecurityGroupId=sg-280ih3w4b
  4. &ImageId=centos6u5_64_20G_aliaegis_20140703.vhd
  5. &InstanceType=ecs.t1.xsmall
  6. &<Public Request Parameters>

Return example

  1. <CreateScalingConfigurationResponse>
  2. <ScalingConfigurationId>eOs27Kb0oXvQcUYjEGelJqUy</ScalingConfigurationId>
  3. <RequestId>5CC0AD41-08ED-4559-A683-6F56355FE068</RequestId>
  4. </CreateScalingConfigurationResponse>
Thank you! We've received your feedback.