简体   繁体   English

AWS代码部署以部署

[英]AWS code deploy to deploy

Right now I am manually deploying WAR files onto wildfly server(which is hosted on an ec2 instance) but I want to automate this and get rid of the manual deployments. 现在,我正在手动将WAR文件部署到wildfly服务器(托管在ec2实例上)上,但是我想使它自动化并摆脱手动部署。

I build the application using jenkins (from another EC2 instance) and after that i want to deploy to the wildfly server and since i am also planning to user codepipeline, can anyone please tell me how to deploy an applcation on wildfly server using AWS CodeDeploy? 我使用jenkins(从另一个EC2实例)构建应用程序,此后我想部署到wildfly服务器,并且由于我还打算使用用户代码管道,因此谁能告诉我如何使用AWS CodeDeploy在Wildfly服务器上部署应用程序?

I am new to codedeploy so not that familiar with its usage. 我是Codedeploy的新手,所以对它的用法不太熟悉。

Thank you, Ajit 谢谢阿吉特

Hi @Ajith Code Deploy is the perfect tool for deploying applications in AWS. 嗨,@ Ajith Code Deploy是在AWS中部署应用程序的理想工具。 But it has some limitations, for example to give a source repository for the Code Build/ Code Deploy you can only choose these 3 as the code repository. 但是它有一些限制,例如,要为代码构建/代码部署提供源存储库,您只能选择这三个作为代码存储库。

  1. AWS Code Commit AWS代码提交
  2. AWS S3 Bucket AWS S3存储桶
  3. Guthub 古图布

You cant provide your own custom repository or Bitbucket. 您不能提供自己的自定义存储库或Bitbucket。 Please go through the below Examples for deploying applications using Code Deploy. 请通过下面的示例使用代码部署来部署应用程序。 I can't explain all the steps because it have a lot of steps. 我无法解释所有步骤,因为它有很多步骤。 here they are explaining app deployment using tomcat, replace this with your wildfly scripts. 他们在这里解释使用tomcat进行应用程序部署,将其替换为wildfly脚本。

Deploy Applications From S3 using Code Deploy. 使用代码部署从S3部署应用程序。

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

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