π Stacktic Operational Guide: Complete Day 0β2 Workflow
π Table of Contentsβ
Quick Navigationβ
- Executive Overview
- Introduction & Objectives
- Prerequisites & Requirements
- Day 0: Architecture & Design
- Day 1: Deployment & Environment Setup
- Day 2: Operations & Management
- Best Practices & Guidelines
- Troubleshooting & FAQ
- Next Steps & Resources
π― Executive Overviewβ
What This Guide Deliversβ
Stacktic transforms your application from concept to production-ready full stack in minutes. This comprehensive guide provides a structured workflow covering:
| Phase | Focus | Outcome |
|---|---|---|
| Day 0 | Architecture & Topology | Complete application design with all components |
| Day 1 | Deployment & Setup | Multi-environment deployment ready |
| Day 2 | Operations & Security | Production-grade operations with full observability |
Time to Productionβ
- Traditional Approach: 4-6 weeks
- With Stacktic: 2-3 days
- Time Saved: ~90%
π Introduction & Objectivesβ
Learning Objectivesβ
After completing this guide, you will be able to:
- β Design complex application topologies using Stacktic components
- β Import and configure existing code and containers
- β Deploy multi-environment setups (dev, staging, production)
- β Implement enterprise-grade security and compliance
- β Establish Day 2 operations including monitoring, backup, and scaling
Target Audienceβ
- DevOps Engineers - Streamline deployment workflows
- Platform Engineers - Build standardized stacks
- SRE Teams - Implement operational excellence
- Security Teams - Ensure compliance and hardening
π Prerequisites & Requirementsβ
Technical Requirementsβ
| Component | Requirement | Notes |
|---|---|---|
| Kubernetes Cluster | 1.24+ | EKS, GKE, AKS, or local |
| Stacktic Account | Active subscription | Free trial available |
| Source Code Access | Git repositories | GitHub, GitLab, Bitbucket |
| Container Registry | Write access | For image deployments |
Knowledge Prerequisitesβ
- Basic Kubernetes concepts
- Understanding of microservices architecture
- Familiarity with Git workflows
π Day 0: Architecture & Designβ
Chapter Overviewβ
Day 0 focuses on designing your application architecture and establishing the foundation for your stack.
4.1 π§© Application Topology Designβ
Getting Startedβ
Begin by designing your application using Stacktic's visual topology builder:
Core Components Setupβ
- β Define databases (PostgreSQL, MongoDB, Redis)
- β Configure backend services (APIs, microservices)
- β Design frontend applications (React, Vue, Angular)
- β Use the "+" icon on each service to explore available links
Component Linking Strategyβ
| From Component | To Component | Link Type | Purpose |
|---|---|---|---|
| Backend | Database | Data connection | Persistent storage |
| Frontend | Backend | API connection | Business logic |
| API Gateway | Backend | Routing | External access |
| Cache | Backend | Performance | Response optimization |
4.2 π Import Strategiesβ
Choose Your Import Methodβ
Option 1: Import Source Codeβ
Use the external_source_code component for direct repository integration:
Best for:
- Active development environments
- CI/CD integration
- Automated builds
Option 2: Import Container Imagesβ
Use the image_base component for pre-built containers:
Best for:
- Production deployments
- Third-party services
- Stable releases
π‘ Pro Tip: After importing, adjust settings such as:
- Container ports configuration
- UID/GID numbers for security
- PVC enablement for persistent storage
- Environment-specific configurations
4.3 ποΈ Base Stack Constructionβ
Building Your Foundationβ
Create a comprehensive base stack including:

Essential Componentsβ
- Backend Services - API endpoints, business logic
- Data Layer - Databases, caches, message queues
- API Gateway - External access, routing, rate limiting
- Authentication - Identity providers, OIDC/SAML
Extending Functionalityβ
Add advanced capabilities like API endpoints or messaging services:

π¦ Demo: Initial App Topologyβ
See it in action! Click below to watch the demo:
4.4 π§ Scale Planning & Forecastingβ
Capacity Planning Inputsβ
Provide forecast values on components for intelligent scaling recommendations:
| Metric | Description | Example | Impact |
|---|---|---|---|
| RPS | Requests per second | 1000 RPS | CPU/Memory sizing |
| IO | Storage I/O estimates | 500 IOPS | Disk performance |
| Connections | Concurrent users | 5000 | Connection pooling |
| Bandwidth | Network throughput | 100 Mbps | Network capacity |
Cost Analysis Reportβ
Review the scale cost report for production planning:
4.5 ποΈ Database Initializationβ
Important Noteβ
Stacktic creates empty databases by default. You'll need to import your data into the Kubernetes cluster.
Migration Optionsβ
Automated Migration (Recommended)β
Use bucket jobs for automated data migration (covered in migration chapter)
Manual Migration Scriptsβ
Find import scripts in the data components' Day 0 folder:
tree mongodb/day0
mongodb/day0
βββ README.md
βββ backup-all-db.sh
βββ backup.sh
βββ restore.sh
π Day 1: Deployment & Environment Setupβ
Chapter Overviewβ
Day 1 transforms your design into deployable environments with operational readiness.
5.1 π οΈ Production Preparationβ
Multi-Environment Strategyβ
With your base skeleton ready, create production-ready environments:
| Environment | Purpose | Configuration |
|---|---|---|
| Development | Feature development | Minimal resources, debug enabled |
| Staging | Pre-production testing | Production-like, synthetic data |
| Production | Live system | Full resources, monitoring, backups |
Implementation Approachβ
- π Create environments (dev, staging, prod)
- π Add security layers (NetworkPolicies, RBAC)
- πΎ Deploy backup solutions (Velero, snapshots)
- π Enable Day 2 operational components
π‘ Best Practice:
- Use
external_source_codefor active development- Use
image_basefor production deployments- For dev/staging with custom CI,
image_baseworks well

5.2 β Operational Componentsβ
Essential Operational Stackβ
Extend your infrastructure with critical operational tools:

Component Breakdownβ
| Component | Purpose | Auto-Generated Assets |
|---|---|---|
| Velero | Backup & Restore | Backup pipelines, restore procedures, schedules |
| ArgoCD | GitOps Deployment | Application manifests, sync policies |
| Prometheus | Metrics Collection | Service monitors, alert rules |
| Grafana | Visualization | Preconfigured dashboards, data sources |
| Loki | Log Aggregation | Log streams, queries |
Integration Benefitsβ
- Prometheus β Services: Automatic metric scraping
- Prometheus β Grafana: Pre-built dashboards per service
- ArgoCD β Git: Automated deployment on commit
- Velero β Storage: Scheduled backups with retention
π Day 2: Operations & Managementβ
Chapter Overviewβ
Day 2 ensures your stack is production-ready with enterprise-grade security, monitoring, and operational excellence.
6.1 π Security Hardeningβ
Comprehensive Security Implementationβ
Security Layersβ
1. OPA Policy Enforcement
- Add Open Policy Agent rules for compliance
- Enforce security standards automatically
- Validate configurations before deployment
2. RBAC Configuration Implement role-based access control:
- Include RBAC components in topology
- Link users/groups to appropriate services
- Examples:
- Data teams β MongoDB access
- Ops groups β Backend service management
- Security teams β Audit log access

3. Source Code Security Hardening Stacktic automatically adjusts security settings:
Security Checklistβ
- β SecurityContext configuration
- β Network policies enabled
- β Pod security standards
- β Secret management
- β Image scanning
- β Admission controllers
β οΈ Warning: Overly strict settings may disrupt your application. Test thoroughly in staging.
CISO Audit Reportβ
Stacktic generates a comprehensive CISO Audit Report automatically:

Report Includes:
- Real-time security assessment
- Compliance status (CIS, PCI-DSS, HIPAA)
- Vulnerability analysis
- Remediation recommendations
- Risk scoring
6.2 π¦ Version Managementβ
Version Control Strategyβ
Stacktic provides powerful version management capabilities:

Version Control Featuresβ
| Feature | Description | Use Case |
|---|---|---|
| Stack Versioning | Save complete stack configurations | Environment snapshots |
| Component Versioning | Individual service versions | Gradual rollouts |
| Branch Management | Create version branches | A/B testing, experiments |
| Rollback Capability | Instant version reversal | Emergency recovery |
Component Version Updatesβ
Change component versions easily:
Version Notificationsβ
Receive alerts for new versions and changes:
π‘ Best Practice: Always test version upgrades in staging before production deployment.
Configuration Managementβ
Use the Sections area for centralized management:


Custom Sectionsβ
Create custom groupings for specific needs:

6.3 ποΈ Operational Readinessβ
Day-2 Operations Structureβ
Review and understand your operational configuration:

Automated Backup Configurationβ
Velero integration creates comprehensive backup strategies:
tree velero/day2
velero/day2
βββ README.md
βββ backup
β βββ mongodb-backup.yaml
β βββ opensearch-backup.yaml
βββ restore
β βββ mongodb-restore.yaml
β βββ opensearch-restore.yaml
βββ schedule
βββ mongodb-schedule.yaml
βββ opensearch-schedule.yaml
Backup Features:
- Automated scheduling
- Point-in-time recovery
- Cross-region replication
- Disaster recovery procedures
6.4 π Monitoring & Observabilityβ
Comprehensive Monitoring Stackβ
Out-of-the-Box Dashboardsβ
Stacktic provides maintained, auto-updating dashboards for:
- Infrastructure metrics
- Application performance
- Business KPIs
- Security events
Live View Capabilitiesβ
Stacktic's Live View provides deep, relationship-aware insights:


Live View Features:
| Check Type | Description | Frequency |
|---|---|---|
| API Health | Endpoint availability and latency | 30 seconds |
| Data Component Health | Database connectivity and performance | 1 minute |
| Route Scanning | Ingress and service mesh validation | 2 minutes |
| SSL Health | Certificate expiry and validation | 1 hour |
| Security Validation | Policy compliance tests | 5 minutes |
π Best Practices & Guidelinesβ
Deployment Best Practicesβ
| Practice | Description | Benefit |
|---|---|---|
| Environment Parity | Keep environments similar | Reduces production surprises |
| Gradual Rollouts | Deploy to staging first | Catches issues early |
| Version Pinning | Lock critical component versions | Stability assurance |
| Resource Limits | Set CPU/memory constraints | Prevents resource exhaustion |
| Health Checks | Configure liveness/readiness probes | Automatic recovery |
Security Best Practicesβ
- Least Privilege - Grant minimal required permissions
- Defense in Depth - Multiple security layers
- Regular Updates - Keep components current
- Audit Logging - Track all changes
- Encryption - TLS everywhere, encrypted storage
β Troubleshooting & FAQβ
Common Issues & Solutionsβ
| Issue | Symptoms | Solution |
|---|---|---|
| Import Failure | Code won't import | Check repository permissions |
| Scaling Issues | Pods not scaling | Verify metrics server installation |
| Network Policies | Services can't communicate | Review policy rules |
| Backup Failures | Velero errors | Check storage credentials |
| Monitoring Gaps | Missing metrics | Ensure ServiceMonitor labels |
Frequently Asked Questionsβ
Q: How long does the full Day 0-2 process take? A: Typically 2-3 days for a production-ready stack
Q: Can I skip Day 1 and go directly to Day 2? A: Not recommended - Day 1 establishes critical foundations
Q: How do I handle existing applications? A: Use the migration tools and import features
π Next Steps & Resourcesβ
Recommended Learning Pathβ
- β Complete this Day 0-2 workflow
- π Review the Security Framework documentation
- π Explore CI/CD integration options
- π Master the monitoring stack
- π― Implement advanced features (service mesh, ML ops)
Additional Resourcesβ
- π Stacktic Documentation
- π₯ Video Tutorials
- π¬ Community Slack
- π§ Support Portal
- π Training Programs
Get Supportβ
| Support Type | Contact | Response Time |
|---|---|---|
| Community | Slack channel | < 24 hours |
| Standard | support@stacktic.io | < 8 hours |
| Enterprise | Dedicated channel | < 1 hour |
| Emergency | Hotline (Enterprise) | < 15 minutes |
π― Summaryβ
You've now mastered the complete Stacktic workflow from architecture to production operations. Your stack is:
β
Professionally Designed - Following best practices
β
Fully Deployed - Across multiple environments
β
Operationally Ready - With monitoring and backups
β
Security Hardened - Meeting compliance standards
β
Future-Proof - Ready for scaling and evolution
Transform your infrastructure from idea to production in minutes, not months.
Version: 2.0
Last Updated: September 2025
Β© Stacktic - Intelligent Stack Automation