CDK是否执行编排?除了供应 [英] Does CDK perform orchestration ? apart from provisioning

查看:122
本文介绍了CDK是否执行编排?除了供应的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们使用CloudFormation / Terraform在AWS中配置资源。

We used CloudFormation/Terraform for provisioning resources in AWS.

配置是关于创建新状态

将一个州转换为另一州。

transforming one state to another.

例如:一个州是一台装有apache web的计算机xy

for example: a state is a machine installed with apache web x.y

我们使用了ansible工具来编排配置

We used ansible tool to orchestrate provisioning

自动化是用来定义可以自动执行的任务。

Automation is to define task that can be executed automatically.

自动化可以在单个系统上使用。编排采用自动化并协调多个系统之间的过程。通常是因为一个系统在完成其任务之前可能依赖于另一个系统。没有自动化,就无法进行业务流程编排。

Automation may be used on the single system. Orchestration takes the automation and coordinates the process between multiple systems. Usually because one system may be dependent on another system before it can accomplish its task. You cannot have orchestration without automation.

因此,业务编排是解决依赖关系

So, Orchestration is about resolving dependencies

Ansible剧本有助于业务编排

Ansible playbooks help in orchestration

但是AWS CDK看起来更适合程序员配置

But AWS CDK looks more programmer friendly for provisioning

命令

aws cdk init

aws cdk synth

aws cdk deploy

请注意在AWS中进行配置

are take care of provisioning in AWS

对于业务流程,AWS CDK是否还会解决依赖关系?在供应中

For orchestration, Does AWS CDK also take care of resolving dependencies? amidst provisioning

推荐答案

CDK只是Cloudformation的抽象。 Cloudformation确实在一定程度上提供了编排。但是,如果您要指定业务流程的确切含义,将很有帮助。
您真正的意思是bij解决依赖关系。在这种情况下有点模棱两可。 CDK是模块化的,并且在某种程度上也具有解决方案的依赖性。但我认为您是在指别的东西。

CDK is just an abstraction on Cloudformation. Cloudformation does provide orchestration to some degree. However it would be helpfull if you would specify what you exactly mean by orchestration. What do you really mean bij 'resolving dependencies'. It's a bit ambiguous in this context. CDK is modular and in a way has dependencies with resolving as well. But I think you are referring to something else.

这篇关于CDK是否执行编排?除了供应的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆