VM::EC..._group(3pm)
β¨ VM::EC2::REST::placement_group π
okay bestie, so this is a page from the User Contributed Perl Documentation collection β it's the manual for VM::EC2::REST::placement_group, aka the bit of the VM::EC2 toolkit that deals with placement groups on AWS. no cap, it's shorter than it sounds. let's get into it π«Ά
πΈ NAME πΈ
VM::EC2::REST::placement_group β Placement groups π
π SYNOPSIS π
use VM::EC2 ':hpc'
that's it. that's the whole synopsis. one line. she's concise, she's iconic, she ate. π
π¦ METHODS π¦
okay so here's the tea: placement groups give you low latency and high-bandwidth connectivity between cluster instances, and they do it within a single Availability Zone. the move is: create a placement group, then launch your cluster instances into it. instances that get launched inside a placement group participate in a full-bisection bandwidth cluster β which is literally exactly what you want for HPC applications. no cap, that's the whole point. π
here's what's Implemented:
CreatePlacementGroupDeletePlacementGroupDescribePlacementGroups
β @groups = $ec2->describe_placement_groups(@group_names)
β @groups = $ec2->describe_placement_groups(\%filters)
β @groups = $ec2->describe_placement_groups(-group_name=>\@ids,-filter=>\%filters)
this method hands you back the deets on your cluster placement groups, as a list of VM::EC2::PlacementGroup objects. π
Optional arguments:
-group_nameβ a scalar or an arrayref of placement group names. whatever vibes you're feeling.-filterβ tags and other filters to apply. π§
the filters available are described fully at: http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DescribePlacementGroups.html
and the actual filter names are:
group-namestatestrategy
π $success = $ec2->create_placement_group($group_name)
π $success = $ec2->create_placement_group(-group_name=>$name,-strategy=>$strategy)
creates a placement group that cluster instances get launched into. π
Required arguments:</purl>
-group_nameβ the name of the placement group to create
Optional:
-strategyβ as of2012-12-23, the only available option is'cluster', so the parameter defaults to that. iykyk. π
returns true on success. periodt.
π $success = $ec2->delete_placement_group($group_name)
π $success = $ec2->delete_placement_group(-group_name=>$group_name)
deletes a placement group from the account. bye bestie, you will not be missed π (jk jk, but fr, she's gone).
Required arguments:
-group_nameβ the name of the placement group to delete
returns true on success. β¨
π SEE ALSO π
VM::EC2
π AUTHOR π
Lincoln Stein <lincoln.stein@gmail.com>. π«Ά
Copyright (c) 2011 Ontario Institute for Cancer Research
This package and its accompanying libraries is free software; you can redistribute it and/or modify it under the terms of the GPL (either version 1, or at your option, any later version) or the Artistic License 2.0. Refer to LICENSE for the full license text. In addition, please see DISCLAIMER.txt for disclaimers of warranty.
and that's the whole page, bestie π go forth and cluster your instances responsibly. no notes. π
this has been perl v5.38.2 energy, dated 2024-08-10, in the VM::EC..._group(3pm) era β mwah πβ¨
π¦ where this page comes from
- debian trixie: libvm-ec2-perl 1.28-5 Β· Artistic-2.0 OR GPL-1.0-or-later
- ubuntu resolute: libvm-ec2-perl 1.28-5 Β· Artistic-2.0 OR GPL-1.0-or-later
- ubuntu stonking: libvm-ec2-perl 1.28-5 Β· Artistic-2.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms