If any required documents are missing, ask user:"I need the following documents to create a comprehensive infrastructure architecture: [list missing]. Would you like to proceed with available information or provide the missing documents first?"
3. <critical_rule>Cross-reference with PRD Technical Assumptions to ensure infrastructure decisions align with repository and service architecture decisions made in the system architecture.</critical_rule>
Review the product requirements document to understand business needs and scale requirements. Analyze the main system architecture to identify infrastructure dependencies. Document non-functional requirements (performance, scalability, reliability, security). Cross-reference with PRD Technical Assumptions to ensure alignment with repository and service architecture decisions.
elicit:true
custom_elicitation:infrastructure-overview
template:|
- Cloud Provider(s)
- Core Services & Resources
- Regional Architecture
- Multi-environment Strategy
examples:
- |
- **CloudProvider:** AWS (primary), with multi-cloud capability for critical services
- **CoreServices:** EKS for container orchestration, RDS for databases, S3 for storage, CloudFront for CDN
- **RegionalArchitecture:** Multi-region active-passive with primary in us-east-1, DR in us-west-2
- **Multi-environmentStrategy:** Development, Staging, UAT, Production with identical infrastructure patterns
- id:iac
title:Infrastructure as Code (IaC)
instruction:Define IaC approach based on technical preferences and existing patterns. Consider team expertise, tooling ecosystem, and maintenance requirements.
<critical_rule>All infrastructure must be defined as code. No manual resource creation in production environments.</critical_rule>
- id:environment-configuration
title:Environment Configuration
instruction:Design environment strategy that supports the development workflow while maintaining security and cost efficiency. Reference the Environment Transition Strategy section for promotion details.
instruction:Detail the complete lifecycle of code and configuration changes from development to production. Include governance, testing gates, and rollback procedures.
template:|
- Development to Production Pipeline
- Deployment Stages and Gates
- Approval Workflows and Authorities
- Rollback Procedures
- Change Cadence and Release Windows
- Environment-Specific Configuration Management
- id:network-architecture
title:Network Architecture
instruction:|
Design network topology considering security zones, traffic patterns, and compliance requirements. Reference main architecture for service communication patterns.
Design data infrastructure based on data architecture from main system design. Consider data volumes, access patterns, compliance, and recovery requirements.
<critical_rule>Apply principle of least privilege for all access controls. Document all security exceptions with business justification.</critical_rule>
- id:shared-responsibility
title:Shared Responsibility Model
instruction:Clearly define boundaries between cloud provider, platform team, development team, and security team responsibilities. This is critical for operational success.
template:|
- Cloud Provider Responsibilities
- Platform Team Responsibilities
- Development Team Responsibilities
- Security Team Responsibilities
- Operational Monitoring Ownership
- Incident Response Accountability Matrix
examples:
- |
| Component | Cloud Provider | Platform Team | Dev Team | Security Team |
<critical_rule>DR procedures must be tested at least quarterly. Document test results and improvement actions.</critical_rule>
- id:cost-optimization
title:Cost Optimization
instruction:Balance cost efficiency with performance and reliability requirements. Include both immediate optimizations and long-term strategies.
template:|
- Resource Sizing Strategy
- Reserved Instances/Commitments
- Cost Monitoring & Reporting
- Optimization Recommendations
- id:bmad-integration
title:BMad Integration Architecture
instruction:Design infrastructure to specifically support other BMad agents and their workflows. This ensures the infrastructure enables the entire BMad methodology.
sections:
- id:dev-agent-support
title:Development Agent Support
template:|
- Container platform for development environments
- GitOps workflows for application deployment
- Service mesh integration for development testing
<critical_rule>Address all critical feasibility concerns before proceeding to final architecture documentation. If critical blockers identified, revise architecture before continuing.</critical_rule>
This infrastructure architecture will be validated using the comprehensive `infrastructure-checklist.md`, with particular focus on Section 12:Architecture Documentation Validation. The checklist ensures:
The Platform Engineer should use the infrastructure checklist to systematically validate all aspects of this architecture document.
- id:implementation-handoff
title:Implementation Handoff
instruction:Create structured handoff documentation for implementation team. This ensures architecture decisions are properly communicated and implemented.
instruction:Document the long-term vision and evolution path for the infrastructure. Consider technology trends, anticipated growth, and technical debt management.
template:|
- Technical Debt Inventory
- Planned Upgrades and Migrations
- Deprecation Schedule
- Technology Roadmap
- Capacity Planning
- Scalability Considerations
- id:app-integration
title:Integration with Application Architecture
instruction:Map infrastructure components to application services. Ensure infrastructure design supports application requirements and patterns defined in main architecture.
template:|
- Service-to-Infrastructure Mapping
- Application Dependency Matrix
- Performance Requirements Implementation
- Security Requirements Implementation
- Data Flow to Infrastructure Correlation
- API Gateway and Service Mesh Integration
- id:cross-team-collaboration
title:Cross-Team Collaboration
instruction:Define clear interfaces and communication patterns between teams. This section is critical for operational success and should include specific touchpoints and escalation paths.
instruction:Define structured process for infrastructure changes. Include risk assessment, testing requirements, and rollback procedures.
template:|
- Change Request Process
- Risk Assessment
- Testing Strategy
- Validation Procedures
- id:final-review
instruction:Final Review - Ensure all sections are complete and consistent. Verify feasibility review was conducted and all concerns addressed. Apply final validation against infrastructure checklist.