Skip to content

Commit 3654629

Browse files
author
AWS
committed
Amazon Elastic Compute Cloud Update: This release adds a new instance replacement strategy for EC2 Fleet, Spot Fleet. Now you can select an action to perform when your instance gets a rebalance notification. EC2 Fleet, Spot Fleet can launch a replacement then terminate the instance that received notification after a termination delay
1 parent 0e6179d commit 3654629

File tree

2 files changed

+32
-6
lines changed

2 files changed

+32
-6
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Elastic Compute Cloud",
4+
"contributor": "",
5+
"description": "This release adds a new instance replacement strategy for EC2 Fleet, Spot Fleet. Now you can select an action to perform when your instance gets a rebalance notification. EC2 Fleet, Spot Fleet can launch a replacement then terminate the instance that received notification after a termination delay"
6+
}

services/ec2/src/main/resources/codegen-resources/service-2.json

+26-6
Original file line numberDiff line numberDiff line change
@@ -23120,7 +23120,10 @@
2312023120
},
2312123121
"FleetReplacementStrategy":{
2312223122
"type":"string",
23123-
"enum":["launch"]
23123+
"enum":[
23124+
"launch",
23125+
"launch-before-terminate"
23126+
]
2312423127
},
2312523128
"FleetSet":{
2312623129
"type":"list",
@@ -23134,8 +23137,13 @@
2313423137
"members":{
2313523138
"ReplacementStrategy":{
2313623139
"shape":"FleetReplacementStrategy",
23137-
"documentation":"<p>To allow EC2 Fleet to launch a replacement Spot Instance when an instance rebalance notification is emitted for an existing Spot Instance in the fleet, specify <code>launch</code>. Only available for fleets of type <code>maintain</code>.</p> <note> <p>When a replacement instance is launched, the instance marked for rebalance is not automatically terminated. You can terminate it, or you can leave it running. You are charged for both instances while they are running.</p> </note>",
23140+
"documentation":"<p>The replacement strategy to use. Only available for fleets of type <code>maintain</code>.</p> <p> <code>launch</code> - EC2 Fleet launches a new replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet. EC2 Fleet does not terminate the instances that receive a rebalance notification. You can terminate the old instances, or you can leave them running. You are charged for all instances while they are running. </p> <p> <code>launch-before-terminate</code> - EC2 Fleet launches a new replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet, and then, after a delay that you specify (in <code>TerminationDelay</code>), terminates the instances that received a rebalance notification.</p>",
2313823141
"locationName":"replacementStrategy"
23142+
},
23143+
"TerminationDelay":{
23144+
"shape":"Integer",
23145+
"documentation":"<p>The amount of time (in seconds) that Amazon EC2 waits before terminating the old Spot Instance after launching a new replacement Spot Instance.</p>",
23146+
"locationName":"terminationDelay"
2313923147
}
2314023148
},
2314123149
"documentation":"<p>The strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an elevated risk of being interrupted.</p>"
@@ -23145,10 +23153,14 @@
2314523153
"members":{
2314623154
"ReplacementStrategy":{
2314723155
"shape":"FleetReplacementStrategy",
23148-
"documentation":"<p>The replacement strategy to use. Only available for fleets of type <code>maintain</code>.</p> <p>To allow EC2 Fleet to launch a replacement Spot Instance when an instance rebalance notification is emitted for an existing Spot Instance in the fleet, specify <code>launch</code>. You must specify a value, otherwise you get an error.</p> <note> <p>When a replacement instance is launched, the instance marked for rebalance is not automatically terminated. You can terminate it, or you can leave it running. You are charged for all instances while they are running.</p> </note>"
23156+
"documentation":"<p>The replacement strategy to use. Only available for fleets of type <code>maintain</code>.</p> <p> <code>launch</code> - EC2 Fleet launches a replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet. EC2 Fleet does not terminate the instances that receive a rebalance notification. You can terminate the old instances, or you can leave them running. You are charged for all instances while they are running. </p> <p> <code>launch-before-terminate</code> - EC2 Fleet launches a replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet, and then, after a delay that you specify (in <code>TerminationDelay</code>), terminates the instances that received a rebalance notification.</p>"
23157+
},
23158+
"TerminationDelay":{
23159+
"shape":"Integer",
23160+
"documentation":"<p>The amount of time (in seconds) that Amazon EC2 waits before terminating the old Spot Instance after launching a new replacement Spot Instance.</p>"
2314923161
}
2315023162
},
23151-
"documentation":"<p>The Spot Instance replacement strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an elevated risk of being interrupted. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-configuration-strategies.html#ec2-fleet-capacity-rebalance\">Capacity rebalancing</a> in the <i>Amazon EC2 User Guide</i>.</p>"
23163+
"documentation":"<p>The Spot Instance replacement strategy to use when Amazon EC2 emits a rebalance notification signal that your Spot Instance is at an elevated risk of being interrupted. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-configuration-strategies.html#ec2-fleet-capacity-rebalance\">Capacity rebalancing</a> in the <i>Amazon EC2 User Guide</i>.</p>"
2315223164
},
2315323165
"FleetSpotMaintenanceStrategies":{
2315423166
"type":"structure",
@@ -36923,7 +36935,10 @@
3692336935
},
3692436936
"ReplacementStrategy":{
3692536937
"type":"string",
36926-
"enum":["launch"]
36938+
"enum":[
36939+
"launch",
36940+
"launch-before-terminate"
36941+
]
3692736942
},
3692836943
"ReportInstanceReasonCodes":{
3692936944
"type":"string",
@@ -40635,8 +40650,13 @@
4063540650
"members":{
4063640651
"ReplacementStrategy":{
4063740652
"shape":"ReplacementStrategy",
40638-
"documentation":"<p>The replacement strategy to use. Only available for fleets of type <code>maintain</code>. You must specify a value, otherwise you get an error.</p> <p>To allow Spot Fleet to launch a replacement Spot Instance when an instance rebalance notification is emitted for a Spot Instance in the fleet, specify <code>launch</code>.</p> <note> <p>When a replacement instance is launched, the instance marked for rebalance is not automatically terminated. You can terminate it, or you can leave it running. You are charged for all instances while they are running.</p> </note>",
40653+
"documentation":"<p>The replacement strategy to use. Only available for fleets of type <code>maintain</code>.</p> <p> <code>launch</code> - Spot Fleet launches a new replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet. Spot Fleet does not terminate the instances that receive a rebalance notification. You can terminate the old instances, or you can leave them running. You are charged for all instances while they are running. </p> <p> <code>launch-before-terminate</code> - Spot Fleet launches a new replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet, and then, after a delay that you specify (in <code>TerminationDelay</code>), terminates the instances that received a rebalance notification.</p>",
4063940654
"locationName":"replacementStrategy"
40655+
},
40656+
"TerminationDelay":{
40657+
"shape":"Integer",
40658+
"documentation":"<p>The amount of time (in seconds) that Amazon EC2 waits before terminating the old Spot Instance after launching a new replacement Spot Instance.</p>",
40659+
"locationName":"terminationDelay"
4064040660
}
4064140661
},
4064240662
"documentation":"<p>The Spot Instance replacement strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an elevated risk of being interrupted. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-configuration-strategies.html#spot-fleet-capacity-rebalance\">Capacity rebalancing</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>"

0 commit comments

Comments
 (0)