以下の内容はhttps://anton0825.hatenablog.com/entry/20130512/1371892972より取得しました。


自身のpublic dns nameを取得する方法

httpでInstanceMetadataを取得できる。
下記を実行するとPublic Dns Nameを取得出来る。IPはどのEc2インスタンスでも同じ。

curl -s http://169.254.169.254/latest/meta-data/public-hostname

参考:https://forums.aws.amazon.com/thread.jspa?threadID=77788
 Instance Metadata and User Data - Amazon Elastic Compute Cloud




以上の内容はhttps://anton0825.hatenablog.com/entry/20130512/1371892972より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14