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?
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