Section6: EC2 Flashcards

1
Q

What is Elastic IP?

A

-It is static/fix public IP address.

  • Can be found in the AWS console if you goto “EC2”->”Elastic IP”
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is Placement Groups?

A
  • Sometimes you want to control over the EC2 Instance placement strategy.
  • When you create a placement group, you specify one of the following strategies for the group:
    - Cluster - clusters instances into low-latency group in a single Availability Zone.
    - Spread - spreads instances acrosss underlying(different) hardware
    - Partition - spreads instances across many different partitions(Different sets of racks)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Explain the use case, pros and cons for “Placement Groups Cluster”

A
  • Its on the same rack
  • Pros: Great network speed
  • Cons: If the rack fails, all instances fails at the same time.
  • Use case:
    - Big Data job that needs to complete fast
    - Application that needs extremely low latency.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Explain the use case, pros and cons for “Placement Groups Spread”

A

Pros:
- All instance are located on different racks/hardware.
- Reduce risk of simultaneous failure
- Can span across Availability zones

Cons:
- limited to 7 instances per AZ(Availability Zones) per placement group

Use case:
- Application that needs high availability
- Critical Application that 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
5
Q

Explain “Placement Groups Partition”

A
  • Up to 7 partitions per AZ(Available Zones)
  • Can span across multiple AZs in the same region
  • The instances in a partition do not share racks with the instances in the other partitions.
  • A partition failure can affect many EC2 but wont affect other partitions.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is EC2 Hibernate? p53

A
  • The in-memory(RAM) state is preserved, it is stored to a file which gets encrypted.
  • The instance boot is much faster.
  • Doesnt support all instances
  • Instance RAM size must be less than 150GB.

-Use Cases:
- long running processing
- saving the RAM state
- services that take time to initialize

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

What is EC2 Nitro?

A
  • Next generation of EC2 instances with new virtualization technology.
  • Allows for better performance:
    - Better networking options
    - Higher speed EBS
  • Better underlying security
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is vCPU?

A
  • Take the number of core’s times the number of threads per CPU. Example 4 core and 2 threads per core gives you 8 vCPU’s.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly