Lets say I have a CentOS server running on AWS. When I deployed it, I got a public IP t which I can connect to from my other systems, and a Private IP on that server that shows up if I do ifconfig, which is not accessible by systems outside that VPC.
So if I add another network interface, will that create another Public IP for that instance or there can only be 1 Public IP per instance?
If so, how do we get to decide on what interface we want to route the traffic via? Does AWS take away this capability from the users? (I tried understanding Elastic IP's but having a hard time, if the answer lies in there I will try to read more)