简体   繁体   English

如何使用jenkins进行构建并在AWS上部署?

[英]How to build with jenkins and deploy on aws?

I have the following task. 我有以下任务。 I have a spring-boot app(backend), and a react app(frontend). 我有一个spring-boot应用程序(后端)和一个react应用程序(前端)。 I want to build the apps and deploy them on aws. 我想构建应用程序并将其部署在AWS上。 I want to build them with Jenkins. 我想和詹金斯一起建造它们。 What is the right way to do it? 正确的做法是什么? Should Jenkins be on a separate instance and deploy the apps on other instances? Jenkins是否应该在单独的实例上,并在其他实例上部署应用程序? Should I use ECS? 我应该使用ECS吗? Using ECS with Jenkins seems like a complex task. 与詹金斯一起使用ECS似乎是一项复杂的任务。 The information online is confusing. 在线信息令人困惑。 If you have some guides that would be great. 如果您有一些指南,那就太好了。

if you want to deploy to AWS : the easiest way to get started is to use aws developer tools 如果您想部署到AWS:最简单的入门方法是使用AWS开发人员工具

  1. code commit - to store your source code. 代码提交-存储您的源代码。 it is based on git 它基于git
  2. code build - to build and test your code. 代码构建-构建和测试您的代码。
  3. code depoy - to deploy on ec2 instances or ECS, whatever you like 代码托管-随心所欲部署在ec2实例或ECS上
  4. Code pipeline - to connect 1, 2 and 3 and it also allows you to choose Jenkins in place of code build. 代码管道-连接1、2和3,它还允许您选择Jenkins代替代码构建。

https://aws.amazon.com/products/developer-tools/ https://aws.amazon.com/products/developer-tools/

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

相关问题 如何使用 Jenkins 的 AWS 角色部署 CDK? - How to deploy CDK with AWS role from Jenkins? 如何在AWS中本地构建和部署Kubernetes? - How to locally build and deploy Kubernetes in AWS? 配置Jenkins以在AWS EKS上进行部署 - Configuring Jenkins To Deploy on AWS EKS 将 Jenkins 管道部署到 AWS 服务器 - Deploy Jenkins pipeline to AWS server 如何将 aws lambda 部署为詹金斯的代理? - How can I deploy aws lambda as jenkins's agent? 如何将 AWS 凭证与 Jenkins 结合使用以部署到 Elastic Beanstalk? - How do I use AWS credentials with Jenkins to deploy to Elastic Beanstalk? 如何在不使用 AWS CodeDeploy 的情况下使用 Jenkins 将内容部署到 AWS EC2 实例 - How to deploy stuff onto AWS EC2 instance using Jenkins without using AWS CodeDeploy 如何从 jenkins 部署(创建/更新/删除)cloudformation 模板到我的 AWS 环境? - How can I deploy (create/update/delete) cloudformation templates from jenkins to my AWS environment? 如何构建、package 和部署 AWS SAM lambda function 从 azure Devops CI/CD 管道到 AWS - how to build, package and deploy AWS SAM lambda function of python from azure Devops CI/CD pipeline to AWS 如何将应用程序部署到AWS - How to deploy the app to AWS
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM