多云 - 轻松部署多云基础架构。编写可在多个云中部署的无关云配置
Multy 是部署多云基础设施的最简单方式。 # Multy 是什么? Multy 是一个开源工具,它使用无关云的 API 使您的基础设施可移植。您只需编写一次无关云的配置,Multy 就可以将其部署到您选择的云中。
通过使用 Multy 的无云依赖 API,我们只需更改 cloud 参数即可将资源从一个云环境移动到另一个环境。如果我们使用相应的云端 Terraform 提供程序进行部署,则首先需要了解 aws_vpc 和 azurerm_virtual_network 等资源的行为方式以及它们之间的区别。然后,我们需要两次定义相同的基础设施配置,一次用于 AWS,另一次用于 Azure。
brew tap hashicorp/tap && brew install hashicorp/tap/terraformchoco install terraform sudo apt-get update && sudo apt-get install -y gnupg software-properties-common curl
curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -
sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main"
sudo apt-get update && sudo apt-get install terraformmain.tf 的文件,内容如下:暂无开放 Issues,或尚未同步最近议题。