盆景弹性研究中的IP地址限制作为Heroku插件 [英] IP Address Restriction in Bonsai ElasticSearch as a Heroku Addon
问题描述
我已经开始使用Heroku的插件来进行ElasticSearch,盆景。我想在我的网站上创建几个类别的后端搜索。由于这是仅后端服务,并且可能包含敏感信息,如何限制连接到Heroku提供给我的只有我的Web服务器的IP地址/范围的盆景服务器的IP地址。
I have started using Heroku's addon for ElasticSearch, Bonsai. I want to create a backend search for several categories on my website. Since this is a backend only service, and may contain sensitive information, how do I limit the IP addresses connecting to the Bonsai server that Heroku has provided me to only the IP address/range of my web servers.
请注意,我的网络服务器运行在私有硬件上,并不托管在云服务上。我也没有在Heroku上使用任何其他的Web服务,所以我宁愿不使用Ruby的答案。
Note that my web servers are running on private hardware and are not hosted on a cloud service. I am also not using any other web service on Heroku, so I prefer not to use a Ruby answer to this.
推荐答案
最终与盆景团队合作,在他们的结尾设置一个自定义解决方案,需要使用用户名和密码组合来访问我的托管搜索中的任何数据。
I ended up working with the Bonsai team to set up a custom solution on their end that required a username and password combination to access any data on my hosted search.
这篇关于盆景弹性研究中的IP地址限制作为Heroku插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!