简体   繁体   English

我在Amazon EC2上的服务器IP在哪里?

[英]Where is my servers IP on Amazon EC2?

I have just started working with Amazon Web Services and I set up my first instance. 我刚刚开始使用Amazon Web Services,并设置了我的第一个实例。 I just installed apache but now I'd like to test if the install was successful. 我刚刚安装了apache,但现在我想测试安装是否成功。 I can't seem to find where my servers IP address is. 我似乎找不到我的服务器IP地址在哪里。 Do you know where I need to look for this? 您知道我需要在哪里寻找吗?

在此处输入图片说明

UPDATE: 更新:

I'm still not seeing it. 我仍然没有看到它。 Maybe I'm blind. 也许我是盲人。 All I see is Private IPs. 我所看到的只是私有IP。

You can access your instance via the public DNS value shown. 您可以通过显示的公共DNS值访问您的实例。 The public DNS value will actually hint at the public IP address of the instance, as those are the for numbers shown in the name. 公用DNS值实际上会提示实例的公用IP地址,因为名称中显示的是这些数字。

If you want a static IP address (ie you can re-use the same IP after instance restarts), then you would need to allocate an elastic IP and attach it to the instance. 如果您想要一个静态IP地址(即,您可以在实例重启后重新使用相同的IP),则需要分配一个弹性IP并将其附加到实例。

http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-instance-addressing.html在“确定您的公共IP地址和私有IP地址”下

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM