2026-01-17 03:58:28 +00:00

6.3 KiB

Examples

Real-world infrastructure as code examples demonstrating Provisioning across multi-cloud, Kubernetes, security, and operational scenarios.

Overview

This section contains production-ready examples showing how to:

  • Deploy infrastructure from basic single-cloud to complex multi-cloud environments
  • Orchestrate Kubernetes clusters with Provisioning automation
  • Implement security patterns including encryption, secrets management, and compliance
  • Build custom workflows for specialized infrastructure operations
  • Handle disaster recovery with backup strategies and failover procedures
  • Optimize costs through resource analysis and right-sizing
  • Migrate legacy systems from traditional infrastructure to cloud-native architectures
  • Test infrastructure as code with validation, policy checks, and integration tests

All examples use Nickel for type-safe configuration and are designed as learning resources and templates for your own deployments.

Quick Start Examples

Basic Infrastructure Setup

  • Basic Setup - Single-cloud with networking, compute, storage - perfect starting point

  • E-Commerce Platform - Multi-tier application across AWS and UpCloud with load balancing, databases

Multi-Cloud Deployments

Operational Examples

Advanced Patterns

Security and Compliance

Cloud Provider Specific

Configuration and Migration

Example Organization

Each example follows this structure:

example-name.md
├── Overview - What this example demonstrates
├── Prerequisites - Required setup
├── Architecture Diagram - Visual representation
├── Nickel Configuration - Complete, runnable configuration
├── Deployment Steps - Command-by-command instructions
├── Verification - How to validate deployment
├── Troubleshooting - Common issues and solutions
└── Next Steps - How to extend or customize

Learning Paths

I'm new to Provisioning

  1. Start with Basic Setup
  2. Read Real-World Scenario
  3. Try Kubernetes Deployment

I need multi-cloud infrastructure

  1. Review Multi-Cloud Deployment
  2. Study Hybrid Cloud Setup
  3. Implement Advanced Networking

I need to migrate existing infrastructure

  1. Start with Legacy System Migration
  2. Add Terraform Migration if applicable
  3. Set up GitOps Deployment

I need enterprise features

  1. Implement Compliance and Audit
  2. Set up Disaster Recovery
  3. Deploy Cost Governance
  4. Configure Secrets Rotation

Copy and Customize

All examples are self-contained and can be:

  1. Copied into your workspace and adapted
  2. Extended with additional resources and customizations
  3. Tested using Provisioning's validation framework
  4. Deployed directly via provisioning apply

Use them as templates, learning resources, or reference implementations for your own infrastructure.

  • Configuration Guide → See provisioning/docs/src/infrastructure/nickel-guide.md
  • API Reference → See provisioning/docs/src/api-reference/
  • Development → See provisioning/docs/src/development/
  • Operations → See provisioning/docs/src/operations/