Skip to content

Commit

Permalink
Removed the history commands and fixed MD typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
tza-aws committed Jul 1, 2022
1 parent 39bbb9b commit 84d3025
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions content/launching_ec2_spot_instances/ec2_fleet.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,22 +139,10 @@ aws ec2 describe-fleets --fleet-ids "${FLEET_ID}"
EC2 Fleet does also have a `aws ec2 describe-fleet-history` and `aws ec2 describe-fleet-instances`, similarly to Spot Fleet API. However, EC2 Fleet in instant mode is not considered a regular fleet request. In fact, while for EC2 Fleet and Spot Fleet you have limits on the number of active fleets you can create, for EC2 Fleet in instant mode you can make as many calls as needed. In this regard think of it as a replacement of RunInstance API that implements Spot best practices.
{{% /notice %}}


To check the history of the fleet you can also check with the command:

```
aws ec2 describe-fleet-history --fleet-id=$FLEET_ID --start-time=$(date '+%m-%d-%YT%H:%M:%S' -d '-1 hour')
```


```
aws ec2 describe-spot-fleet-request-history --spot-fleet-request-id=$SPOT_FLEET_REQUEST_ID --start-time=$(date '+%m-%d-%YT%H:%M:%S' -d '-1 hour')
```

{{% /expand %}}


####Brief Summary of EC2 Fleet functionality
#### Brief Summary of EC2 Fleet functionality

These are some of the features and characteristics that EC2 Fleet provides, in addition to the ones covered in this section:

Expand Down

0 comments on commit 84d3025

Please sign in to comment.