Nóta
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað aðskrá þig inn eða breyta skráasöfnum.
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað að breyta skráasöfnum.
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 |
|
| Azure API Management |
|
| Azure App Service |
|
| Azure Cache for Redis |
|
| Azure Container Apps |
|
| Azure Cosmos DB |
|
| Azure Data Factory |
|
Azure Developer CLI (azd) |
|
| Azure Functions |
|
| Azure Key Vault |
|
| Azure Kubernetes Service (AKS) |
|
| Azure Machine Learning |
|
| Azure Monitor |
|
| Azure Virtual Network |
|
| Azure OpenAI Service |
|
| Azure SDK |
|
| Azure SignalR Service |
|
| Azure SQL |
|
| Azure Static Web Apps |
|
| Azure Storage |
|
| Azure Web PubSub |
|
Related content
- Understand what GitHub Copilot for Azure is and how it works.
- Get started with GitHub Copilot for Azure by installing the software and writing your first prompt.
- Follow the quickstart to understand how to include GitHub Copilot for Azure in your software development workflow. The quickstart describes how to deploy services to Azure, monitor their status, and troubleshoot problems.
- See example prompts for designing and developing applications for Azure.
- See example prompts for deploying your application to Azure.
- See example prompts for troubleshooting your Azure resources.