Placement groups
This is similar to the Raid Levels ## Cluster
Clusters instances into a low-latency group in a single Avalibility
zone -
Infra - Same Rack(same hardwere) - Same AZ(avalibility zone)
- Pros - Greate network(10Gbps
bandwith between instances)
- Cons - If the rack fails, all instances fail.
- Use case:
- Big Data Job that need to complete fast
- App that needs extremely low latency and high network throughput
Spread
Spreads instances across underlying hardwere (Max 7 instace per group
per AZ) #CriticalApps
- Pros
- Can span accross AZ
- Reduce simultaneous failure
- Cons
- Only 7 instances
- Use Case
- Aplication that maximzie high avalibility
- Each instance has to be isolated form faileur from each other ### Can Operate on racks and hosts Aws host outputs
Partition
Spreads accrros
many diffrent partiction (relay on diffrent sets of racks) - Scales to
100 EC2 instaces per gorup (Kafka,Cassandra) - a partition failure can
affect many EC2 but won’t affect otehr partitions - EC2 instance get
access to the partition metadata - Use cases
- Kafka, Cassandra