Deployment Manager와 Infrastructure Manager의 관계는 무엇인가요?
Google Cloud 는 인프라를 배포하고 관리하기 위한 두 가지 고유한 서비스인 Deployment Manager (DM)와 Infra Manager를 제공합니다. 두 도구 모두 이 프로세스를 자동화하는 것을 목표로 하지만 접근 방식과 기본 기술이 다릅니다.
Deployment Manager는 YAML 기반 구성 파일과 Jinja 또는 Python 템플릿을 사용하여 인프라를 선언적으로 정의합니다.
Infra Manager는 Terraform을 활용하여 코드형 인프라 (IaC)를 사용하여 인프라 배포를 만듭니다. Terraform 구성 파일에서 인프라를 정의합니다. Infra Manager는 Google Cloud에서 인프라를 배포하고 관리합니다.
Infra Manager는 Terraform을 실행하기 위한 관리형 환경을 제공하여 Google Cloud의 인프라 관리를 간소화합니다.
기능 비교
Deployment Manager와 Infra Manager의 기능에는 중요한 차이가 있습니다.
구성 및 템플릿
기능
Deployment Manager
Infra Manager
고려사항
구성 언어
Jinja/Python 템플릿이 포함된 YAML
Terraform HCL
Terraform의 HCL 언어를 배우고 기존 DM 구성을 변환합니다.
템플릿 관리
재사용 가능한 템플릿과 복합 유형 (지원 중단됨)을 지원합니다.
Terraform 모듈을 활용합니다.
재사용 가능한 인프라 구성요소를 관리하기 위해 Terraform의 모듈 시스템에 적응합니다.
소스 코드 관리
구성을 저장하는 다양한 옵션을 지원합니다.
공개 및 비공개 Git 저장소와 Cloud Storage 버킷을 지원하지만 비공개 Git 저장소에 대한 직접 지원은 부족합니다.
비공개 Git 저장소를 사용하여 DM 구성을 관리하는 경우 구성을 Infra Manager로 이전할 때 문제가 발생할 수 있습니다.
상태 관리
기능
Deployment Manager
Infra Manager
고려사항
상태 관리
내부적으로 배포 상태를 관리합니다.
Cloud Storage에 상태 파일을 저장합니다.
상태 파일 및 잠재적인 상태 잠금 문제를 관리하는 Terraform의 상태 관리를 숙지합니다. Infra Manager는 상태 관리를 자동으로 처리합니다.
배포 업데이트 및 롤백
기능
Deployment Manager
Infra Manager
고려사항
배포 업데이트 메커니즘
인플레이스 업데이트와 순차적 업데이트를 지원합니다.
Infra Manager는 CreateDeployment 및 UpdateDeployment 메서드를 통해 업데이트를 관리합니다.
Deployment Manager의 업데이트 전략과 다를 수 있는 Terraform의 업데이트 메커니즘을 이해합니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-09-03(UTC)"],[[["\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."]]