PlacementGroupStrategy

class aws_cdk.aws_ec2.PlacementGroupStrategy(value)

Bases: Enum

Which strategy to use when launching instances.

Attributes

CLUSTER

Packs instances close together inside an Availability Zone.

This strategy enables workloads to achieve the low-latency network performance necessary for tightly-coupled node-to-node communication that is typical of high-performance computing (HPC) applications.

PARTITION

Spreads your instances across logical partitions such that groups of instances in one partition do not share the underlying hardware with groups of instances in different partitions.

This strategy is typically used by large distributed and replicated workloads, such as Hadoop, Cassandra, and Kafka.

SPREAD

Strictly places a small group of instances across distinct underlying hardware to reduce correlated failures.