自动执行Azure部署的有效方法 [英] Efficient way to automate azure deployment

查看:63
本文介绍了自动执行Azure部署的有效方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

在我们的团队中,我们最近在生产环境中使用了许多不同的东西.我们在学习和开发新事物时都是手工完成的.每件事都在一个资源组中.

In our team, We recently stood up production environment with tons of different things. We did all these by hand as we were learning and developing new things. Every thing is in one resource group.

现在,我们需要重新组合各种组件,例如所有ADF进入ADF资源组,存储进入存储资源组,等等.我们还需要创建与产品相同的不同环境.因此,创建ARM模板将 很有用

Now we have a need where we want to regroup various components, e.g. all the ADF goes into ADF resource group, storage goes to storage resource group etc. we also have a need to create different environments identical to prod. So creating ARM template would be very useful

问题在于我们的超级ARM模板是如此复杂-9k行的参数json和数千行的模板json.

The problem is our uber ARM template is so complex - 9k lines of parameters json and thousands of lines of template json.

读取此模板并重新生成新的ARM模板,以便将不同的组件划分为其自己的资源组等的有效方法是什么?

What would be the efficient way to read this template and regenerate new ARM templates so that different components are divided to its own resource group etc.?

有没有一种方法可以只按部就班地导出ARM模板?例如仅ADF,仅Blob或仅CosmosDB

Is there a way we can only export ARM template patially? e.g. only ADF or only Blob or only CosmosDB

推荐答案

不幸的是,没有自动的方法可以拆分此模板.您将需要使用适当的参数等将要分解的部分提取为单独的文件. 
Unfortunately, there is no automated way for you to break this template up. You're going to need to extract the portions you want to break up into separate files with appropriate parameters etc. 


这篇关于自动执行Azure部署的有效方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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