ec2-fleet | A distributed load test framework using Amazon EC2 | AWS library
kandi X-RAY | ec2-fleet Summary
kandi X-RAY | ec2-fleet Summary
A distributed load test framework using Amazon EC2 instances.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Start the AWS instance
- Display status updates
- make request handler
- Get all instances of a reservation
- Send a request to the DNS record name .
- Get client instance
- Normalizes single response to an object .
- Terminate instances of an instance
- update a list of regions
- Pads a string .
ec2-fleet Key Features
ec2-fleet Examples and Code Snippets
Community Discussions
Trending Discussions on ec2-fleet
QUESTION
I'm attempting to launch an EC2 Fleet of ~2000 instances across several subnets, each subnet in a different AZ to minimize fate sharing between the instances. We are creating the fleet with a list of subnets in the override config, but it is picking a single subnet from that list and attempting to launch all the instances in that subnet.
How can I configure the fleet so that it can spread the instances it launches across the subnets provided?
Using the AWS Node.js SDK, here's the code I'm attempting to use for launching the fleet:
...ANSWER
Answered 2020-Oct-16 at 05:04I'd suggest to use Auto Scaling groups instead of EC2 Fleet, since balancing instances across AZs is a key requirement. Using AWS SDK this should be a straightforward change.
The other thing I'd suggest, is to use Spot instances instead of On-Demand or mix of both to optimize the cost. This is possible through the MixedInstancesPolicy property, and as a best practice you can use multiple instance types and capacity-optimized as SpotAllocationStrategy to allow ASG to pick the capacity from the most available instance pools.
Also ASG will be able to keep number of instance at the desired capacity by replacing any interrupted Spot instances.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ec2-fleet
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page