ec2 上的 grails - bitnami tomcat 7 堆栈与 'vanilla' Ubuntu实例
刚刚开始为小型 grails 应用程序部署准备 AWS ec2 帐户,想知道您对使用 tomcat7 部署到 bitnami 实例与安装 java、tomcat 和手动进行配置的过程的想法。
两者之间有什么优点和缺点吗?我计划在嵌入模式下使用 h2(至少现在),所以此时我不担心 MySql 实例。
我试图使整个过程尽可能简单,并将开销降至最低。 提前致谢。
Just started prepping AWS ec2 account for small grails app deploy and would like to know your thoughts on deploying to bitnami instance with tomcat7 vs going through the process of installing java, tomcat and doing configuration by hand.
Any pros and cons in relation to one or the other? I'm planning to use h2 in embedded mode (at least for now) so I'm not worried about MySql instance at this point.
I'm trying to keep the whole process as simple as possible and keep the overhead to a minimum.
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我目前在 ec2 上的一些 grails 应用程序中使用 bitnami 堆栈,我喜欢它,但我已经习惯了 bitnami 放置所有内容的方式,如果您更喜欢普通的 ubuntu,请使用它。
如果您的主要目标是进行简单的部署,您应该考虑研究一些 PaaS 产品,Elastic Beanstalk是建立在 EC2 之上的,应该使部署变得非常容易,但它在存储来自 H2 的数据时可能有自己的问题,我还没有研究过这一点。
其他一些值得关注的 PaaS:
I currently use the bitnami stack for some of my grails apps on ec2 I like it but I'm used to how bitnami has placed everything, if you are more comfortable with vanilla ubuntu use that.
If your main goal is to do simple deployments you should consider looking into some of the PaaS offerings, Elastic Beanstalk is build on top of EC2 and should make things very easy to deploy, but it may have its own issues with storing data from H2 I haven't looked into that.
A few other PaaS to look at: