且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

以避免单点故障与elasticsearch集群和Web服务器集群的***方式

更新时间:2023-11-17 09:24:10

我不认为这直接回答你的问题,但是如果你仍然确定与Web服务器上的节点上运行ES,你可以自定义软件使用 .ebextensions机制,这使得安装你要运行脚本和/或安装软件包时,新的弹性魔豆实例启动。如果这还不够,你可以使用自定义AMI启动弹性青苗实例。

I don't think this directly answers your question, but if you are still ok with running ES on your web server nodes, you can customize the software that is installed using the .ebextensions mechanism, which allows you to run scripts and/or install packages when new Elastic Beanstalk instances are started up. If this isn't sufficient you can start your Elastic Beanstalk instances using a custom AMI.

此外,你可能不知道,你可以在一个VPC运行弹性魔豆。

Also, you may not be aware that you can run Elastic Beanstalk in a VPC.