Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any better way to list up instances? #20

Open
juneng603 opened this issue Jan 9, 2018 · 1 comment
Open

Any better way to list up instances? #20

juneng603 opened this issue Jan 9, 2018 · 1 comment

Comments

@juneng603
Copy link

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?

@synthdnb
Copy link
Collaborator

synthdnb commented Feb 9, 2018

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants