问题描述
按照说明操作:
https://github.com/deis/deis/tree/master/的contrib / EC2
部署DEIS EC2的成VPC,Cloudformation堆栈启动,并创建实例,但这些实例不具有公网IP的,这些实例射入并具备自动分配子网的公网IP的功能。
to deploy Deis to EC2 into a VPC, Cloudformation stack start up and creates the instances, however the instances does not have public IP's, the subnet the instances are launched into does have auto assign public IP's enabled.
因此,没有公网IP的我不知道如何与车队连接到实例。
So, without the public IP's I am not sure how to connect to the instances with fleet.
任何人有任何想法对我缺少的是什么?
Anyone have any idea's on what I am missing?
推荐答案
在默认情况下,提供脚本不分配公网IP地址,因为前提是,你调配到VPC是内部网络和你访问(如VPN)的其他方式。
By default, the provision scripts don't assign public IP addresses because the assumption is that the VPC you're provisioning into is internal to your network and that you have other means of access (like VPN).
不过,你可以用公网IP改变的以真
和重新部署。
However, you can easily provision your instances with public IPs by changing this line to True
and redeploying.
我们知道这是令人困惑,我们正在努力改写我们的EC2配置脚本。感谢您和我们一起坚持!
We know this is confusing, and we're working to rewrite our EC2 provisioning scripts. Thanks for sticking with us!
这篇关于DEIS没有公网IP的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!