Free. Open Source. Educational.
Stop staring at blank Terraform files. Answer a few questions about what you're building and your expected scale — and receive production‑grade, modular Terraform code for 14 AWS architectures, from a single EC2 instance to multi‑region EKS serving 1M+ users.
- Asks what you're building and your expected scale
- Teaches architectural tradeoffs before generating any code
- Generates modular, deployable Terraform for an EC2 instance
- Includes security groups, IAM roles, CloudWatch logging, and optional Prometheus + Grafana monitoring
- Logs your learning journey so you can track progress
- Terraform 1.6 or later
- AWS account with credentials configured (
aws configure) - An existing EC2 key pair
- A VPC and subnet in your AWS account
git clone https://github.com/BuildMintZ/cloud-architect-tutor.git
cd cloud-architect-tutor
chmod +x cloud-architect-tutor.sh
bash cloud-architect-tutor.sh
Answer the prompts. Your Terraform configuration will be generated in infrastructure/terraform/.
What Gets Generated
text
infrastructure/terraform/your-project-webapp_micro/
├── main.tf # EC2 instance, IAM, security groups
├── variables.tf # Typed input variables
├── user_data.sh # Bootstrap script (Docker, optional monitoring)
└── modules/
├── ec2-instance/ # Reusable EC2 module
└── security-groups/ # Reusable security group module
This Is the Basic (Free) Edition
This version focuses on EC2 generation — the foundation of cloud infrastructure. It showcases the educational logic and code quality of the full product.
🚀 Want KMS encryption, WAF, CI/CD pipelines, and production modules?
👉 Get the Pro version: https://www.usefreelanceflow.com/cloud-architect-tutor.html
Full Version Capabilities
Cloud Architect Tutor v7.0 generates 14 production scenarios across all scales:
Scale Architecture
1k users Single EC2
10k users Auto-Scaling Group + RDS
100k users EKS + WAF + Multi-AZ
1M+ users Multi-Region EKS + Global DB
What the full version adds:
🏗️ VPC, subnets, NAT gateways, flow logs
⚙️ ECS Fargate & EKS with managed node groups
🗄️ RDS PostgreSQL, Aurora, ElastiCache
🔒 KMS encryption, WAFv2, IAM least privilege
📊 CloudWatch dashboards, alarms, SNS
🚀 CI/CD pipeline (GitHub Actions)
📚 ADR documentation, deployment guides, cheatsheets
🎓 Built‑in lessons at every decision point
With the Pro version you can Generate modular deployable Terraform for any of the architectures below:
- Single EC2 (1‑1k users)
- Monitored EC2 (1k‑5k)
- Auto‑Scaling Group + RDS (5k‑10k)
- ECS Fargate + Aurora (10k‑50k)
- EKS + Multi‑AZ (50k‑100k)
- Multi‑region EKS + Global DB (100k‑1M)
- Microservices (ECS Service Mesh, EKS + Istio)
- Data Pipelines (EC2+SQS+RDS / Kinesis+EMR+S3)
- IoT Backend (Kinesis+Lambda+DynamoDB / Multi‑region ingestion)
- Includes security groups, IAM roles, CloudWatch logging, optional Prometheus+Grafana
- Logs your learning journey across sessions
The Basic Edition is a complete, functional learning tool — you can build real infrastructure from 1 user to 1M+.
The Pro version adds enterprise‑grade hardening, automation, and documentation.
Watch the Demo for the Basic version
https://www.youtube.com/watch?v=5dLl5u2vPII
Click the image to see the script in action — from running the script to terraform plan (intentionally fails to prove the code is real).
License
MIT — Free to use, modify, and share.
Built by BuildMintZ — Infrastructure that ships revenue.
https://www.usefreelanceflow.com/
text
---
