EC2 Associate Level Flashcards
What are IPv4 and IPv5?
Both are two different types of IP, IPv4 is the most common on: 1.160.10.240 and IPv5 is newier: 3ffe:1900:4545:3:200:f8ff:fe21:67cf
What is an Elastic IP?
An elastic IP can be attached an EC2 instance, and if that instance stops and starts then the IP remains the same as it is a fixed IP.
What are placement groups?
Placement groups are a way of arranging our EC2 instance placement within the AWS network
How many placement groups are there and what are they called?
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)
What are the benefits of a cluster group?
A cluster placement group is located in a single AZ and same rack for high network performance and low latency, the drawback is high risk of failure.
What placement group is located in Multi AZ and different hardware?
The spread cluster can be placed in multiple AZ and on different hardware, the benefit being it reduces the risk of simultaneous failure, however, is limited to 7 instances /group/AZ . Good for high availability.
What’s the structure and benefit of Partition placement groups?
Partition placement groups are located in a single Region but can be distributed across multiple AZ on different racks (physically isolated racks). Failure of one rack won’t affect the rest of the instances.
What is an ENI?
it is an Elastic Network Interface. It is a logical component in VPC that represents a network card. It provides EC2 instances with IP and internet connectivity.
What are the attributes of ENI?
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
Do you have to create an ENI with every EC2 instance?
NO, ENI can be created independently and attached to an instance. Each EC2 instance can have multiple ENI. If one instance fails the ENI can be attached to another instance
Is ENI Multi AZ?
NO, ENI is bound to a single AZ
What is hibernate?
Hibernate allows the EC2 instance to be put on hold instead of terminating or stopping. It preserves the RAM and the root volume therefore when restarting its faster and the ram resumes where it was paused.
Why should I use a Nitro?
Nitro is the new underlying hardware for the EC2 instances, it allows better/higher IOPs.