I setup cPanel some time ago on an AWS EC2 instance. At the time the documentation seemed to indicate that the best way to get clean separation of the IPs / domains was to have multiple network interfaces each of which have an elastic IP address that is used for each of the domains that need separation. Overall this approach seems to be working fine with the right level of isolation between the domains. However I recently noticed that the dhclient is trying to reach out from the non-primary interfaces. I was under the impression at the time I set this up that the best practice was to leave the network configurations set to DHCP. However at this point I can't find any guidance on that and I'm wondering if that is correct. Does anyone have experience or information on the best practices for DHCP vs. static IP setup on EC2 instances? And if you use static setup, how do you ensure the server is using the appropriate AWS DNS servers?
Please sign in to leave a comment.