简体   繁体   English

AWS ec2实例java EE Web应用程序部署

[英]AWS ec2 instance java EE web app deployment

This would be a opinion based question. 这将是一个基于意见的问题。 I would like to know the community opinion on the following. 我想知道社区对以下方面的意见。

I have a JAVA EE web application, which is using ANT as build tool. 我有一个JAVA EE Web应用程序,它使用ANT作为构建工具。 Now I have to deploy this application to multiple ec2 instances. 现在我必须将此应用程序部署到多个ec2实例。 What would be the best and most efficient way to do this. 什么是最好和最有效的方法来做到这一点。

I am using chef to fire up the instances and then installing custom jboss from a private repository. 我正在使用chef来启动实例,然后从私有存储库安装自定义jboss。

chef is generally used for setting up of infrastructure, and deployment activities should'nt be managed by that. chef通常用于设置基础架构,部署活动不应该由此来管理。

i prefer writing the scripts which actually does the deployment activities to the range of servers, or if having a CI for code, use CI for deployment as well. 我更喜欢将实际执行部署活动的脚本编写到服务器范围,或者如果有代码CI,则也使用CI进行部署。

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

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