AWS::EC2::NetworkInterface
- Elastic Network Interface (ENI)
- Represents a
Network Card
- It can be attached to an EC2 instance
-
ENI can be created independently and attached to EC2 instances on the fly
-
IP Types
Private IP
: used within the private networkPublic IP
: unique across all webElastic IP
: a static public ip. You can only have5
elastic ip in your aws account
Properties
Type: AWS::EC2::NetworkInterface
Properties:
ConnectionTrackingSpecification:
ConnectionTrackingSpecification
Description: String
EnablePrimaryIpv6: Boolean
GroupSet:
- String
InterfaceType: String
Ipv4PrefixCount: Integer
Ipv4Prefixes:
- Ipv4PrefixSpecification
Ipv6AddressCount: Integer
Ipv6Addresses:
- InstanceIpv6Address
Ipv6PrefixCount: Integer
Ipv6Prefixes:
- Ipv6PrefixSpecification
PrivateIpAddress: String
PrivateIpAddresses:
- PrivateIpAddressSpecification
SecondaryPrivateIpAddressCount: Integer
SourceDestCheck: Boolean
SubnetId: String
Tags:
- Tag
InterfaceType
-
Enhanced Networking (SR-IOV)
-
Elastic Network Adapter (ENA)
- Higher
bandwight
, higherPPS
(packet per second), lowerlatency
- Up to 100 Gbps
-
Legacy ENA: Intel 82599 VG (10 Gbps)
-
Elastic Fabric Adapter (EFA)
- Improved ENA
- Linux only
- Inter-node communication
- Leverages
Message Passing Interface
(MPI): bypasses the underlying linux OS - Low latency, reliable transport
PrivateIpAddress
- Primary
Private IP
(IPv4) + more secondaries (optional)