Advanced/Enhanced Networking Interfaces Flashcards
Can EC2 instances have multiple ENIs?
Yes
If an EC2 instance has two ENIs, one primary and one secondary, which of the two can be detached and migrated to another EC2 instance?
Only the secondary. The primary ENI is permanently attached to the EC2 for the life of the EC2 instance. If the EC2 instance is deleted, that primary ENI (with it’s IP) is also deleted.
What are some use cases for multiple ENIs for one EC2 instance?
1) Multihoming interfaces to use for different roles that are in different subnets
2) Separate/isolate management subnets from production traffic on two separate ENIs
3) Application software licensing tied to one mac address can be attached to a secondary ENI for ease of detaching and moving the ENI to another EC2 instance
4) Used for low budget and high availablity b/c the secondary interface can be detached and moved to a backup EC2 instance
What are three main attributes of an ENI?
1) It attaches to an EC2 instance as a virtual network interface
2) By default, a private ipv4 address is attached to the ENI after creation of the ENI
3) Only one security group can be attached to one ENI
Can an ENI be moved to another availability zone?
No, it cannot. Primary and secondary ENIs can only reside in the same availability zone as it’s local EC2 instance.
What is SR-IOV?
SR-IOV is a method of device virtualization that provides higher I/O performance and lower CPU utilization
What networking virtualization is considered enhanced networking in AWS?
SR-IOV (single root input/output virtualization)
Is there an additional charge to use enhanced networking?
No
What are some of the attributes of SR-IOV?
1) High bandwidth
2) Low latency
3) Higher packet per second (pp) performance
What type of EC2 instance does not support enhanced networking?
T2
With SR-IOV, is traffic handled by a hypervisor?
No
True or false: SR-IOV is considered close to bare metal because there’s no hypervisor involved in traffic handling.
True
What is encompassed in 5-tuple properties?
1) source IP address
2) source port
3) destination IP address
4) destination port
5) protocol
How can you best describe 5-tuple?
Single flow communication between the source and destination devices.
What is the 5-tuple bandwidth speed between two hosts?
5 Gbps
What are the two types of network adapters (hint ENIs)?
1) Intel 82599 Virtual Function Interface
2) Elastic Network Adapter (ENA)
What is the maximum bandwidth of Intel 82599 Virtual Function Interface?
10 Gbps
What is the maximum bandwidth of Elastic Network Adapter (ENA)?
100 Gbps