OCI Landing Zone¶
Overview¶
Oracle Cloud Infrastructure uses a Tenancy with nested Compartments (up to six levels). IAM policies are written against compartments; Cloud Guard, Security Zones and Vault provide guardrails.
Official Documentation & Reference Architectures¶
| Resource | Description |
|---|---|
| OCI best practices & reference architectures | Landing zone and compartment design guidance |
| CIS OCI Benchmark solution | CIS-aligned landing zone documentation |
Community & Open-Source Repositories¶
| Repository | Description |
|---|---|
| oci-landing-zones | GitHub organization for all OCI Landing Zone projects |
| oci-cis-landingzone-quickstart | CIS OCI Landing Zone (Resource Manager / Terraform) |
| terraform-oci-core-landingzone | OCI Core Landing Zone |
| terraform-oci-modules-orchestrator | Orchestrator for the OCI Landing Zones module family |
| terraform-oci-zero-trust-landingzone | Zero Trust landing zone |
| oracle-enterprise-landingzone | Enterprise landing zone |
Recommended Hierarchy¶
Tenancy (root compartment)
βββ lz-top
βββ lz-network
βββ lz-security
βββ lz-workloads
βββ prod
βββ non-prod
Skeleton (Terraform / OpenTofu)¶
Minimal, validated skeleton: landingzones/oci β versions.tf, main.tf, variables.tf, outputs.tf, terraform.tfvars.example.
Usage¶
cd landingzones/oci
cp terraform.tfvars.example terraform.tfvars # adjust values (never commit real IDs/secrets)
tofu init -backend=false # use a real backend for actual deployments
tofu fmt -check && tofu validate
tofu plan
The skeleton is intentionally minimal: it shows the hierarchy, a hub network and placeholders for logging and guardrails. It is not a production-ready landing zone β use the references above for that.