Back
OCI provider Terraform multi-region and Home Region diagram
05Nov, 2025

Configuring the OCI Provider in Terraform/OpenTofu: Cloud Shell, Resource Manager, Multi-Region, and Home Region Best Practices

Introduction Configuring the OCI provider Terraform or OpenTofu works very differently from Azure. In Azure, every resource belongs to a Resource Group, and that group determines its region. Terraform doesn’t need to know much about geography — all resources automatically inherit the location from their group. In Oracle Cloud Infrastructure …

OCI Private DNS Terraform resolver console
29Sep, 2025

OCI Private DNS with Terraform/OpenTofu — Refactoring for 2025

When working with cloud networking, one of the most common needs is internal name resolution. In this post, I’ll show how to implement OCI Private DNS Terraform to automate private zones and records.  Hard-coding IPs is fragile. You want internal services to discover each other using hostnames. That’s exactly what …

OCI Block Volume Terraform architecture diagram with iSCSI connection
06Jun, 2025

Provisioning OCI Block Volumes with Terraform/OpenTofu — and Why It’s Not Quite Like Azure

In this post, we’ll explore how to create and attach an OCI Block Volume Terraform/OpenTofu — one of the most fundamental building blocks in any Oracle Cloud Infrastructure deployment. Block storage is the quiet workhorse of every cloud environment. It powers databases, application backends, and the stateful workloads that can’t …

OCI IAM Policies Terraform diagram — Dynamic Group and Policy example.
06Nov, 2024

OCI IAM Policies & Dynamic Groups — Let Your Functions Talk to Streaming and ADB

When you build a serverless data pipeline in OCI, you often need to define OCI IAM Policies Terraform so that your Functions, API Gateway, Streaming, and Autonomous Database can talk to each other — securely and without user credentials. Instead of using user credentials or API keys, Oracle Cloud allows …

Deploying an OCI Container Instance Terraform
05May, 2023

🐳 Deploying an OCI Container Instance with Ephemeral Public IP Using Terraform — and the Docker Push Trick You Shouldn’t Miss (Refreshed: October 2025)

This guide focuses on OCI Container Instance Terraform deployment — showing how to combine ephemeral public IPs with Docker image push to OCIR for a fully automated setup. In this tutorial, we’ll walk through deploying an OCI Container Instance with an ephemeral public IP using Terraform (or Oracle Resource Manager). …

OCI Kubernetes Reserved IP Terraform course FoggyKitchen
25Jan, 2023

OCI Container Engine for Kubernetes (OKE) with Reserved Public IP for LoadBalancer Service using Terraform

OCI Kubernetes Reserved IP Terraform is a powerful combination when deploying workloads in OCI Container Engine for Kubernetes (OKE). When running workloads in OCI Container Engine for Kubernetes (OKE), one of the most common production requirements is to expose your application through a stable public IP address. By default, the …

18Jun, 2021

OCI Bastion Service with Terraform – Secure Access to Private Subnets

Introduction Deploying OCI Bastion Service Terraform is one of the simplest ways to securely access private compute instances in Oracle Cloud Infrastructure (OCI). Traditionally, administrators relied on a compute-based bastion host. When working with Oracle Cloud Infrastructure (OCI), one of the common challenges is providing secure access to compute instances …

18Sep, 2020

Don’t mix Terraform and manual deployments – three use-cases in OCI

Mixing Terraform manual deployments OCI is a common mistake that leads to state drift and broken automation. In this article, I’ll show you why this happens and how to avoid it. The idea for this blog post came during a recent Zoom webinar I delivered for a large team inside …

oci autonomous database refreshable clone terraform
15Sep, 2020

OCI Autonomous Database Refreshable Clone with Terraform

OCI Autonomous Database Refreshable Clone Terraform is a powerful way to keep your cloned databases in sync with the source. Cloning Autonomous Databases in OCI is not new. In earlier posts, I described how to create one-time clones from backups or from an existing instance. But these copies are static …

OCI Autonomous Database Full Clone Terraform screenshot
05Aug, 2020

How to Create an OCI Autonomous Database Full Clone with Terraform

OCI Autonomous Database Full Clone Terraform is one of the most powerful features available in Oracle Autonomous Database (ADB). It allows you to create a copy of an existing database for development, testing, analytics, or troubleshooting scenarios without touching the production system. While you can always create clones manually through …