Skip to content

Commit a1a1f67

Browse files
author
awstools
committed
docs(client-auto-scaling): With this release, Amazon EC2 Auto Scaling groups, EC2 Fleet, and Spot Fleet improve the default price protection behavior of attribute-based instance type selection of Spot Instances, to consistently select from a wide range of instance types.
1 parent bf0bcbf commit a1a1f67

File tree

3 files changed

+23
-24
lines changed

3 files changed

+23
-24
lines changed

clients/client-auto-scaling/src/commands/CreateAutoScalingGroupCommand.ts

+2-5
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,8 @@ export interface CreateAutoScalingGroupCommandOutput extends __MetadataBearer {}
3636
* call the <a>DescribeAccountLimits</a> API. For information about updating
3737
* this limit, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-quotas.html">Quotas for
3838
* Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
39-
* <p>For introductory exercises for creating an Auto Scaling group, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/GettingStartedTutorial.html">Getting started with
40-
* Amazon EC2 Auto Scaling</a> and <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-register-lbs-with-asg.html">Tutorial: Set up a
41-
* scaled and load-balanced application</a> in the
42-
* <i>Amazon EC2 Auto Scaling User Guide</i>. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/AutoScalingGroup.html">Auto Scaling
43-
* groups</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
39+
* <p>If you're new to Amazon EC2 Auto Scaling, see the introductory tutorials in <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/get-started-with-ec2-auto-scaling.html">Get started
40+
* with Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
4441
* <p>Every Auto Scaling group has three size properties (<code>DesiredCapacity</code>,
4542
* <code>MaxSize</code>, and <code>MinSize</code>). Usually, you set these sizes based
4643
* on a specific number of instances. However, if you configure a mixed instances policy

clients/client-auto-scaling/src/models/models_0.ts

+15-13
Original file line numberDiff line numberDiff line change
@@ -1364,18 +1364,19 @@ export interface InstanceRequirements {
13641364
* types or, failing that, the lowest priced previous generation instance types that match
13651365
* your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will
13661366
* exclude instance types whose price exceeds your specified threshold.</p>
1367-
* <p>The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage.</p>
1368-
* <p>To turn off price protection, specify a high value, such as <code>999999</code>. </p>
1367+
* <p>The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. </p>
13691368
* <p>If you set <code>DesiredCapacityType</code> to <code>vcpu</code> or
13701369
* <code>memory-mib</code>, the price protection threshold is based on the per-vCPU or
13711370
* per-memory price instead of the per instance price. </p>
13721371
* <note>
13731372
* <p>Only one of <code>SpotMaxPricePercentageOverLowestPrice</code> or
1374-
* <code>MaxSpotPriceAsPercentageOfOptimalOnDemandPrice</code> can be
1375-
* specified.</p>
1373+
* <code>MaxSpotPriceAsPercentageOfOptimalOnDemandPrice</code> can be specified. If
1374+
* you don't specify either, Amazon EC2 Auto Scaling will automatically apply optimal price protection
1375+
* to consistently select from a wide range of instance types. To indicate no price
1376+
* protection threshold for Spot Instances, meaning you want to consider all instance
1377+
* types that match your attributes, include one of these parameters and specify a high
1378+
* value, such as <code>999999</code>. </p>
13761379
* </note>
1377-
* <p>Default: <code>100</code>
1378-
* </p>
13791380
*/
13801381
SpotMaxPricePercentageOverLowestPrice?: number;
13811382

@@ -1390,16 +1391,17 @@ export interface InstanceRequirements {
13901391
* your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will
13911392
* exclude instance types whose price exceeds your specified threshold.</p>
13921393
* <p>The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage.</p>
1393-
* <p>To indicate no price protection threshold, specify a high value, such as
1394-
* <code>999999</code>. </p>
13951394
* <p>If you set <code>DesiredCapacityType</code> to <code>vcpu</code> or
13961395
* <code>memory-mib</code>, the price protection threshold is based on the per-vCPU or
13971396
* per-memory price instead of the per instance price. </p>
13981397
* <note>
13991398
* <p>Only one of <code>SpotMaxPricePercentageOverLowestPrice</code> or
14001399
* <code>MaxSpotPriceAsPercentageOfOptimalOnDemandPrice</code> can be specified. If
1401-
* you don't specify either, then <code>SpotMaxPricePercentageOverLowestPrice</code> is
1402-
* used and the value for that parameter defaults to <code>100</code>.</p>
1400+
* you don't specify either, Amazon EC2 Auto Scaling will automatically apply optimal price protection
1401+
* to consistently select from a wide range of instance types. To indicate no price
1402+
* protection threshold for Spot Instances, meaning you want to consider all instance
1403+
* types that match your attributes, include one of these parameters and specify a high
1404+
* value, such as <code>999999</code>. </p>
14031405
* </note>
14041406
*/
14051407
MaxSpotPriceAsPercentageOfOptimalOnDemandPrice?: number;
@@ -5961,7 +5963,7 @@ export interface ScalingPolicy {
59615963
* </li>
59625964
* </ul>
59635965
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-target-tracking.html">Target tracking
5964-
* scaling policies</a> and <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-simple-step.html">Step and simple scaling
5966+
* scaling policies</a> and <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-simple-step.html">Step and simple scaling
59655967
* policies</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
59665968
*/
59675969
PolicyType?: string;
@@ -5986,7 +5988,7 @@ export interface ScalingPolicy {
59865988
/**
59875989
* @public
59885990
* <p>The minimum value to scale by when the adjustment type is
5989-
* <code>PercentChangeInCapacity</code>. </p>
5991+
* <code>PercentChangeInCapacity</code>. </p>
59905992
*/
59915993
MinAdjustmentMagnitude?: number;
59925994

@@ -6014,7 +6016,7 @@ export interface ScalingPolicy {
60146016
/**
60156017
* @public
60166018
* <p>The aggregation type for the CloudWatch metrics. The valid values are <code>Minimum</code>,
6017-
* <code>Maximum</code>, and <code>Average</code>.</p>
6019+
* <code>Maximum</code>, and <code>Average</code>.</p>
60186020
*/
60196021
MetricAggregationType?: string;
60206022

0 commit comments

Comments
 (0)