2015-01-07 AWSでログイン中のインスタンスの公開ドメインを取得するコマンド curl http://169.254.169.254/latest/meta-data/public-hostname http://unix.stackexchange.com/questions/24355/is-there-a-way-to-get-the-public-dns-address-of-an-instance