Any better way to list up instances?
Hi,
In my case, It checks 220 instances to list up. Each time I run it, it takes several minutes to see the list of instances. It's really taking a lot of time to look up many instances. Are there any improvement plans or user tuning to improve performance?
@juneng603 Sorry for late reply. In current implementation, eclair calls describe-instances API and fetches all instances from AWS EC2. I've tried to implement cache instance information fetched from AWS EC2, but didn't have time to finish it. I'll release it when it is stable enough to release.
Also, if your use case only needs some part of instances, it's also possible to add user config to add --filter option in describe-instances API. https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-instances.html#options