When you add a network interface to an existing Amazon AWS EC2, you have to manually add it to the operating system;
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/MultipleIP.html#assignIP-existing-cmd
Only then can the OS and other programs see and use it.