Search code examples
amazon-web-serviceselastic-network-interface

Purpose of using multiple AWS Elastic network interfaces


I am reading about AWS Elastic network interfaces. Can someone tell me a good practical example of creating multiple Network Interfaces ?

Based on what I understood:

Assume there's an application that is in EC2. This application has several user functions and admin functions. We create 2 subnets, 1 for users and another for admins. We can create another Elastic network interfaces for admin users to access EC2. Is my understanding correct ? what are some common use cases for ENIs?


Solution

  • Yes, the use case you describe is one of the common reasons to have multiple ENIs on a single instance.

    There was a similar question on ServerFault with some good answers. It’s not specific to AWS, but the reasoning can be applied here as well: https://serverfault.com/questions/129935/is-there-any-reason-to-have-2-nics-on-a-server