AWS Has It. Azure Has It. GCP Has It. So I Built It for Oracle Cloud.

Опубликовано: 17 Июнь 2026
на канале: Mike's Cloud Solutions
7,516
like

#OCI #Oracle #ActiveDirectory #Terraform #CloudEngineering #IaC #DevOps #Linux #Windows #WindowsServer

AWS Has It. Azure Has It. GCP Has It. So I Built It for OCI.

Deploy a production-grade, highly available Active Directory domain on Oracle Cloud Infrastructure using Terraform. Two Windows Server 2022 domain controllers — split across availability domains — with Linux and Windows clients that domain-join automatically at boot. The domain controllers and Object Storage sentinel bucket are packaged as a reusable Terraform module you can drop into your own projects.

WHAT YOU'LL LEARN
Building a two-DC, highly available Windows Server AD domain on OCI with Terraform
Using OCI Object Storage as a sentinel to signal domain controller promotion
Domain-joining Ubuntu 24.04 and Windows Server 2022 instances at boot via cloud-init
Connecting to private subnet instances via OCI Bastion Service
The OCI Vault deletion hold problem and how it affects repeatable automation

INFRASTRUCTURE DEPLOYED
VCN with public and private subnets, internet gateway, NAT gateway, route tables
Two Windows Server 2022 domain controllers (VM.Standard.E4.Flex) in private subnet, split across availability domains
OCI Bastion Service for private DC access
Object Storage sentinel bucket for DC promotion signaling and provisioning logs
Ubuntu 24.04 Linux client (VM.Standard.E4.Flex) joined to the domain
Windows Server 2022 client (VM.Standard.E4.Flex) joined to the domain

GitHub
https://github.com/mamonaco1973/oci-m...

README
https://github.com/mamonaco1973/oci-m...

TIMESTAMPS
00:00 Introduction
00:21 Demo
01:36 Architecture
02:04 Build the Code
02:22 Build Results
02:57 OCI Vault Issue