Skip to content

Add one-click Azure deployment support#2

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/add-one-click-deploy-support
Draft

Add one-click Azure deployment support#2
Copilot wants to merge 2 commits intomainfrom
copilot/add-one-click-deploy-support

Conversation

Copy link

Copilot AI commented Dec 14, 2025

Adds Azure deployment infrastructure and tooling based on the C# reference repository, adapted for Python runtime.

Infrastructure

  • Bicep templates (/infra): Main infrastructure, Azure AI project setup, Functions app, RBAC, monitoring
  • ARM template (/infra/deploybutton): Pre-compiled for one-click Portal deployment
  • Runtime: Python 3.11 on Flex Consumption plan (was .NET 9)

Deployment Options

  1. One-click: Deploy to Azure button in README
  2. Azure Developer CLI: azd up with azure.yaml configuration
  3. Manual: Direct Bicep deployment via Azure CLI

Scripts

  • setuplocalenvironment.*: Post-provision hooks for local dev setup
  • createlocalsettings.*: Generates local.settings.json with FUNCTIONS_WORKER_RUNTIME=python

Documentation

  • DEPLOYMENT.md: Deployment options, configuration, troubleshooting
  • README.md: Quick start section with deployment button, prerequisites, what gets deployed

Resources Deployed

  • Azure Functions (Python 3.11), Azure AI Services (GPT-4.1-mini), Storage, App Insights, Log Analytics, Managed Identities
  • Optional: Azure AI Search, Cosmos DB (disabled by default)

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • aka.ms
    • Triggering command: /usr/local/bin/bicep bicep build infra/main.bicep --outfile infra/deploybutton/azuredeploy.json (dns block)
  • eastus.data.mcr.microsoft.com
    • Triggering command: /usr/local/bin/bicep bicep build infra/main.bicep --outfile infra/deploybutton/azuredeploy.json (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>Add one click deploy support</issue_title>
<issue_description>Add support for one click deploy to Azure.

  • baseline this change as much as possible off of https://github.com/paulyuk/simple-agent-af repo
  • include the /infra folder. Note that project is csharp, so main.bicep will need to factor in the function app is now python
  • include azure.yaml. tweak the template names to reflect dotnet instead of python
  • update the readme based on the improvements in the C# repo (e.g. Deploy to Azure button, quickstart, azd up, etc)</issue_description>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: paulyuk <1968137+paulyuk@users.noreply.github.com>
Copilot AI changed the title [WIP] Add one click deploy support for Azure Add one-click Azure deployment support Dec 14, 2025
Copilot AI requested a review from paulyuk December 14, 2025 09:20
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.

Add one click deploy support

2 participants