Skip to content

Commit

Permalink
docs(client-auto-scaling): With this release, Amazon EC2 Auto Scaling…
Browse files Browse the repository at this point in the history
… 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.
  • Loading branch information
awstools committed Mar 1, 2024
1 parent bf0bcbf commit a1a1f67
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,8 @@ export interface CreateAutoScalingGroupCommandOutput extends __MetadataBearer {}
* call the <a>DescribeAccountLimits</a> API. For information about updating
* this limit, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-quotas.html">Quotas for
* Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
* <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
* 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
* scaled and load-balanced application</a> in the
* <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
* groups</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
* <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
* with Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
* <p>Every Auto Scaling group has three size properties (<code>DesiredCapacity</code>,
* <code>MaxSize</code>, and <code>MinSize</code>). Usually, you set these sizes based
* on a specific number of instances. However, if you configure a mixed instances policy
Expand Down
28 changes: 15 additions & 13 deletions clients/client-auto-scaling/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1364,18 +1364,19 @@ export interface InstanceRequirements {
* types or, failing that, the lowest priced previous generation instance types that match
* your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will
* exclude instance types whose price exceeds your specified threshold.</p>
* <p>The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage.</p>
* <p>To turn off price protection, specify a high value, such as <code>999999</code>. </p>
* <p>The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. </p>
* <p>If you set <code>DesiredCapacityType</code> to <code>vcpu</code> or
* <code>memory-mib</code>, the price protection threshold is based on the per-vCPU or
* per-memory price instead of the per instance price. </p>
* <note>
* <p>Only one of <code>SpotMaxPricePercentageOverLowestPrice</code> or
* <code>MaxSpotPriceAsPercentageOfOptimalOnDemandPrice</code> can be
* specified.</p>
* <code>MaxSpotPriceAsPercentageOfOptimalOnDemandPrice</code> can be specified. If
* you don't specify either, Amazon EC2 Auto Scaling will automatically apply optimal price protection
* to consistently select from a wide range of instance types. To indicate no price
* protection threshold for Spot Instances, meaning you want to consider all instance
* types that match your attributes, include one of these parameters and specify a high
* value, such as <code>999999</code>. </p>
* </note>
* <p>Default: <code>100</code>
* </p>
*/
SpotMaxPricePercentageOverLowestPrice?: number;

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

Expand Down Expand Up @@ -6014,7 +6016,7 @@ export interface ScalingPolicy {
/**
* @public
* <p>The aggregation type for the CloudWatch metrics. The valid values are <code>Minimum</code>,
* <code>Maximum</code>, and <code>Average</code>.</p>
* <code>Maximum</code>, and <code>Average</code>.</p>
*/
MetricAggregationType?: string;

Expand Down
Loading

0 comments on commit a1a1f67

Please sign in to comment.