Complete Active Directory Deployment on Google Cloud – Fully Automated with Terraform

Опубликовано: 03 Май 2026
на канале: Mike's Cloud Solutions
9,575
192

#ActiveDirectory #GCP #Terraform #CloudAutomation #ManagedMicrosoftAD #InfrastructureAsCode

Deploying Active Directory in Google Cloud – End-to-End Terraform & Shell Automation

This video shows how to deploy Microsoft Active Directory in Google Cloud using Terraform and shell scripting for a fully automated solution.

What You'll Learn:

1. Deploy Google Cloud Managed Microsoft AD
Set up Managed Microsoft AD integrated with GCP services
Deploy domain controllers in a high-availability configuration
Automate deployment using Terraform and gcloud CLI

2. Configure Secure Networking
Create a VPC and subnets with proper CIDR ranges
Set up Cloud DNS and firewall rules for AD communication
Apply IAM roles and policies for AD infrastructure access

3. Join Windows & Linux Servers to AD
Join Windows Servers using Terraform, PowerShell, and startup scripts
Configure Linux instances with realm and sssd for AD login
Validate authentication across both Windows and Linux

4. Automate AD User and Group Creation
Use startup scripts and PowerShell to create users and groups
Assign users to groups and validate access

5. Secure Credentials with Google Secret Manager
Store AD admin credentials in Secret Manager
Retrieve secrets during automated workflows

6. Clean Up Infrastructure
Use Terraform to destroy all resources after deployment

---

README: https://github.com/mamonaco1973/gcp-d...
GitHub: https://github.com/mamonaco1973/gcp-d...

---

00:00 Introduction
02:27 GCP Diagram
04:16 Prerequisites
04:45 Build the Code
06:15 Build Result
08:15 Admin Credentials
09:08 Demo

---

Full Verison:    • Complete Active Directory Deployment on Go...