Skip to content

Latest commit

 

History

History
135 lines (99 loc) · 6.02 KB

File metadata and controls

135 lines (99 loc) · 6.02 KB

Azure Databases Advisor Tool - Unofficial

Costa Rica

GitHub brown9804

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)

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.

Features

  • 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.

Project Structure

tool/
├── backend/
│   └── app.py
└── web-app/
    ├── index.html
    ├── script.js
    └── styles.css

Usage

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:

  1. Deploy the Flask API (app.py) to Azure App Service or Azure Functions.
  2. Update the backend URL in script.js to point to the deployed API.
Deployment Instructions (Click here to expand)

Backend Deployment:

  1. Use Azure App Service or Azure Functions to deploy the Flask API (app.py).
  2. Ensure the API endpoint is accessible to the frontend.
  3. Use Azure Monitor for logging and diagnostics.

Frontend Deployment:

  1. Deploy the static web app (index.html, script.js, styles.css) to Azure Static Web Apps.
  2. Update the backend URL in script.js to 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.

Expanded Questionnaire

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 TypeStructured, Semi-structured, Unstructured
Latency Requirements<10ms, 10-100ms, >100ms
Scalability NeedsGlobal, Local
Consistency ModelStrong, Eventual
Integration NeedsYes, No
Security RequirementsEncryption, RBAC, Compliance
Budget Constraints<100 USD, 100-500 USD, >500 USD
Use CaseOLTP, OLAP, AI/ML
Backup & RecoveryYes, No
Query ComplexitySimple, Moderate, Complex
Data RetentionShort-term, Medium-term, Long-term
Total views

Refresh Date: 2025-07-17