Describe a Spot Fleet request, its instances, and event history
You can describe your Spot Fleet configuration, the instances in your Spot Fleet, and the event history of your Spot Fleet.
- Console
-
To describe your Spot Fleet
-
Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/
. -
In the navigation pane, choose Spot Requests.
-
Select your Spot Fleet request. The ID begins with sfr-. To see the configuration details, choose Description.
-
To list the Spot Instances for the Spot Fleet, choose Instances.
-
To view the history for the Spot Fleet, choose History.
-
- AWS CLI
-
To describe your Spot Fleet request
Use the describe-spot-fleet-requests command.
aws ec2 describe-spot-fleet-requests \ --spot-fleet-request-idssfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLETo describe the running instances for the specified Spot Fleet request
Use the describe-spot-fleet-instances command.
aws ec2 describe-spot-fleet-instances \ --spot-fleet-request-idsfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLETo describe the event history for the specified Spot Fleet request
Use the describe-spot-fleet-request-history command.
aws ec2 describe-spot-fleet-request-history \ --spot-fleet-request-idsfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE\ --start-time2024-05-18T00:00:00Z - PowerShell
-
To describe your Spot Fleet request
Use the Get-EC2SpotFleetRequest cmdlet.
Get-EC2SpotFleetRequestTo describe the running instances for the specified Spot Fleet request
Use the Get-EC2SpotFleetInstance cmdlet.
Get-EC2SpotFleetInstance ` -SpotFleetRequestId "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE"To describe the event history for the specified Spot Fleet request
Use the Get-EC2SpotFleetRequestHistory cmdlet.
Get-EC2SpotFleetRequestHistory ` -SpotFleetRequestId "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE"` -UtcStartTime2024-05-18T00:00:00Z