Amazon Web Services
docs.aws.amazon.com › amazon ec2 › user guide › ec2 fleet and spot fleet
EC2 Fleet and Spot Fleet - Amazon Elastic Compute Cloud
EC2 Fleet and Spot Fleet are designed to be a useful way to launch a fleet of tens, hundreds, or thousands of Amazon EC2 instances in a single operation.
Amazon Web Services
docs.aws.amazon.com › amazon ec2 › user guide › ec2 fleet and spot fleet › work with spot fleet › create a spot fleet
Create a Spot Fleet - Amazon Elastic Compute Cloud
The following example launches Spot Instances in a capacity-optimized fleet. Request-EC2SpotFleet ` -SpotFleetRequestConfig_TargetCapacity 50 ` -SpotFleetRequestConfig_AllocationStrategy "CapacityOptimized" ` -SpotFleetRequestConfig_IamFleetRole "arn:aws:iam::123456789012:role/my-spot-fleet-role" ` -SpotFleetRequestConfig_LaunchTemplateConfig @($launchConfig)
Videos
05:53
Did You Know That Amazon EC2 Spot Fleet Supports Automatic Scaling?
38:50
Master EC2 Spot Instances: Ultimate Guide to Massive Savings - ...
01:42
Spot Fleet Allocation Strategies (and when to use each one) - YouTube
15:32
What are spot instances and spot fleet ? | Cloud With Mohsin - YouTube
Amazon Web Services
docs.aws.amazon.com › amazon ec2 › user guide › ec2 fleet and spot fleet › example cli configurations spot fleet
Example CLI configurations Spot Fleet - Amazon Elastic Compute Cloud
The Spot Fleet launches the instances in the lowest-priced Availability Zone that has a default subnet. The price you pay does not exceed the On-Demand price. { "TargetCapacity": 20, "IamFleetRole": "arn:aws:iam::123456789012:role/aws-ec2-spot-fleet-tagging-role", "LaunchSpecifications": [ ...
Amazon Web Services
docs.aws.amazon.com › amazon ec2 › user guide › ec2 fleet and spot fleet › configuration options for your ec2 fleet or spot fleet › ec2 fleet and spot fleet request types
EC2 Fleet and Spot Fleet request types - Amazon Elastic Compute Cloud
An EC2 Fleet or Spot Fleet request type defines whether the request is synchronous or asynchronous, and whether it makes a one-time request for the desired target capacity or makes a continued effort to maintain the target capacity over time, with options including request and maintain, and ...
Spot.io
spot.io › resources › aws-autoscaling › aws-spot-fleet-the-first-step-to-saving-with-spot-instances
AWS Spot Fleet: The first step to saving with Spot Instances
October 12, 2025 - Amazon Web Services (AWS) Spot Fleets are collections of AWS spot instances, virtual servers from Amazon’s pool of spare capacity, offered at discounts of up to 90%. Spot instances need to be carefully managed, because they are terminated by Amazon at short notice when the market price goes about your bidding price.
Amazon Web Services
docs.aws.amazon.com › amazon ec2 › user guide › ec2 fleet and spot fleet › configuration options for your ec2 fleet or spot fleet › use allocation strategies to determine how ec2 fleet or spot fleet fulfills spot and on-demand capacity
Use allocation strategies to determine how EC2 Fleet or Spot Fleet fulfills Spot and On-Demand capacity - Amazon Elastic Compute Cloud
The fleet then requests Spot Instances from the lowest priced of these pools. The price capacity optimized allocation strategy is the best choice for most Spot workloads, such as stateless containerized applications, microservices, web applications, data and analytics jobs, and batch processing. If you're using the AWS CLI, the parameter name is price-capacity-optimized for EC2 Fleet and priceCapacityOptimized for Spot Fleet.
Amazon Web Services
docs.aws.amazon.com › amazon ec2 › user guide › ec2 fleet and spot fleet › work with spot fleet
Work with Spot Fleet - Amazon Elastic Compute Cloud
To start using a Spot Fleet, create a request that includes the total target capacity for Spot Instances, an optional On-Demand portion, and either manually specify an AMI and a key pair, or specify a launch template that includes the configuration for the instances in the fleet.
Ec2spotworkshops
ec2spotworkshops.com › launching_ec2_spot_instances › spot_fleet.html
(Optional) - Launching an EC2 Spot Instance via Spot Fleet request :: EC2 Spot Workshops
IamFleetRole must be set up to point to the ARN of an IAM role that grants the Spot Fleet the permission to request, launch, terminate, and tag instances on your behalf. For this purpose, you are going to first retrieve the ARN of the Service-Linked role named AWSServiceRoleForEC2SpotFleet.
AWS
docs.aws.amazon.com › amazon ec2 › api reference › actions › requestspotfleet
RequestSpotFleet - Amazon Elastic Compute Cloud
The Spot Fleet request specifies the total target capacity and the On-Demand target capacity.
The Cloudericks Blog
cloudericks.com › home › aws cloud › understanding ec2 spot instances, spot blocks, and spot fleets
Understanding EC2 Spot Instances, Spot Blocks, and Spot Fleets - The Cloudericks Blog
December 25, 2024 - Use Cases: Similar to Spot Instances, ... active, or disabled). Then terminate the associated Spot Instances. A Spot Fleet is a collection of Spot Instances and, optionally, On-Demand Instances....
Ec2spotworkshops
ec2spotworkshops.com › launching_ec2_spot_instances › ec2_fleet.html
Launching EC2 Spot Instances via EC2 Fleet :: EC2 Spot Workshops
The value for DefaultTargetCapacityType specifies whether Spot or On-Demand Instances should be used to meet the TotalTargetCapacity. By setting SingleInstanceType and SingleAvailabilityZone to true, you are forcing the EC2 Fleet request to provision all the instances in the same Availability Zone and of the same type. Copy and paste this command to create the EC2 Fleet and export its identifier to an environment variable to later monitor the status of the fleet. export FLEET_ID=$(aws ec2 create-fleet --cli-input-json file://ec2-fleet-config.json | jq -r '.FleetId')
AWS
docs.aws.amazon.com › aws batch › user guide › security in aws batch › aws batch iam execution role › amazon ec2 spot fleet role
Amazon EC2 spot fleet role - AWS Batch
This policy grants Spot Fleet permission to launch, tag, and terminate instances on your behalf. Specify the role in your Spot Fleet request. You must also have the AWSServiceRoleForEC2Spot and AWSServiceRoleForEC2SpotFleet service-linked roles for Amazon EC2 Spot and Spot Fleet.
Amazon Web Services
docs.aws.amazon.com › amazon ec2 › user guide › ec2 fleet and spot fleet › work with spot fleet › describe a spot fleet request, its instances, and event history
Describe a Spot Fleet request, its instances, and event history - Amazon Elastic Compute Cloud
Learn how to describe your Spot Fleet configuration, the instances in your Spot Fleet, and the event history of your Spot Fleet.
Boltops
blog.boltops.com › 2018 › 07 › 15 › what-is-the-difference-between-spot-fleet-vs-spot-instances
What is the Difference Between Spot Fleet vs Spot Instances - BoltOps Blog
With spot fleets, you can request a variety of different instance types that meet your requirements. Additionally, you can spread your spot fleet bet across multiple AZs to increase the likelihood of getting your instance fulfilled. It’s like playing rollette and being able to bet a single chip on multiple numbers.
Amazon Web Services
docs.aws.amazon.com › amazon ec2 › user guide › ec2 fleet and spot fleet › configuration options for your ec2 fleet or spot fleet
Spot Fleet configuration strategies - AWS Documentation
Learn about the different options for configuring your EC2 Fleet and Spot Fleet.
Amazon Web Services
docs.aws.amazon.com › amazon ec2 › user guide › ec2 fleet and spot fleet › work with spot fleet › understand automatic scaling for spot fleet › scheduled scaling: scale spot fleet on a schedule
Scheduled scaling: Scale Spot Fleet on a schedule - Amazon Elastic Compute Cloud
Scaling your fleet on a schedule enables you to scale your application in response to predictable changes in demand. By creating scheduled actions, you can instruct Spot Fleet to perform scaling activities at specific times. To create a scheduled action, you must specify an existing Spot Fleet, the time when the scaling activity must occur, and the desired minimum and maximum capacity.
AWS CLI
awscli.amazonaws.com › v2 › documentation › api › 2.0.34 › reference › ec2 › request-spot-fleet.html
request-spot-fleet — AWS CLI 2.0.34 Command Reference
Indicates whether running Spot Instances should be terminated if you decrease the target capacity of the Spot Fleet request below the current size of the Spot Fleet. ... The number of units fulfilled by this request compared to the set target capacity. You cannot set this value. ... The number of On-Demand units fulfilled by this request compared to the set target On-Demand capacity. ... The Amazon Resource Name (ARN) of an AWS Identity and Access Management (IAM) role that grants the Spot Fleet the permission to request, launch, terminate, and tag instances on your behalf.
Amazon Web Services
docs.aws.amazon.com › amazon ec2 › user guide › ec2 fleet and spot fleet › work with spot fleet › understand automatic scaling for spot fleet
Understand automatic scaling for Spot Fleet - Amazon Elastic Compute Cloud
Learn how to use automatically increase or decrease the target capacity of your Spot Fleet based on demand.