Doit Commands¶
Autonomous Azure infrastructure deployment using natural language.
Overview¶
azlin doit is an AI-powered infrastructure deployment system that understands natural language requests and autonomously deploys Azure resources using Azure CLI.
Key Features¶
- Natural Language: Describe what you need in plain English
- Autonomous Deployment: AI agent plans and executes deployment
- Dependency Resolution: Automatically determines correct resource order
- Infrastructure as Code: Generates Terraform and Bicep templates
- Production Ready: Creates secure, well-architected infrastructure
- Educational: Explains what it's doing and why
Commands¶
- deploy - Deploy infrastructure from natural language
- list - List all doit-created resources
- show - Show detailed resource information
- status - Check deployment session status
- cleanup - Delete all doit-created resources
- examples - View example requests
Quick Start¶
1. Simple web app¶
2. Preview before deploying¶
3. Complex infrastructure¶
azlin doit deploy "Deploy microservices with API Management, KeyVault, Storage, and Cosmos DB in eastus"
4. List created resources¶
5. Clean up¶
How It Works¶
- Parse Request: AI parses your natural language into concrete goals
- Plan Deployment: Determines dependencies and order
- Execute: Deploys using Azure CLI with error handling
- Verify: Validates each resource was created successfully
- Generate IaC: Creates Terraform and Bicep templates
- Explain: Provides documentation and learning materials
Example Requests¶
Web Applications¶
# Simple web app
azlin doit deploy "web app"
# Web app with database
azlin doit deploy "web app with SQL database"
# Full stack
azlin doit deploy "web app, database, storage, and CDN"
Data Services¶
# NoSQL database
azlin doit deploy "Cosmos DB with MongoDB API"
# Data warehouse
azlin doit deploy "SQL database with data factory"
# Cache
azlin doit deploy "Redis cache for session storage"
Microservices¶
# API backend
azlin doit deploy "API Management with backend services"
# Event-driven
azlin doit deploy "Service Bus, Functions, and Event Grid"
# Container platform
azlin doit deploy "AKS cluster with ACR and monitoring"
Security & Secrets¶
# Secrets management
azlin doit deploy "KeyVault with managed identity"
# Secure networking
azlin doit deploy "VNet with private endpoints and NSG"
Output Artifacts¶
After deployment, doit generates:
1. Terraform Template¶
# main.tf
terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = "~> 3.0"
}
}
}
resource "azurerm_app_service" "main" {
# Generated configuration
}
2. Bicep Template¶
resource webApp 'Microsoft.Web/sites@2022-03-01' = {
name: 'myapp'
location: resourceGroup().location
// Generated configuration
}
3. Documentation¶
# Deployment Guide
## Resources Created
- App Service: myapp-web
- SQL Database: myapp-db
- Storage Account: myappstorage
## Architecture
[Diagram and explanation]
## Next Steps
[Post-deployment tasks]
Resource Tagging¶
All doit-created resources are tagged with:
azlin-doit-owner: user@example.com
azlin-doit-session: abc123
azlin-doit-timestamp: 2025-11-24T10:30:00Z
azlin-doit-request: "web app with database"
This enables: - Easy identification - Bulk cleanup - Cost tracking - Audit trail
Best Practices¶
1. Start with dry-run¶
2. Be specific about regions¶
3. Review generated IaC¶
4. Clean up test deployments¶
Related Commands¶
- azlin do - Natural language VM management
- azlin autopilot - Cost optimization