Skip to content

Deployment Guide

Huzefa Husain edited this page Oct 6, 2025 · 1 revision

🚀 Deployment Guide

Prerequisites

  • Azure subscription
  • Azure OpenAI resource (GPT‑4 / GPT‑4o)
  • Log Analytics Workspace
  • Azure Cognitive Search (or vector store)
  • Storage account for docs/runbooks (optional)
  • Teams incoming webhook URL
  • Python 3.9+ and Azure Functions Core Tools (for local)

Quick Steps

  1. Clone repo
    git clone https://github.com/Huzefaaa2/AIOps
    cd AIOps
  2. Configure app settings (Function App → Configuration)
    • OPENAI_ENDPOINT, OPENAI_API_KEY, OPENAI_DEPLOYMENT
    • SEARCH_ENDPOINT, SEARCH_INDEX, SEARCH_API_KEY
    • LOG_ANALYTICS_WORKSPACE_ID
    • TEAMS_WEBHOOK_URL
    • REMEDIATION_URL (optional), REMEDIATION_KEY (optional)
  3. Deploy Functions
    # from repo root
    func azure functionapp publish <your-function-app-name>
  4. Smoke test
    curl -X POST "https://<your-func>.azurewebsites.net/api/aiops-agent" ^
         -H "Content-Type: application/json" ^
         -d "{ \"question\": \"Investigate latency spikes in prod\" }"
  5. Check Teams channel for posted Adaptive Card.

Notes

  • Use Managed Identity + RBAC for downstream actions.
  • Keep secrets in Key Vault and reference in Function App settings.

Clone this wiki locally