Skip to content

Conversation

@yl-nuwan
Copy link

@yl-nuwan yl-nuwan commented Jan 31, 2026

Description

Introduce Azure Cloud Support for the Deployments

Type of Change

  • New feature (non-breaking change which adds functionality)
  • Documentation update
  • Other (please describe):

Changes Made

  • Added Azure Support for the AK Python modules

    • Added Cosmos DB as session management
    • Introduced Azure Function implementation
    • Azure Managed Redis with TLS introduced
  • Introduced Azure Terraform Modules

    • Flex serverless functions
    • Azure Container Apps

- Add complete serverless module with API Management, Function App, and supporting resources
- Implement Function App Flex Consumption with system-assigned identity and blob storage deployment
- Configure API Management with dynamic endpoint routing and Application Insights logging
- Add comprehensive variable definitions for networking, storage, and service configuration
- Update VNet module to support Function App delegation and service endpoints
- Enhance Redis and ACR modules with conditional resource creation and lifecycle management
- Remove deprecated function principal ID variable from blob storage module
…tion and Redis networking

- Replace commented APIM configuration with active implementation
- Add time_sleep resource for APIM provisioning stability
- Update gateway endpoints to support function-specific routing with function_name parameter
- Enhance Redis module with conditional subnet binding and private endpoint support
- Add network security group rules for Redis access from function subnets
- Update storage account naming convention with subscription ID suffix
- Add Redis authentication and private IP configuration
- Remove unused sku_name variable and update default Redis SKU to Basic
- Add terraform.tfvars configuration file with sample deployment settings
- Fix VNet subnet delegation actions for Microsoft.App/environments
- Implement AzureFunctions class with HTTP handler for agent processing
- Add Azure serverless example with OpenAI agents (math, history, triage)
- Include build scripts and Azure Functions configuration files
- Update dependencies: langgraph 1.0.5, langchain 1.2.3, openai-agents 0.6.5
- Fix Redis private IP output logic in Terraform modules
- Extend code formatting line length to 150 characters
- Add OpenAI API key variable to serverless deployment
…e deployment reliability

- Replace azurerm_redis_cache with azurerm_managed_redis for better performance and security
- Update Redis configuration to use encrypted client protocol and disable public access
- Simplify Redis variables by removing node family, capacity, and SKU configurations
- Fix Redis connection string format to use rediss:// with authentication
- Add deployment status checks and host key availability validation in function deployment
- Update Python runtime from 3.11 to 3.12 for Azure Functions
- Remove commented storage and docker image modules from state configuration
- Add comprehensive example for OpenAI integration with proper variable definitions
- Improve API Management dependency handling and remove hardcoded SKU configuration
Implement CosmosDBSessionStore with full session management capabilities including TTL support, connection retry logic, and integration with existing session cache system. Add Azure dependencies and Terraform configuration for Cosmos DB connection string management.
@yl-nuwan yl-nuwan requested a review from amithad January 31, 2026 04:44
- Create new Azure serverless OpenAI example with complete provisioning script
- Update main provision script to use dynamic script paths and deploy.sh instead of build.sh
- Remove unnecessary ARM environment variables (ARM_TENANT_ID, ARM_USE_CLI) from exports
- Add script directory detection for better modularity across examples
@yl-nuwan yl-nuwan self-assigned this Jan 31, 2026
…tion and settings

- Add detailed comments explaining Azure region selection and resource deployment
- Update resource group description to be more generic
- Simplify product/module alias comments by removing ACR-specific references
- Switch default Redis/CosmosDB creation flags (Redis: false, CosmosDB: true)
- Add secondary API endpoint configuration in deploy example
- Improve publisher email comment formatting and add OpenAI API key documentation
- Remove unnecessary whitespace and formatting inconsistencies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants