Costa Rica
Last updated: 2025-07-17
Important
The information and code in this repository are provided for demonstration purposes only. For official guidance, support, or more detailed information, please refer to Microsoft's official documentation or contact Microsoft directly: Microsoft Sales and Support
List of References (Click to expand)
- Azure Storage Scalability Targets
- Types of Data in Azure
- Global Distribution with Azure Cosmos DB
- Consistency Levels in Azure Cosmos DB
- Introduction to Azure Data Factory
- Security overview for Azure SQL Database and Azure SQL Managed Instance
- Azure Pricing Calculator
- Azure Backup and Disaster Recovery
- Query Performance Insight
The Azure Databases Advisor Tool is designed to help users select the most suitable Azure database service based on their specific use case. It provides recommendations by analyzing user inputs such as data type, scalability needs, latency requirements, and more.
This tool consists of:
- Static Frontend: A web-based interface for users to input their requirements and view recommendations. The frontend operates independently and uses hardcoded logic for recommendations.
- Optional Backend: A Flask API that processes user inputs and provides dynamic recommendations. The backend must be deployed separately to enable advanced functionality.
- Interactive Questionnaire: Users can answer detailed questions about their use case, including data volume, type, latency, scalability, and budget.
- Dynamic Recommendations: The tool suggests Azure database services such as Azure SQL Database, Cosmos DB, PostgreSQL, Synapse Analytics, and more.
- Integration with Azure: Designed to work seamlessly with Azure services and deployment models.
- Customizable Backend: The Flask API processes user inputs and provides tailored recommendations.
- Static Web App: A user-friendly frontend for interacting with the tool.
tool/
├── backend/
│ └── app.py
└── web-app/
├── index.html
├── script.js
└── styles.css
Frontend (Click here to expand)
The static web app is deployed via Azure Static Web Apps or GitHub Pages. It provides an interactive form for users to input their requirements. By default, the frontend operates independently and uses hardcoded logic for recommendations.
Backend (Click here to expand) - Optional
The backend (Flask API) processes user inputs and generates recommendations dynamically. To enable backend functionality:
- Deploy the Flask API (
app.py) to Azure App Service or Azure Functions. - Update the backend URL in
script.jsto point to the deployed API.
Deployment Instructions (Click here to expand)
Backend Deployment:
- Use Azure App Service or Azure Functions to deploy the Flask API (
app.py). - Ensure the API endpoint is accessible to the frontend.
- Use Azure Monitor for logging and diagnostics.
Frontend Deployment:
- Deploy the static web app (
index.html,script.js,styles.css) to Azure Static Web Apps. - Update the backend URL in
script.jsto point to the deployed API (if using the backend).
Security (Click here to expand)
- Secure API endpoints with Azure Active Directory (AAD) authentication.
- Use HTTPS for all communications.
The tool now includes the following questions to refine recommendations:
View All Options (Click to expand)
| Question | Options |
|---|---|
| Data Volume | <10GB, 10GB-1TB, >1TB |
| Data Type | Structured, Semi-structured, Unstructured |
| Latency Requirements | <10ms, 10-100ms, >100ms |
| Scalability Needs | Global, Local |
| Consistency Model | Strong, Eventual |
| Integration Needs | Yes, No |
| Security Requirements | Encryption, RBAC, Compliance |
| Budget Constraints | <100 USD, 100-500 USD, >500 USD |
| Use Case | OLTP, OLAP, AI/ML |
| Backup & Recovery | Yes, No |
| Query Complexity | Simple, Moderate, Complex |
| Data Retention | Short-term, Medium-term, Long-term |