Quick Start Guide
Get your production-ready SaaS infrastructure deployed in 15 minutes with this step-by-step guide.
🚀 15-Minute Deployment
Section titled “🚀 15-Minute Deployment”Step 1: Clone and Setup (2 minutes)
Section titled “Step 1: Clone and Setup (2 minutes)”# Clone the repositorygit clone <your-repo>cd deplate/iac
# Verify prerequisiteskubectl version --clienthelm versionterraform version
Step 2: Deploy Infrastructure Modules (5 minutes)
Section titled “Step 2: Deploy Infrastructure Modules (5 minutes)”# Deploy core infrastructure componentscd modulestask deploy-all
# Verify deploymentkubectl get pods --all-namespaces
Step 3: Configure Environment (3 minutes)
Section titled “Step 3: Configure Environment (3 minutes)”# Setup configurationcd ../config-mapscp backend.yaml.example backend.yamlcp frontend.yaml.example frontend.yaml
# Quick configuration (replace with your values)sed -i 's/myproject.com/yourdomain.com/g' *.yamlsed -i 's/OklrXSFLzL/your-db-password/g' backend.yaml
# Apply configurationkubectl apply -f .
Step 4: Deploy Applications (4 minutes)
Section titled “Step 4: Deploy Applications (4 minutes)”# Deploy backend and frontendcd ../apps
# Backend deploymenthelm upgrade --install backend ./backend \ --namespace production \ --create-namespace \ --wait --timeout=5m
# Frontend deploymenthelm upgrade --install frontend ./frontend \ --namespace production \ --wait --timeout=5m
Step 5: Verify Deployment (1 minute)
Section titled “Step 5: Verify Deployment (1 minute)”# Check application statuskubectl get pods -n productionkubectl get ingress -n production
# Test health endpointscurl -k https://yourdomain.comcurl -k https://app.yourdomain.com/health_check
🎯 What You Get
Section titled “🎯 What You Get”After completing this quick start, you’ll have:
✅ Complete SaaS Infrastructure
- Laravel backend with auto-scaling
- Next.js frontend with SSR
- Database, cache, and queue systems
✅ Production Features
- SSL certificates (auto-generated)
- Load balancing and auto-scaling
- Health monitoring
- Backup systems
✅ Ready for Development
- CI/CD pipeline compatible
- Multi-environment support
- Monitoring and logging
🔧 Quick Configuration
Section titled “🔧 Quick Configuration”Essential Configuration Changes
Section titled “Essential Configuration Changes”Domain Names (Required)
Terminal window # Update all domain referencesfind . -name "*.yaml" -exec sed -i 's/myproject.com/yourdomain.com/g' {} \;Database Password (Required)
Terminal window # Generate secure passwordopenssl rand -base64 32# Update in backend.yamlImage Registry (If using private registry)
Terminal window # Update image repositories in values.yaml files
📋 Post-Deployment Checklist
Section titled “📋 Post-Deployment Checklist”Immediate Tasks
Section titled “Immediate Tasks”- Verify all pods are running:
kubectl get pods -n production
- Check ingress status:
kubectl get ingress -n production
- Test application endpoints
- Verify SSL certificates
Configuration Tasks
Section titled “Configuration Tasks”- Update DNS records for your domain
- Configure backup schedules
- Set up monitoring alerts
- Configure email settings
Security Tasks
Section titled “Security Tasks”- Review and update secrets
- Configure network policies
- Set up access controls
- Enable audit logging
🚨 Common Quick Start Issues
Section titled “🚨 Common Quick Start Issues”Issue: Pods Stuck in Pending
Section titled “Issue: Pods Stuck in Pending”# Check node resourceskubectl describe nodes
# Check storage classeskubectl get storageclass
Issue: Ingress Not Working
Section titled “Issue: Ingress Not Working”# Verify ingress controllerkubectl get pods -n kube-system | grep traefik
# Check certificate statuskubectl get certificates -n production
Issue: Database Connection Failed
Section titled “Issue: Database Connection Failed”# Check database podkubectl logs -f mariadb-0
# Verify configurationkubectl get configmap backend-config -o yaml
🔄 Next Steps
Section titled “🔄 Next Steps”After your quick deployment:
- Configure Your Environment - Detailed configuration setup
- Set Up Monitoring - Enable comprehensive monitoring
- Review Security - Implement security best practices
- Plan Backups - Set up backup strategies
🔗 Related Guides
Section titled “🔗 Related Guides”- Prerequisites - Detailed setup requirements
- Architecture - Understand the system design
- Troubleshooting - Solve common issues
This quick start gets you running fast. For production use, review the detailed documentation for each component.