OCI FortiGate HA Cluster – Reference Architecture: Code review & Fixes

Intro OCI Quick Start repositories on GitHub are collections of Terraform scripts and configurations provided by Oracle. These repositories are designed to help organizations quickly deploy common infrastructure setups on the OCI Platform. Each Quick Start focuses on a specific use case or workload, simplifying the process of provisioning on OCI using Terraform—a sort of …

Farewell to ClickOps: OCI CLI seamless Data Guard Replication for ExaC@C

Intro Since the very beginning, everyone got introduced to  Cloud services through the console as it’s very quick. But the cloud CLI tooling provides a stronger, yet user-friendly way to automate tasks, often covering features not even available in the console. Moreover, DBAs often assume that the CLI is primarily designed for managing compute-based services, …

Deploy multilevel OCI sub-compartments with terraform (using local module)

  Intro In my previous blogpost, we explored the challenges with relying on terraform registry modules for code sanity checks. Additionally, we reviewed OCI iam-compartment module and I shared my revised version in my Github. Today, we’ll demonstrate how to deploy multi-level OCI compartments using my local module (iam-compartment), which you can easily clone from my …

How to Deploy Multi-Region Resources with Terraform: example(OCI Public IPs)

Intro As with any software, terraform also has hidden gems waiting to be discovered, even after you’ve obtained your associate certification. Some features aren’t always known until you need them, which is why we still a a lot to learn from the product. Today is one of those days!  In this post, I will show …

My corrected OCI-IAM-compartment Terraform Module

  Intro So, turns out I’ve been living in the Stone Age of Terraform. I thought keeping my code lean and mean was the way to go, but apparently, the cool kids are all about terraform modules. They’re all like, “Modularity! Reusability! It’s the secret sauce of Infrastructure as Code!”. Up until now, with my …

OCI-CLI Warning on Windows: Python 3.6 is no longer supported by core team & My fix to silence the noise

Intro Hey there, You know what’s been driving me crazy lately? That damn Python deprecation warning on Windows 10 after upgrading to OCI CLI 3.x. It’s been going on for a month or two now, and at first, I gave up. But when my OCI CLI shell scripts prompts started to get ugly, I knew …

Terraform tips: How to Recover Your Deployment From a Terraform apply Crash

— “Because sh*t happens, be ready for when it does!” — Intro Infrastructure Automation is a lifesaver for OPS teams in their day-to-day duties, but when it comes to givin’ full control to new tools and frameworks, watch out for problems that can no longer be fixed manually. It’s also a reminder that it is …

ZDM troubleshooting part 4: NONCDBTOPDB_CONVERSION fails (GUID conflicts with existing PDB)

Intro Every time I think I’m done with my ZDM troubleshooting series, a new topic pops up :). I have also learned that every migration is distinct and brings its own unique challenges, so I have decided to keep the series open-ended. In this post, we will discuss the steps you should take when a …

ExaC@C DB state failed in OCI console while up & running in reality (fix)

Intro Exadata Cloud@Customer has the particularity of bringing the best of both worlds, where on-premises Data sovereignty meets the innovation & capabilities of the Cloud. Thanks to Control plane network that links up both ExaCC servers and OCI, users can create/manage resources through the Console or any API based cloud tooling (terraform,OCI-CLI, SDK..). Everything you …

Terraform for dummies part 6: Deploy Oracle DB System 21c using terraform

Intro What’s the point of moving a database to the Cloud if we can’t automatically deploy it. After blogging about web compute provisioning on AWS,OCI, Azure, & GCP using terraform. The least I could do as a (future-ex) DBA is to terraform database provisioning in Oracle Cloud. On top of that, I also wanted to …