Infra Manager 利用 Terraform 通过基础架构即代码 (IaC) 创建基础架构部署。您可以在 Terraform 配置文件中定义基础架构,然后由 Infra Manager 在 Google Cloud上部署和管理这些基础架构。
Infra Manager 提供了一个用于执行 Terraform 的托管环境,可简化 Google Cloud上的基础设施管理。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-19。"],[[["\u003cp\u003eGoogle Cloud Deployment Manager composite types were deprecated on February 22, 2021.\u003c/p\u003e\n"],["\u003cp\u003eThe shutdown date for composite types is February 22, 2022, after which new deployments using them cannot be created or updated.\u003c/p\u003e\n"],["\u003cp\u003eUsers need to convert composite types to supported templates by following a migration guide before the shutdown date.\u003c/p\u003e\n"]]],[],null,["# Deployment Manager deprecation\n\nSupport for Google Cloud Deployment Manager will be discontinued on *March 31, 2026*.\n\nAfter this date, you won't be able to use the\nDeployment Manager service. All related APIs and functions will\nno longer be supported.\n\nWhat you need to know\n---------------------\n\nWe'll be discontinuing support for Deployment Manager on March 31, 2026.\n\nOver the past years, we've focused our efforts on modernizing the Google Cloud\ndeployment experience through\n[Infrastructure Manager (Infra Manager)](/infrastructure-manager/docs).\n| **Note:** If you're an App Engine Flex customer and don't use Deployment Manager, this change won't affect you.\n\nWhat you need to do\n-------------------\n\nIf you currently use Deployment Manager, migrate to\nInfra Manager or an alternative deployment technology before\nMarch 31, 2026 to ensure your services continue without interruption.\n\nComplete the following required actions before March 31, 2026:\n\n- Review your use cases and applications that rely on Deployment Manager.\n- Decide if Infra Manager meets your needs or if another tool is more suitable.\n- [Migrate your deployments to your selected platform](#migrate-to-im).\n\nHow does Deployment Manager relate to Infrastructure Manager?\n-------------------------------------------------------------\n\nGoogle Cloud offers two distinct services for deploying and managing\ninfrastructure: Deployment Manager (DM) and\nInfra Manager. While both aim to\nautomate this process, they differ in their approach and underlying\ntechnologies.\n\n- *Deployment Manager* uses YAML-based configuration files and Jinja or Python templates to define infrastructure declaratively.\n- *Infra Manager* leverages Terraform to create infrastructure deployments using infrastructure as code (IaC). You define your infrastructure in Terraform configuration files, which Infra Manager deploys and manages on Google Cloud. Infra Manager provides a managed environment for executing Terraform, simplifying infrastructure management on Google Cloud.\n\n### Feature Comparison\n\nThere are key differences in the features and functionalities of\nDeployment Manager and Infra Manager.\n\n#### Configuration and templating\n\n#### State management\n\n#### Deployment updates and rollbacks\n\n#### Integration with Google Cloud services\n\nMigrate to Infrastructure Manager using DM Convert\n--------------------------------------------------\n\nYou can migrate your deployment experience to Infra Manager\nusing the\n[DM Convert](/deployment-manager/docs/dm-convert)\ntool. However, there are some Deployment Manager concepts\nthat are not supported by Terraform and cannot be exported to Terraform using\nDM Convert.\n\nFor more information about how DM Convert translates concepts across formats,\nsee [Understanding how DM Convert translates concepts across formats](/deployment-manager/docs/dm-convert#understanding_how_dm_convert_translates_concepts_across_formats).\n\n### Convert your configurations and templates to Infrastructure Manager\n\nTo convert your Deployment Manager configurations and templates\ninto a Terraform configuration:\n\n1. [Convert your Deployment Manager configurations and templates](/deployment-manager/docs/dm-convert/convert) into a Terraform configuration and state file.\n2. [Import your Terraform resources](/infrastructure-manager/docs/import-resources) to Infra Manager.\n\n3. [Delete your Deployment Manager deployment](/deployment-manager/docs/deployments/deleting-deployments)\n using abandon.\n\nWe're here to help\n------------------\n\nWe understand that making these changes may require some planning. Let your\nrespective Google Cloud representative know if you have any other questions,\nor need assistance with your migration plans. We're here to help you achieve a\nseamless transition."]]