Now that you're back, let's talk about Terraform . Terraform 是HashiCorp的代码软件基础设施。Terraform is an infrastructure as code software by HashiCorp.这些文件称为Terraform 配置,并以.tf结尾。 These text files are called Terraform configurations and end in. tf. First, the component that most people are familiar with is the thermostat .
运用terraform graph,该计划可以被可视化显示依赖的顺序。 Using terraform graph, the plan can be visualized to show dependent ordering. 因为灵活性,Terraform 可以被用于解决许多不同的问题。 Because of this flexibility, Terraform can be used to solve many different problems. 这意味着许多已存在的工具与Terraform 功能重叠。 This means there are a number of existing tools that overlap with the capabilities of Terraform . Terraform 可以管理现有和流行的服务提供商以及定制的内部解决方案。Terraform can manage existing and popular service providers as well as custom in-house solutions.". 您的整个云基础设施(实例、卷、网络、IP)在TerraForm 中被描述。 Your whole Cloud infrastructure(instances, volumes, networking, IPs) can be described in terraform . Terraform 允许您创建分形地形(也称为高度场)和改造它使用了一些算法。Terraform allows you to create fractal terrain(also called a height field) and transform it using a number of algorithms. 我们需要可复制和版本控制的部署,所以探讨Kubectl,Terraform 和Helm。 We need reproducible and version-controlled deployments so we explored Kubectl, Terraform and Helm. 例如,我们使用开源工具Terraform 来管理资源,而它支持的云平台就包括AWS。 For instance, we use open-source tool Terraform to manage resources, and the cloud platforms it supports includes AWS”. 由terraform 实例化的服务器的配置通常留给Puppet,Chef或Ansible等工具。 The configuration of the servers instantiated by Terraform is usually left to tools like Puppet, Chef, or Ansible. JSON格式适用于机器创建,修改和更新,也可以由Terraform 操作员完成。 The JSON format is meant for machines to create, modify, and update, but can also be done by Terraform operators if you prefer. Terraform 新一代工具的作用不仅在于编排,还在于作为代码(IaaC)方面的基础设施。What makes Terraform new generation tools is not only the orchestration, but the infrastructure as a code(IaaC) aspect. 本演讲将探讨架构,Terraform 和K8的必要增强,以及此类解决方案的一般设置。 This talk will explore the architecture, the necessary enhancements to Terraform and K8, and general setup of such a solution. Terraform 配置是声明式的,因此对其他资源和变量的引用不依赖于它们定义的顺序。Terraform configurations are declarative, so references to other resources and variables do not depend on the order they're defined. 配置更改时,Terraform 能够确定更改的内容并创建可以应用的增量执行计划。 As the configuration changes, Terraform is able to determine what changed and create incremental execution plans which can be applied. 例如,CoreOSTectonic,有一个图形化的安装程序,同时还支持Terraform 基础设施配置工具。 CoreOS Tectonic, for instance, includes a graphic installer but also supports the Terraform infrastructure provisioning tool. 概览HashiCorpTerraform 是一个IT基础架构自动化编排工具,可以用代码来管理维护IT资源。 HashiCorp Terraform is an automated IT infrastructure orchestration tool that can use codes to manage and maintain IT resources. 除了云提供商之外,还可以将Terraform 与第三方(如PagerDuty)集成并处理所有类型的资源。 Besides the cloud providers, it is also possible to integrate Terraform with third parties such as PagerDuty and handle all types of resources. Terraform 构建了所有资源的图形,并且并行化了任何非依赖资源的创建和修改。Resource Graph: Terraform builds a graph of all your resources, and parallelizes the creation and modification of any non-dependent resources. 该团队还增加了数十个开源组件,包括CNCF项目,而且把这些成果都贡献给了Kubernetes、Terraform 和kube2iam。 The team also added dozens of open-source components, including CNCF projects and has made contributions to Kubernetes, Terraform , and kube2iam. 因此,Terraform 尽可能高效地构建基础架构,操作人员可以深入了解其基础架构中的依赖关系。 Because of this, Terraform builds infrastructure as efficiently as possible, and operators get insight into dependencies in their infrastructure. Terraform 适用于多云方案,将相类似的基础结构部署到阿里云、其他云提供商或者本地数据中心。Terraform applies to multi-cloud scenarios, where similar infrastructure is deployed on Alibaba Cloud, other cloud providers, or local data centers. 上一节使用Terraform 和Ansible来配置资源(Droplet,负载均衡器和浮动IP)并部署您的WordPress应用程序。 The previous section used Terraform and Ansible to provision resources(Droplets, Load Balancers, and Floating IPs) and deploy your WordPress application. Terraform 格式更加人性化,支持注释,并且是大多数Terraform 文件通常推荐的格式。The Terraform format is more human-readable, supports comments, and is the generally recommended format for most Terraform files. 一旦Terraform 的初始步骤完成,就可以用CloudInit之类的东西来完成配置,尽管任何引导都可以。 Once the initial steps with Terraform are done, the provisioning can be completed with something such as Cloud-Init, although any bootstrapping will do. Terraform 生成执行计划,以描述达到预期状态所需执行的操作,然后执行该计划以构建所描述的基础设施。Terraform generates an execution plan describing what it will do to reach the desired state, and then executes it to build the described infrastructure.
Display more examples
Results: 79 ,
Time: 0.02
中文
Bahasa indonesia
日本語
عربى
Български
বাংলা
Český
Dansk
Deutsch
Ελληνικά
Español
Suomi
Français
עִברִית
हिंदी
Hrvatski
Magyar
Italiano
Қазақ
한국어
മലയാളം
मराठी
Bahasa malay
Nederlands
Norsk
Polski
Português
Română
Русский
Slovenský
Slovenski
Српски
Svenska
தமிழ்
తెలుగు
ไทย
Tagalog
Turkce
Українська
اردو
Tiếng việt