IPs, EC2 placement groups, ENI, EC2 hibernate Flashcards
What is Elastic IP
an AWS static IP
What is the default limit of Elastic IPs per account
5
Should you use Elastic IPs
Avoid if possible, use DNS instead
List the types of EC2 placement groups
Cluster, Spread, Partition
Describe Cluster placement group
Places instances into a low-latency group in a single availability zone (single rack), pro: great network connectivity and throughput, con: single point of failure
Describe Spread type placement group
spreads instances across different underlying hardware, can span across AZ
pro: minimize failure risk con: max 7 instances per AZ , app cannot be too big
Describe partition placement group
spreads instances across many partitions(represents a rack),
pro: safe from rack failure. Use case: big data
What is ENI?
Elastic Network Interface, logical component in a VPC, represents and virtual network card
What attributes can an ENI have?
Primary private IPv4, one or more secondary IPv5, one Elastic IP, one public IP, one or more security groups, a MAC address.
True or False, ENI can be bound to multiple
AZs
false, can only be bound to one AZ
Why would you create and attach ENIs to different EC2s on the fly?
For failover