Skip to content

Latest commit

 

History

History
80 lines (62 loc) · 9.7 KB

03-Get-Answers-to-your-Questions-about-Azure-Services-and-Resources.md

File metadata and controls

80 lines (62 loc) · 9.7 KB

Get answers to your questions about Azure services and resources

If you're unfamiliar with Azure and how you can use it for your application, you can ask GitHub Copilot for Azure Preview to help you. Use this lab like a Choose your own adventure novel. Explore the many prompts below and try and craft your own prompts based on what you think you would need the @azure extension to do for you.

Best practices

Using copilots can increase developer productivity by answering questions, executing tasks, and generating code. However, remember these vital rules:

  • Review all AI-generated responses. Validate their correctness, applicability, potential outcomes (such as costs and security) before taking action based on those responses.
  • Never save application secrets or credentials in source code.
  • Never submit application secrets or credentials in questions or in code when you ask questions.

When you're working with any tool that's based on large language models, use good prompt engineering techniques for the best results. The following tips come from the article Write effective prompts for Microsoft Copilot in Azure, which provides advice for prompt engineering in the context of Azure.

  • Be clear and specific
  • Set expectations
  • Add context about your scenario
  • Break down your requests
  • Customize your code
  • Use Azure terminology
  • Use the feedback loop

Learn about Azure Services Using GitHub Copilot for Azure

In this exercise, we will use GitHub Copilot for Azure Preview to learn about how to use Azure for your application, We will start with 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

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

Learn about AI on Azure

  1. "@azure I want to build an AI application. What services can I use?"

Learn about web and application hosting on Azure

  1. "@azure Which Azure service is best for hosting a scalable web application?"
  2. "@azure Which service should I use to create a website?"
  3. "@azure How can I use Azure to build a scalable web application?"
  4. "@azure For what scenarios is Azure Functions better than Web Apps?"

Learn about containers on Azure

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