基礎架構即程式碼
使用 Google Cloud 產品和服務,以程式碼設定基礎架構的說明文件和資源
使用價值 $300 美元的免費抵免額,開始進行概念驗證
-
取得 Gemini 2.0 Flash Thinking 的存取權
-
每月免費使用 AI API 和 BigQuery 等熱門產品
-
不會自動收費,也不會要求您一定要購買特定方案
繼續探索超過 20 項一律免費的產品
使用超過 20 項實用的免費產品,包括 AI API、VM 和 data warehouse 等。
訓練課程、網誌文章等
前往訓練課程、網誌文章和其他相關資源。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-09-04 (世界標準時間)。
[[["容易理解","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-04 (世界標準時間)。"],[[["\u003cp\u003eInfrastructure as code allows you to configure your infrastructure using code rather than manual interfaces or command-line scripts.\u003c/p\u003e\n"],["\u003cp\u003eYou can integrate recommendations programmatically into your Infrastructure as Code (IaC) pipeline.\u003c/p\u003e\n"],["\u003cp\u003eMultiple resources are available, such as training courses and blog articles, to deepen your understanding of infrastructure as code.\u003c/p\u003e\n"],["\u003cp\u003eGoogle Cloud provides various tools for infrastructure as code, including Infrastructure Manager, Terraform, Config Connector, Cloud Development Kit for Terraform, Pulumi, Ansible, and Crossplane.\u003c/p\u003e\n"],["\u003cp\u003eTerraform, in particular, allows you to define Google Cloud resources in human-readable configuration files that can be versioned, reused, and shared.\u003c/p\u003e\n"]]],[],null,["# Infrastructure as code\n======================\n\nDocumentation and resources for configuring your infrastructure using code with Google Cloud products and services\n[Get started for free](https://console.cloud.google.com/freetrial) \n\n#### Start your proof of concept with $300 in free credit\n\n- Get access to Gemini 2.0 Flash Thinking\n- Free monthly usage of popular products, including AI APIs and BigQuery\n- No automatic charges, no commitment \n[View free product offers](/free/docs/free-cloud-features#free-tier) \n\n#### Keep exploring with 20+ always-free products\n\n\nAccess 20+ free products for common use cases, including AI APIs, VMs, data warehouses,\nand more.\n\nExplore infrastructure as code in Google Cloud\n----------------------------------------------\n\nRead documentation and Cloud Architecture Center articles about infrastructure as code products, capabilities, and procedures. \n[description](/recommender/docs/tutorial-iac) \n\n### [Recommendations for infrastructure as code](/recommender/docs/tutorial-iac)\n\nApply recommendations programmatically by integrating them into your Infrastructure as Code (IaC) pipeline.\n\nTraining, blog articles, and more\n---------------------------------\n\nGo to training courses, blog articles, and other related resources. \n[school](https://www.cloudskillsboost.google/course_templates/636) \n\n### [Automate infrastructure on Google Cloud with Terraform](https://www.cloudskillsboost.google/course_templates/636)\n\nStudy how to write infrastructure as code with Terraform in Google Cloud.[open_in_new](https://www.cloudskillsboost.google/course_templates/636) \n[public](https://developer.hashicorp.com/terraform/tutorials/gcp-get-started) \n\n### [Use Terraform with Google Cloud](https://developer.hashicorp.com/terraform/tutorials/gcp-get-started)\n\nStudy step-by-step, command-line tutorials that walk you through the Terraform basics.[open_in_new](https://developer.hashicorp.com/terraform/tutorials/gcp-get-started)\n\nInfrastructure as code products by use case\n-------------------------------------------\n\nExpand sections or use the filter to find products and guides for typical use cases. \n\n### Provision, deploy, and manage infrastructure\n\n\nExpand this section to see relevant products and documentation. \n\n#### [Infrastructure Manager](/infrastructure-manager/docs)\n\nAutomate the deployment and management of Google Cloud infrastructure resources using Terraform. \n\n#### [Terraform on Google Cloud](/docs/terraform)\n\nDefine Google Cloud resources in human-readable configuration files that you can version, reuse, and share. \n\n#### [Config Connector](/config-connector/docs/overview)\n\nConfigure Google Cloud services and resources using Kubernetes tooling and APIs. \n\n#### [Cloud Development Kit for Terraform](https://developer.hashicorp.com/terraform/cdktf)\n\nConfigure Terraform to define and provision Google Cloud infrastructure and use your existing toolchain for tasks such as testing and dependency management.[open_in_new](https://developer.hashicorp.com/terraform/cdktf) \n\n#### [Google Cloud provider for Pulumi](https://www.pulumi.com/registry/packages/gcp/)\n\nAuthor infrastructure code using programming languages such as TypeScript, Python, Go, C#, Java or YAML.[open_in_new](https://www.pulumi.com/registry/packages/gcp) \n\n#### [Ansible](https://docs.ansible.com/ansible/latest/collections/google/cloud/index.html)\n\nAutomate provisioning, configuration management, application deployment, orchestration and other IT processes.[open_in_new](https://docs.ansible.com/ansible/latest/collections/google/cloud/index.html) \n\n#### [Crossplane](https://docs.crossplane.io/v1.14/getting-started/introduction/)\n\nConnect your Kubernetes cluster to external, non-Kubernetes resources, and build custom Kubernetes APIs to consume those resources.[open_in_new](https://docs.crossplane.io/v1.14/getting-started/introduction)\n\n### Related products, guides, and sites\n\n#### [Cloud Deployment Manager](/deployment-manager/docs)\n\nManage cloud resources using simple templates."]]