Posted On: Jan 6, 2021
You now have an option to delete an instant type EC2 Fleet. All running instances associated with it will be terminated and the fleet will be deleted.
There are three types of EC2 Fleet - instant, request, and maintain. Instant type fleet places a synchronous one-time capacity request and provisions only the instances that launched at the time of request. Request and maintain types are asynchronous requests which differ in the way they handle target capacity over time. Previously, you could only delete fleets of request and maintain type. For instant type fleet you had to manually terminate all running instances in the fleet first, and then wait for the empty fleet to get automatically shut down with some delay. Now, you can delete an instant type fleet and terminate all associated instances with a single API call. This feature is also supported in Amazon CloudFormation.
Amazon EC2 Fleet simplifies provisioning of EC2 capacity across different EC2 instance types, Availability Zones, and purchase models (On-Demand, Reserved Instances, and Spot), to optimize scale, performance and cost. To learn more about using EC2 Fleet please visit this page.