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

machine_batch should batch requests #306

Open
tyler-ball opened this issue Aug 31, 2015 · 2 comments
Open

machine_batch should batch requests #306

tyler-ball opened this issue Aug 31, 2015 · 2 comments
Labels
Triage: Confirmed Indicates and issue has been confirmed as described. Type: Bug Doesn't work as expected. Type: Enhancement Adds new functionality.

Comments

@tyler-ball
Copy link
Contributor

If a user has a recipe containing the following:

machine_batch "apache cluster" do
  (1..10).each do |i|
    machine "apache_#{i}" do
      machine_options #...
      run_list ["recipe[apache]"]
    end
  end
end

We should be only be making 1 request to AWS to create all 10 machines. With the AWS SDK V2 we can set a min_count and max_count parameter on the create_instances call.

@charlesjohnson
Copy link

See also #17, #227

@bpoweski
Copy link

bpoweski commented Nov 2, 2016

This is useful for properly utilizing placement groups.

@tas50 tas50 added Type: Bug Doesn't work as expected. Type: Enhancement Adds new functionality. Status: Confirmed and removed Bug labels Jul 31, 2018
@tas50 tas50 added Triage: Confirmed Indicates and issue has been confirmed as described. and removed Status: Confirmed labels Dec 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Triage: Confirmed Indicates and issue has been confirmed as described. Type: Bug Doesn't work as expected. Type: Enhancement Adds new functionality.
Development

No branches or pull requests

4 participants