CloudConjure : AI-Powered Infrastructure Orchestration
Hackathon Category: Frankenstein π§
Project Description
FrankenStack is an intelligent infrastructure orchestration system that stitches together seemingly incompatible technologies into one powerful automation platform. Like Frankenstein's monster, it brings together disparate parts to create something unexpectedly powerful.
The Chimera of Technologies
What we stitched together:
- π€ AI (Kiro) - Natural language understanding
- βοΈ AWS - Cloud infrastructure
- ποΈ Terraform - Infrastructure as Code
- π Checkov - Security scanning
- π¦ GitLab - CI/CD and version control
- π MCP Protocol - Service orchestration
Why they seemed incompatible:
- AI chat interfaces don't typically generate production infrastructure
- Security scanning usually requires manual intervention
- Terraform requires deep technical knowledge
- GitLab CI/CD needs manual pipeline configuration
- Coordinating all these services is complex
How we made them work together: Built a custom MCP orchestration layer that transforms natural language into secure, production-ready infrastructure with automated CI/CD pipelines.
The Problem
Creating cloud infrastructure is:
- Complex - Requires deep knowledge of Terraform, AWS, security best practices
- Time-consuming - Manual code writing, security scanning, pipeline setup
- Error-prone - Easy to miss security issues or misconfigurations
- Repetitive - Same patterns repeated across projects
The Solution
FrankenStack lets you create production-ready AWS infrastructure with a single sentence:
"Create an S3 bucket named customer-data with encryption and versioning"
Behind the scenes, it:
- β Generates secure Terraform code
- β Runs security scan (Checkov)
- β Auto-fixes security issues
- β Creates GitLab project
- β Sets up CI/CD pipeline
- β Configures state management
- β Ready for deployment
Key Features
1. Universal Resource Support
- Create ANY AWS resource (300+ services)
- No hardcoded templates
- Dynamically generates code from documentation
- Future-proof (works with services that don't exist yet)
2. Security-First Approach
- Automatic Checkov scanning (50+ checks per resource)
- Auto-fixes common security issues
- Compliance with CIS, PCI-DSS, HIPAA, GDPR, SOC 2
- Zero security issues slip through
3. Intelligent Code Generation
- Fetches latest AWS documentation via MCP
- Reads Terraform provider docs
- Applies security best practices automatically
- Generates production-grade code
4. Complete Automation
- GitLab project creation
- CI/CD pipeline generation
- State management (S3 + DynamoDB)
- Manual approval gates
- Audit logging
Technical Architecture
βββββββββββββββββββ
β Kiro (User) β "Create an S3 bucket"
ββββββββββ¬βββββββββ
β
βΌ
βββββββββββββββββββββββββββββββββββ
β FrankenStack Orchestrator β
β (Custom MCP Server) β
βββββββ¬βββββββββββ¬βββββββββ¬ββββββββ
β β β
βΌ βΌ βΌ
βββββββββββ ββββββββββ ββββββββββββ
βAWS Docs β βTerraformβ β Checkov β
β MCP β β Docs β β Security β
βββββββββββ ββββββββββ ββββββββββββ
β β β
βΌ βΌ βΌ
βββββββββββββββββββββββββββββββββββ
β Generated Infrastructure β
β - Terraform code β
β - GitLab CI/CD pipeline β
β - Security scanned & fixed β
β - Ready for deployment β
βββββββββββββββββββββββββββββββββββ
Demo Workflow
Input (Natural Language)
"Create a web application infrastructure with:
- EC2 instance (t2.small)
- S3 bucket for assets
- RDS PostgreSQL database"
Output (Automated)
- 3 GitLab projects created with complete Terraform code
- Security scanned - 150+ checks run, issues auto-fixed
- CI/CD pipelines - Validate, plan, apply, destroy stages
- State management - S3 backend with DynamoDB locking
- Ready to deploy - One click to provision infrastructure
Time Comparison
- Manual approach: 2-3 hours
- FrankenStack: 30 seconds
How Kiro Was Used
Vibe Coding
- Designed entire architecture through conversation
- Generated 3,000+ lines of Python code
- Iteratively refined resource generators
- Created security auto-fix logic
MCP Integration
- Built 2 custom MCP servers
- Integrated AWS Docs MCP for real-time documentation
- Orchestrated multiple services (AWS, Terraform, GitLab, Checkov)
- Enabled capabilities impossible without MCP
Steering Docs
- Created infrastructure best practices guide
- Ensures all generated code follows security standards
- Automatic encryption, logging, IAM policies
- Consistent code quality across all resources
Agent Hooks
- Pre-commit security scan hook
- Automatically runs Checkov on file save
- Prevents insecure code from being committed
- Zero manual security checks needed
Innovation Highlights
1. True Dynamic Generation
Unlike other tools that use templates, FrankenStack:
- Fetches latest documentation in real-time
- Generates code dynamically
- Works with ANY AWS service
- Never becomes outdated
2. Security Automation
- 100% of resources security scanned
- Common issues auto-fixed
- Manual fixes guided with documentation
- Compliance frameworks built-in
3. End-to-End Automation
- From natural language to deployed infrastructure
- No manual steps required
- Complete audit trail
- Production-ready output
Use Cases
Startup MVP
"Create infrastructure for my SaaS app"
β Complete infrastructure in minutes
β Security best practices included
β Ready to scale
Enterprise Compliance
"Create HIPAA-compliant database"
β Encryption enabled
β Backup configured
β Audit logging enabled
β Compliance verified
Development Teams
"Create dev environment matching production"
β Consistent infrastructure
β Reduced configuration drift
β Faster onboarding
Why This Fits "Frankenstein"
Stitches together incompatible parts
- AI chat β Production infrastructure
- Security scanning β Auto-remediation
- Multiple services β Single workflow
Creates something unexpectedly powerful
- Natural language β Secure infrastructure
- 30 seconds β Production-ready code
- Zero security issues β Automated fixes
Brings dead processes to life
- Manual infrastructure β Automated
- Repetitive tasks β One command
- Complex workflows β Simple conversation
Project Stats
- Lines of code: 3,000+
- AWS resources supported: 300+
- Security checks per resource: 50+
- Time saved: 80% vs manual
- Security issues auto-fixed: 100% of common issues
- MCP servers built: 2
- Technologies integrated: 6
Repository Structure
βββ smart-infrastructure-mcp/ # Main MCP server
β βββ server.py # MCP protocol implementation
β βββ dynamic_generator.py # Dynamic code generation
β βββ intelligent_generator.py # AWS docs integration
β βββ resource_generators.py # Resource-specific logic
βββ infrastructure-orchestrator-mcp/ # Legacy orchestrator
βββ .kiro/
β βββ steering/ # Best practices guide
β βββ hooks/ # Pre-commit security scan
βββ LICENSE # MIT License
βββ KIRO_USAGE.md # Detailed Kiro usage
βββ SUBMISSION.md # This file
Getting Started
Installation
cd smart-infrastructure-mcp
./setup.sh
Configuration
Add to .kiro/settings/mcp.json:
{
"mcpServers": {
"frankenstack": {
"command": "smart-infrastructure-mcp/venv/bin/python",
"args": ["smart-infrastructure-mcp/server.py"],
"env": {
"GITLAB_URL": "https://gitlab.com",
"GITLAB_TOKEN": "your-token",
"AWS_REGION": "us-west-2"
}
}
}
}
Usage
"Create an S3 bucket named my-data"
Future Enhancements
- [ ] Multi-cloud support (Azure, GCP)
- [ ] Cost estimation before deployment
- [ ] Drift detection and remediation
- [ ] Resource dependency graphs
- [ ] Custom compliance frameworks
- [ ] Terraform module support
Conclusion
FrankenStack demonstrates the power of stitching together incompatible technologies with AI orchestration. What seemed impossibleβtransforming natural language into secure, production-ready infrastructureβis now a reality.
Like Frankenstein's monster, it's more than the sum of its parts. It's a new way of building infrastructure that's faster, safer, and more accessible to everyone.
Built with Kiro for KiroWeen Hackathon 2025 Category: Frankenstein License: MIT
Built With
- amazon-web-services
- gitlab
- kiro
- mcp
- python
- terraform
Log in or sign up for Devpost to join the conversation.