Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,8 @@ docker-prune:
# =============================================================================

.PHONY: fly-validate fly-preview fly-deploy fly-status fly-logs fly-ssh
.PHONY: fly-preview-demo fly-preview-production fly-preview-development
.PHONY: fly-deploy-demo fly-deploy-production fly-deploy-development

# validate fly.io configuration
fly-validate:
Expand All @@ -173,10 +175,34 @@ fly-validate:
fly-preview:
./scripts/deployment/preview_fly_secrets.sh

# preview deployment with demo profile
fly-preview-demo:
./scripts/deployment/preview_fly_secrets.sh --profile demo

# preview deployment with production profile
fly-preview-production:
./scripts/deployment/preview_fly_secrets.sh --profile production

# preview deployment with development profile
fly-preview-development:
./scripts/deployment/preview_fly_secrets.sh --profile development

# deploy to fly.io (reads .env file automatically)
fly-deploy:
./scripts/deployment/deploy_fly.sh

# deploy to fly.io with demo profile (enables demo metric batches)
fly-deploy-demo:
./scripts/deployment/deploy_fly.sh --profile demo

# deploy to fly.io with production profile (production-ready settings)
fly-deploy-production:
./scripts/deployment/deploy_fly.sh --profile production

# deploy to fly.io with development profile (all examples enabled)
fly-deploy-development:
./scripts/deployment/deploy_fly.sh --profile development

# check fly.io app status (requires app name as FLY_APP env var)
fly-status:
@if [ -z "$$FLY_APP" ]; then echo "Set FLY_APP environment variable"; exit 1; fi
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/deployment/docker.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_position: 1
sidebar_position: 4
---

# Docker Deployment
Expand Down
20 changes: 20 additions & 0 deletions docs/docs/deployment/fly.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,26 @@ After deployment completes:
- **📊 Dashboard**: `https://your-app-name.fly.dev/`
- **🔐 Admin UI**: `https://your-app-name.fly.dev/dagster` (credentials shown after deploy)

## Deployment Profiles

Anomstack supports **deployment profiles** that act like "Helm values files", allowing you to configure different environments (demo, production, development) without modifying the original metric batch examples.

:::tip Learn More
📋 **[See the complete Deployment Profiles guide](profiles.md)** for detailed instructions on using profiles for environment-specific configurations.
:::

**Quick examples:**
```bash
# Deploy demo instance (enables key examples)
make fly-deploy-demo

# Deploy production instance (clean, focused)
make fly-deploy-production

# Preview before deploying
make fly-preview-demo
```

## Manual Deployment

For more control over the deployment process:
Expand Down
6 changes: 5 additions & 1 deletion docs/docs/deployment/gcp.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Goolge Cloud Platform
---
sidebar_position: 5
---

# Google Cloud Platform

## Deploying to a VM

Expand Down
11 changes: 10 additions & 1 deletion docs/docs/deployment/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,14 @@ Scalable options for production workloads.
| **Kubernetes** | Multi-node, enterprise scale |
| **Docker Swarm** | Simple orchestration |

### Configuration Management

| Feature | Description | Compatibility |
|---------|-------------|---------------|
| **[Deployment Profiles](profiles.md)** | Environment-specific configurations (demo, production, dev) | Fly.io, Docker, Custom |
| **[Environment Variables](../configuration/environment-variables.md)** | Runtime configuration overrides | All platforms |
| **[Hot Reload](../configuration/hot-reload.md)** | Dynamic configuration updates | Docker, Local |

## Architecture Patterns

### Pattern 1: All-in-One (Recommended for Getting Started)
Expand Down Expand Up @@ -271,7 +279,8 @@ ANOMSTACK_ALERT_WEBHOOK_URL=https://api.company.com/alerts
### Deployment Guides

- **[Docker Deployment](docker.md)** - Self-hosted with Docker Compose
- **[Fly.io Deployment](fly.md)** - Global edge deployment with managed infrastructure
- **[Fly.io Deployment](fly.md)** - Global edge deployment with managed infrastructure
- **[Deployment Profiles](profiles.md)** - Environment-specific configurations (demo, production, dev)
- **[Google Cloud Deployment](gcp.md)** - GCP-native integration
- **[Storage Optimization](storage-optimization.md)** - Optimize storage for large deployments

Expand Down
Loading