lib/ec2/right_ec2_placement_groups.rb
# Create placement group creates a placement group (i.e. logical cluster group)
# into which you can then launch instances. You must provide a name for the group
# that is unique within the scope of your account. You must also provide a strategy
# value. Currently the only value accepted is cluster.
#
#   ec2.create_placement_group('kd_second') #=> true
#
Create placement group creates a placement group
into which you can then launch instances. You must provide a name for the group
that is unique within the scope of your account. You must also provide a strategy
value. Currently the only value accepted is cluster.


Create placement group creates a placement group into which you can then launch instances . You must provide a name for the group that is unique within the scope of your account . You must also provide a strategy value . Currently the only value accepted is cluster .
def create_placement_group(placement_group_name, strategy = 'cluster')
      link = generate_request('CreatePlacementGroup',
                              'GroupName' => placement_group_name.to_s,
                              'Strategy'  => strategy.to_s)
      request_info(link, RightBoolResponseParser.new(:logger => @logger))
    rescue Exception
      on_exception
    end
def create_placement_group ( placement_group_name , strategy = 'cluster' ) link = generate_request ( 'CreatePlacementGroup' , 'GroupName' => placement_group_name . to_s , 'Strategy' => strategy . to_s ) request_info ( link , RightBoolResponseParser . new ( :logger => @logger ) ) rescue Exception on_exception end
Create placement group creates a placement group (i.e.
Create placement group creates a placement group ( i . e .
placement_group_name
<not_specific>
strategy
<not_specific>