Infrastruktur sebagai kode
Dokumentasi dan referensi untuk mengonfigurasi infrastruktur menggunakan kode dengan produk dan layanan Trusted Cloud
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-08-18 UTC.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-08-18 UTC."],[[["\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."]]