📘 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)