Edit

Share via


Example prompts for learning about Azure and your application with GitHub Copilot for Azure

If you're unfamiliar with Azure or you just want the tooling and AI to do most of the work, you can ask GitHub Copilot for Azure and Azure MCP Server to help you deploy your application. Use best practices to achieve the best results. Most importantly:

  • Use "Agent" mode for the best experience. Avoid "Ask" mode.
  • Include the word "Azure" in the prompt to help Copilot understand that it needs to call tools from the Azure MCP Server.
  • If using Visual Studio Code, make sure you use "Configure Tools ..." and include both "Azure MCP" and "GitHub Copilot for Azure". See the Tool calling section's Visual Studio Code tab for more details.

Example prompts to learn about Azure

If you want to use GitHub Copilot for Azure to learn about how to use Azure for your application, you can start with an open-ended question or request. Then, add details like specific services and technologies for better results. Try the following example prompts.

Learn about system architecture on Azure

Use GitHub Copilot to recommend Azure services to use for your project.

  • "What services should I use with my Azure app?"
  • "Please recommend Azure services for my project."

When asked to recommend an Azure service, GitHub Copilot for Azure scans the current application in the workspace and provides recommendations for Azure services and service bindings.

You can work in an iterative manner asking GitHub Copilot for Azure to update the recommendations to use a different Azure service or change the bindings information. Example prompts:

  • "I'd like to use Azure App Service instead of Container Apps for my API project."
  • "Add an Azure Cosmos DB to my project."
  • "The Azure SERVICE_URL value should be bing.com."
  • "Add an environment variable STAGE=dev to my Azure project."

You can follow up by asking more detailed questions based on GitHub Copilot for Azure's recommendations. Here are some example detailed questions to help you understand the types of prompts you can use.

  • "How can I create a highly available architecture using Azure?"
  • "Explain the Azure Well-Architected Framework."
  • "What types of app hosting solutions are available in Azure?"
  • "Help me orchestrate and automate my Azure data processing workflows."
  • "How can I integrate Azure SignalR with Application Gateway and API Management?"
  • "How many Azure units do you recommend?"
  • "What are the benefits and applications of using Azure with Terraform?"

Learn about AI on Azure

  • "I want to build an AI application. What Azure services can I use?"

Learn about web and application hosting on Azure

  • "Which Azure service is best for hosting a scalable web application?"
  • "Which Azure service should I use to create a website?"
  • "How can I use Azure to build a scalable web application?"
  • "For what scenarios is Azure Functions better than Web Apps?"

Learn about containers on Azure

  • "What types of containerized applications does Azure support?"
  • "What are the options for managing containers in Azure?"
  • "When should I use Azure Kubernetes Service instead of Azure Container Apps?"
  • "What's the difference between Azure Container Apps and AKS?"
  • "Why would I choose Azure Container Apps over AKS?"

Learn how to use Azure services for your app

Service or technology Learn prompt examples
Azure AI Search
  • "What is Azure AI Search and why should I use it?"
  • "How does pricing work for Azure AI Search?"
  • "How is Azure AI Search integrated with Azure OpenAI?"
  • "How is Azure AI Search integrated with Azure Machine Learning?"
  • "When should I use hybrid search or vector search versus the semantic ranker in Azure AI Search?"
  • "Is Azure AI Search a vector database? How does it ensure the accuracy and relevance of vector search results?"
  • "What support does Azure AI Search have for high-scale multitenant applications?"
  • "What is the integrated vectorization feature in Azure AI Search, and from which data sources can I extract data for it?"
  • "What is AI enrichment in Azure AI Search, how does it work, and what are its benefits?"
  • "What is the semantic ranker in Azure AI Search, and how is it different from vector search?"
  • "What are the top recommended code samples or solution accelerators for Azure AI Search?"
  • "What are some real-world examples of businesses using Azure AI Search?"
Azure API Management
  • "What are the benefits and applications of Azure API Management?"
Azure App Service
  • "How do I deploy a web app in Azure?"
  • "How do I create an Azure App Service app and deploy code to a staging environment using the CLI?"
  • "Create a script to deploy a Python web app in Azure."
  • "What database options does Azure offer for web apps?"
  • "What serverless options does Azure provide for web apps?"
  • "Create a guide for maximizing Azure App Service."
Azure Cache for Redis
  • "Demonstrate how to configure an Azure Redis cache for high availability and disaster recovery."
Azure Container Apps
  • "What is the Azure Container Apps service?"
  • "Tell me the difference between an Azure container app and a container app environment."
Azure Cosmos DB
  • "Why would I use Azure Cosmos DB instead of Azure SQL?"
  • "I want to use Azure Cosmos DB to store my data."
  • "Why would I use an Azure Cosmos DB account instead of a SQL database?"
Azure Data Factory
  • "How do I create data pipelines using Azure Data Factory?"
Azure Developer CLI (azd)
  • "Do you have example deployment models for Azure, such as SaaS or PaaS?"
  • "What is the best Azure infrastructure for my application?"
  • "How do I set up my Azure environment?"
  • "What are Azure Resource Manager templates and how do I use them?"
  • "How do I manage environments with the Azure Developer CLI?"
  • "What is the Azure Developer CLI?"
  • "What is the difference between Azure Bicep and ARM templates?"
  • "How do I ensure my Azure environments follow best security patterns?"
  • "How do I deploy using my CI/CD pipeline in Azure?"
Azure Functions
  • "How do I create a new Azure Function?"
  • "What is the difference between Azure Functions and Azure Logic Apps?"
  • "Create a guide for integrating Azure Logic Apps with Azure Functions."
  • "I want to create an Azure Function in Node.js."
Azure Key Vault
  • "Explain how and why I should use Azure Key Vault."
Azure Kubernetes Service (AKS)
  • "How do I get the status of all nodes in my AKS cluster?"
  • "What's the command to set a context for my AKS cluster?"
Azure Machine Learning
  • "Generate a PowerShell script to create a new Azure Machine Learning workspace."
  • "What is the difference between Azure AI services and Azure Machine Learning?"
Azure Monitor
  • "Create a guide for using Azure Logic Apps to automate responses to Azure Monitor alerts."
Azure Virtual Network
  • "How do I balance inbound network traffic to my Azure application?"
Azure OpenAI Service
  • "What services does Azure OpenAI provide?"
  • "Where is GPT-4o mini available in Azure?"
  • "What are the prerequisites for integrating Azure OpenAI?"
  • "Create a guide for creating and using Azure OpenAI resources."
  • "What are the available Azure OpenAI model types?"
Azure SDK
  • "Can I use Azure SDKs in the browser?"
  • "Does the Azure C# Storage SDK support chunked blob uploads and downloads?"
Azure SignalR Service
  • "How do I host and scale SignalR on multiple servers in Azure?"
  • "How do I do real-time communication in .NET with Azure?"
  • "How do I push real-time updates to clients using Azure?"
  • "How do I synchronize data across clients in Azure SignalR Service?"
  • "How do I stream data to clients in Azure?"
  • "How do I manage and scale WebSocket connections in Azure?"
  • "How do I host and scale Socket.IO in Azure?"
  • "What do I need to configure my SignalR code to work with Azure SignalR Service?"
  • "Evaluate my SignalR setup — is it following Azure’s best security practices?"
  • "How do I stress test Azure SignalR?"
  • "How do I configure networking in Azure SignalR Service?"
  • "How do I configure an Azure Web PubSub event handler?"
Azure SQL
  • "Create a Terraform configuration to deploy an Azure SQL database."
  • "Design a strategy for migrating on-premises SQL Server databases to Azure SQL Managed Instance."
Azure Static Web Apps
  • "Does Azure Static Web Apps support static IP addresses?"
Azure Storage
  • "Why would I use Azure Blob Storage?"
  • "How do I pull data from an Azure Storage blob in React?"
  • "Outline steps to secure Azure Blob Storage with private endpoints and Azure Private Link."
  • "Generate an Azure CLI script to create a new storage account."
  • "Give me the CLI code to create a new Azure Storage account."
  • "Can you help me choose the right Azure Storage solution?"
Azure Web PubSub
  • "How do I authenticate with Azure Web PubSub?"
  • "What do I need to do to host my Socket.IO app on Azure?"
  • "How do I stress test Azure Web PubSub?"