I've set up an EC2 instance where I need to run some software, flexlm, and be accessible through a public IP address. I've set up an elastic IP and things should be working.
However, whenever I ssh into the instance or connect to it through the AWS console, I have the private IP in the terminal as my userID (e.g.)
ec2-user@ip-<private-ip>$
When I run the software, which is a license checking software, it says I am running the software from the private IP and not the EIP I set up.
Maybe I am understanding private vs public IP wrong? When I ssh into my EC2 is it even possible to run things and have them be exposed through the public IP? When someone accesses the EIP is that just being routed to the private IP?
Some clarity on the difference between IPs would be useful as well as info on if I can run software and have it run from the private IP.
Update: Added more detail