Terraform 能否用于配置本地服务器? [英] Can Terraform be used to provision on-premises servers?

查看:12
本文介绍了Terraform 能否用于配置本地服务器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 Terraform 的新手,但是如何在常规服务器上运行它?是否可以?我在说 - 普通的本地机器

I'm new to Terraform, but how to say run it on a regular server? Is it possible? I am talking - regular on premises machine

多年后我回到这个问题:让我改革它.Terraform 能否用于配置不在虚拟机管理程序上的数据中心服务器.

Years later I come back to this question: Let me reform it. Can Terraform be used to provision a datacenter server, which is not on a hypervisor.

推荐答案

Terraform 通过调用各种服务提供商和系统的 API 来运行.因此,原则上Terraform 可以管理任何具有 API 的东西,实际上它已经支持一些不同的本地系统,包括:

Terraform operates by calling into the APIs of various service providers and systems. Thus in principle Terraform can manage anything that has an API, and in practice it has existing support for a few different on-premises-capable systems, including:

如果您现有数据中心基础架构中的计算资源已经通过这些系统之一进行管理,或者如果您愿意安装它们,则可以使用 Terraform 来管理这些系统的至少一部分.(有关详细信息,请参阅上面链接的每个提供商的文档.)

If the compute resources in your existing datacenter infrastructure are already managed with one of these systems, or if you are willing to install them, then Terraform can be used to manage at least parts of these systems. (For full details, see the documentation for each provider linked above.)

Terraform 的插件架构支持开发其他系统,因此其他 API 驱动的数据中心管理系统,例如 The Foreman 可以得到 Terraform 的支持,而且确实第三方已经开发了与 HashiCorp 托管的官方集合"之外分发的其他人的集成.

Terraform's plugin architecture allows support for other systems to be developed, so other API-driven datacenter management systems such as The Foreman could be supported by Terraform, and indeed third parties have developed integrations with others that are distributed outside of the "official set" that HashiCorp hosts.

这篇关于Terraform 能否用于配置本地服务器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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