mac terminal displaying other name than host name
Somewhere, whether it be in a virtual network created in AWS or your company's own network, you are being assigned a hostname through a DHCP server (and possibly in conjunction with a RADIUS server).

Looking at the format of the assigned name, it's too specific (us-west-2.compute.internal), and the IP address and domain both point to internal networks.

You can manually set your hostname with the command:

sudo scutil --set HostName "YourHostName"

However, when you reboot, it will revert back to whatever has been assigned to you.  Your best bet is to check with your network manager.