Chapter 6.8 - Optimizing with EC2 Placement Groups Flashcards

1
Q

What are Placement Groups?

A

A Placement Group is a methodology that allows you to influence the placement of a group of interdependent instances to meet the needs of your workload while minimizing correlated failures by placing instances in such a way that all of your instances are spread out across underlying hardware.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the 3 Types of Placement Groups and their basic use cases?

A

Cluster Placement Groups
Low network latency, high network throughput

Partition Placement Groups
Multiple EC2 instances; HDFS, HBase, and Cassandra

Spread Placement Groups
Individual critical EC2 instances

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the fundamental characteristics of Cluster Placement Groups?

A

Grouping of instances within a single placement Availability Zone.

Recommended for applications that need low network latency, high network throughput, or both.

Only certain instance types can be launched into a cluster placement group.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the fundamental characteristics of Partition Placement Groups?

A

Each partition placement group has it’s own set of racks.

Each rack has its own network and power source.

No two partitions within a placement group share the same racks, allowing you to isolate the impact of hardware failure within your application.

Used for multiple instances and you want them to be on their own dedicated network and power sources.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the fundamental characteristics of Spread Placement Groups?

A

A spread placement group is a group of instances that are each placed on distinct underlying hardware.

Spread placement groups are recommended for applications that have a small number of critical instances that should be kept separate from each other.

Used for individual instances such as a primary database and a backup database.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which Placement Group types can and cannot span multiple Availability Zones?

A

Cluster = No

Partition and Spread = Yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What types of instances CAN be launched into a Placement Group?

A

Compute optimized

GPU optimized

Memory optimized

Storage optimized

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How is merging and moving of Placement Groups handled?

A

You can’t merge placement groups.

You can move an existing instance into a placement group. Before you move the instance, the instance must be in a stopped state. You can move or remove an instance using the AWS CLI or an AWS SDK, but you can’t do it via the console yet.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly