Back
oci streaming terraform architecture diagram
20Aug, 2024

OCI Streaming with Terraform and Functions: Build Your First Producer

Introduction In this article we’ll focus on OCI Streaming Terraform to show how easy it is to build your first producer function. Oracle Cloud Infrastructure (OCI) Streaming is a Kafka-compatible, fully managed messaging service designed for real-time data pipelines and event-driven architectures. Instead of managing your own Kafka cluster, you …

OCI Autonomous Database Terraform
24Apr, 2024

Cross-Region Autonomous Data Guard for OCI Autonomous Database (Serverless) with Terraform

In this guide, we’ll walk through how to set up OCI Autonomous Database Terraform, enabling cross-region disaster recovery with Autonomous Data Guard (ADG). When your OLTP workloads can’t afford regional outages, Autonomous Data Guard (ADG) is the safest path: a remote standby in another OCI region that’s continuously kept in …

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 block volume replication with Terraform
27Jan, 2022

How to Achieve High Availability with OCI Block Volume Replication and Terraform

High availability and disaster recovery are essential for modern cloud applications. If your workloads depend onĀ OCI block volumesĀ attached to compute instances, you need protection against region outages. This is exactly whereĀ OCI block volume replication with TerraformĀ helps — giving you an automated way to achieve cross-region redundancy. With replication enabled, your …

oci scheduled autoscaling terraform policies in oci console
29Sep, 2020

Schedule-based OCI Compute Autoscaling with Terraform

In this tutorial, you’ll learn how to set up OCI scheduled autoscaling Terraform using Quartz cron expressions to scale compute capacity at predictable times. In my previous article on OCI Compute Autoscaling, I showed how to set up autoscaling based on threshold metrics such as CPU utilization.In this follow-up, we’ll …

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 Security List vs NSG Terraform
12Feb, 2020

OCI Security Lists vs Network Security Groups — What to Use and When (Terraform Examples Included)

🧩 Introduction When designing secure architectures in Oracle Cloud Infrastructure, understanding OCI Security List vs NSG Terraform differences is key. These two constructs define how network traffic is filtered — at subnet level or VNIC level — and using Terraform makes both easy to automate. Both are used to define …

OCI Compute Autoscaling Terraform architecture diagram
13Jan, 2020

How to Autoscale Your Webservers in OCI with Terraform/OpenTofu (refreshed in 2025)

In this tutorial, you’ll learn how to configure OCI Compute Autoscaling Terraform to dynamically scale your backend servers based on load. During peak traffic hours, you want your infrastructure to automatically scale out, while at night or during low traffic periods, it should scale back in to save costs. Oracle …

Architecture diagram showing private web subnet using oci nat gateway terraform for outbound Internet access
05Nov, 2018

OCI NAT Gateway with Terraform — Updated for 2025!

In this post, we’ll walk through a real oci nat gateway terraform scenario, revisiting one of the key building blocks of secure and scalable cloud networking — the OCI NAT Gateway, using a real example taken from Lesson 4 of my Flagship OCI Infrastructure Automation Course. In the early days …

Basic OCI Internet Gateway Terraform architecture diagram
01Nov, 2018

OCI Internet Gateway with Terraform — VCN, Subnet, Route Tables & Security Lists (2025 Edition)

When you’re just starting with OCI networking and Terraform, understanding how to correctly configure an Internet Gateway is absolutely essential.In this post, we’ll walk through a real oci internet gateway terraform example — building a basic Virtual Cloud Network (VCN) with a single public subnet, Internet Gateway, route tables, security …