Infrastructure as Code

Deploy with Terraform

RedQueen is a modular component in your monitoring infrastructure. Deploy from templates, integrate with existing systems, and manage through GitOps.

Deployment Steps

From zero to running in four steps.

1

Configure Terraform

Set environment variables for VPC, subnets, and data source endpoints.

module "redqueen" {
  source = "./modules/redqueen"

  vpc_id              = var.vpc_id
  private_subnets     = var.private_subnets
  prometheus_endpoint = var.prometheus_dns
  opensearch_endpoint = var.opensearch_dns
  slack_channel_id    = var.alerts_channel
}
2

Deploy Infrastructure

Apply Terraform to create Lambda functions, Step Functions, and IAM roles.

terraform init
terraform plan
terraform apply
3

Install Slack App

Configure the Slack app manifest and install to your workspace.

# Slack app manifest includes:
# - Bot token scopes
# - Event subscriptions
# - TLS certificate configuration
4

Configure AlertManager

Add RedQueen SNS topic as a receiver for your alerts.

receivers:
  - name: 'redqueen'
    sns_configs:
      - topic_arn: ${REDQUEEN_SNS_TOPIC}
        sigv4:
          region: eu-central-1

Modular Architecture

RedQueen integrates cleanly with your existing infrastructure.

AWS Services

  • Lambda (Slack handler, API proxy)
  • Step Functions (Alert pipeline)
  • DynamoDB (Sessions, audit logs)
  • Cognito (User authentication)
  • Bedrock (AI inference)
  • SNS (Alert notifications)

Kubernetes

  • kube-prometheus-stack
  • AlertManager receivers
  • Service account IRSA
  • Flux CD for GitOps

Monitoring Stack

  • Prometheus (metrics)
  • OpenSearch (logs)
  • Grafana (dashboards)
  • CloudWatch (AWS metrics)

Infrastructure Tools

Built with industry-standard DevOps tooling.

Terraform

Core infrastructure provisioning

AWS CDK

Complex constructs and patterns

Flux CD

GitOps cluster management

GitHub Actions

CI/CD pipeline automation

Fully Automated Deployment

Push to main and watch it deploy. Our CI/CD pipeline handles testing, building, and deploying to AWS automatically. No manual steps, no intervention required.

Git Push
CI Tests
Build
Deploy
Live