EC2 Advanced Flashcards

1
Q

Cluster placement Group

A

Place your EC2 instances next to each other which gives you high-performance computing and networking.

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

Elastic IP

A

Elastic IP is a public IPV4 that you own as long as you want and you can attach it to one EC2 instance at a time.

Used if you need to have a fixed public IP for your instance.

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

Placement Groups

A
  • Sometimes you want control over the EC2 Instance placement strategy
  • That strategy can be defined using placement groups
  • When you create a placement group, you specify one of the following strategies for the group:
  • Cluster—clusters instances into a low-latency group in a single Availability Zone
  • Spread—spreads instances across underlying hardware (max 7 instances per
    group per AZ)
  • Partition—spreads instances across many different partitions (which rely on different sets of racks) within an AZ. Scales to 100s of EC2 instances per group (Hadoop, Cassandra, Kafka)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Spread Placement Group

A

Places EC2 instances on different physical hardware across different AZs

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

ENI

A

Elastic Network Interface.
Logical component in a VPC that represents a
virtual network card
* The ENI can have the following attributes:
* Primary private IPv4, one or more secondary IPv4 * One Elastic IP (IPv4) per private IPv4
* One Public IPv4
* One or more security groups
* A MAC address
* You can create ENI independently and attach them on the fly (move them) on EC2 instances for failover
* Bound to a specific availability zone (AZ)

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

EC2 Hibernate

A

Amazon EC2 signals the operating system to perform hibernation (suspend-to-disk). The hibernation freezes all of the processes, saves the contents of the RAM to the EBS root volume, and then performs a regular shutdown. After the shutdown is complete, the instance moves to the stopped state.

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

Private IP

A

machine can only be identified on a private network

IP must be unique across the private network

two different private networks (two companies) can have the same IPs.

Machines connect to WWW using NAT device + internet gateway

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

Public IP

A

machine can be identified on the internet

must be unique across the whole web (no two machines can share the same public IP)

can be geo-located easily

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

Cluster Placement Groups

A

Pros: Great Network
Cons: if AZ fails, all instances fail at the same time
Use Case: Big data job that needs to complete fast. applications that need extremely low latency and high network throughput

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

Spread Cluster Groups

A

all EC2 instances are located on different hardware.

pros: can span across AZs. reduced risk is simultaneous.

cons: limited to 7 instances per AZ per placement group.

Use Case: application that needs to maximize high availability. Critical Applications where each instance must be isolated from failure from each other.

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

Partition

A

Instances spread across partitions in multiple AZs. each partition is in its own rack.

pros: can span across multiple AZs in same region. up to 100s of EC2 instances. the instances do not share the hardware physical rack with instances in the other partitions so each partition is isolated from failure.

use case: big data applications HDFS, HBase, Cassandra, Apache Kafka.

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

Elastic Network Interfaces

A

Logical component in a VPC that represent a virtual network card. provides instance network connectivity. It enables data to be sent and received between the computer and other network-connected devices, such as routers or switches.

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

EC2 Hibernate

A

When EC2 Instance stops running, In-memory (RAM) state is preserved.

the RAM state is written to a file in the root EBS volume.

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