简体   繁体   English

aws 云配置与 spring 云配置相比有哪些优势?

[英]what are the advantages of aws cloud config over spring cloud config?

Based on what parameters can we decide on a config server?我们可以根据哪些参数来决定配置服务器? aws cloud config vs spring cloud config server? aws 云配置与 Spring 云配置服务器?

  1. if the application is developed based on Spring framework, which one will be a better option?如果应用程序是基于 Spring 框架开发的,哪一个会更好? aws-cloud-config / spring-config? aws-cloud-config / spring-config?
  2. does both support XML/properties configuration other than YAML?是否都支持 YAML 以外的 XML/属性配置?
  3. Can both be configured for High Availability?两者都可以配置为高可用性吗?
  4. Is it possible to define a workflow (for approval of changes that need to be moved to PRODUCTION, using jenkins for example?)是否可以定义工作流程(例如,用于批准需要移至 PRODUCTION 的更改,例如使用 jenkins?)

If your application is based on Spring, it makes sense to use Spring Cloud Config as you would be using a specific framework instead of a Generic framework like AWS config如果您的应用程序基于 Spring,那么使用 Spring Cloud Config 是有意义的,因为您将使用特定框架而不是像 AWS config 这样的通用框架

yes, Spring Cloud Config supports both YAML and property files是的,Spring Cloud Config 支持 YAML 和属性文件

Ultimately the Spring Cloud Config is a Spring Boot App, hence you can make it high available using the same strategy that we use for any Spring Application最终,Spring Cloud Config 是一个 Spring Boot 应用程序,因此您可以使用我们用于任何 Spring 应用程序的相同策略使其高可用

The simplest Approval work flow would be最简单的审批工作流程是

  1. Configure your Jenkins Job to send mail for approval配置您的 Jenkins 作业以发送邮件以供批准
  2. Set-up Promotion using https://wiki.jenkins.io/display/JENKINS/Promoted+Builds+Plugin使用https://wiki.jenkins.io/display/JENKINS/Promoted+Builds+Plugin 进行设置推广
  3. Deploy the Artificats to the specific environment将 Artificats 部署到特定环境

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

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