HomeArticles

Chapter 4 of Choosing a cloud and reading the bill

What Is Azure Used For? A Practitioner’s Guide to Microsoft’s Cloud

What Azure is used for: hybrid cloud, enterprise AI, data services, containers, DevOps, identity, its weak spots, and when to pick it over AWS or GCP.

Where Azure leads (Arc, Azure OpenAI, Entra ID, Office 365 tie-ins) and where it is weak (cold starts, cost tools, docs)

What is azure used for? The answer isn’t one thing. It’s a messy, powerful collection of services that solve specific problems — if you know where to look.

The Short Answer

Azure is Microsoft’s cloud computing platform. It lets you run applications, store data, build AI, and manage infrastructure without buying hardware. But that’s like saying a Swiss Army knife cuts things. Technically true. Practically useless.

What is azure used for in 2025? Three things that AWS and GCP still struggle with: hybrid cloud that actually works, enterprise AI that doesn’t require a PhD, and data services that integrate with Microsoft’s ecosystem (Office 365, Dynamics, Power BI).

Hybrid Cloud — Where Azure Actually Leads

Most people think hybrid cloud is a marketing term. They’re wrong. Azure Arc, launched in 2019 and now mature, lets you manage Kubernetes clusters running on-premises, in AWS, or on bare metal in a data center — all from one control plane.

A typical case: servers stay on-premises because latency to any cloud is too high for a real-time system. Azure Stack HCI runs on that hardware. The data stays local, and the management plane runs in Azure.

When to use Azure for hybrid:

  • You have on-premises Active Directory
  • You need consistent Kubernetes across environments
  • Your compliance team won’t let certain data leave the building

When not to: If you’re 100% cloud-native with zero on-prem footprint, Azure’s hybrid story doesn’t help you. Use GCP or AWS.

AI and Machine Learning — The OpenAI Play

In 2023, Microsoft deepened its investment in OpenAI, and Azure OpenAI Service offers OpenAI models, including GPT-4, inside Azure.

What does this mean practically? You can deploy a GPT-4 model as an API endpoint in your own Azure tenant. Your data never leaves your network. No sharing with OpenAI’s public instance. That’s huge for healthcare, finance, legal.

# Deploying GPT-4 on Azure OpenAI
from openai import AzureOpenAI

client = AzureOpenAI(
    azure_endpoint="https://your-instance.openai.azure.com/",
    api_key="your-key",
    api_version="2024-02-15-preview"
)

response = client.chat.completions.create(
    model="gpt-4-32k",  # Your deployed model name
    messages=[
        {"role": "user", "content": "Summarize this legal document for non-lawyers"}
    ],
    temperature=0.3
)
print(response.choices[0].message.content)

But — and this matters — the pricing will shock you. A single GPT-4 call for a complex document can cost $0.15. Scale that to 10,000 documents a day, and you’re looking at $1,500/day just in inference. Don’t default to GPT-4. Test a smaller or fine-tuned model first.

Data Infrastructure — Where Azure Shines (and Fails)

Azure Synapse Analytics is genuinely good. Azure Data Lake Storage Gen2 is cheap and fast. But Azure’s data story is fragmented — too many products with overlapping names.

Here’s an honest breakdown:

What works:

  • Azure Data Factory for ETL/ELT (cheaper than AWS Glue for most workloads)
  • Azure SQL Database (predictable performance, good for OLTP)
  • Cosmos DB (if you actually need global distribution — most teams don’t)

What’s a trap:

  • HDInsight (just use Databricks or Synapse Spark pools)
  • Azure Data Lake Analytics (dead — replaced by Synapse)
-- Example Synapse serverless query over Parquet files in a data lake
SELECT
    product_id,
    SUM(quantity) as total_sold,
    AVG(unit_price) as avg_price,
    COUNT(DISTINCT customer_id) as unique_customers
FROM
    OPENROWSET(
        BULK 'https://datalake.dfs.core.windows.net/sales/2024/**',
        FORMAT = 'PARQUET'
    ) AS sales
WHERE sales.transaction_date >= '2024-01-01'
GROUP BY product_id
ORDER BY total_sold DESC;

Compute and Containers — The Kubernetes Reality

Azure Kubernetes Service (AKS) is fine. Not great, not terrible. It’s API-compatible with standard Kubernetes, which is the only thing that matters. But here’s the contrarian take: most teams shouldn’t use Kubernetes at all.

Small startups run AKS clusters because Kubernetes is trendy. You pay for the nodes (and the control plane on the paid tiers), plus the overhead of managing them. For most applications, Azure App Service or Azure Container Instances will do the job cheaper and with less cognitive load.

When to use AKS:

  • You need to run 50+ microservices
  • You’re deploying models that need GPU scheduling
  • Your team already knows Kubernetes

When to skip it: If you have fewer than 3 engineers who understand Kubernetes. Cluster maintenance needs people who know it.

DevOps and CI/CD — The Microsoft Tax

DevOps and CI/CD — The Microsoft Tax

Azure DevOps is better than GitHub Actions for one reason: it’s not owned by a company that could sunset it tomorrow. (Wait, Microsoft owns both. Fair point.)

Azure DevOps has been stable since 2005 as Team Foundation Server. It’s boring. Predictable. That’s what enterprises want. GitHub Actions is faster to set up and has a better marketplace but changes its pricing model yearly.

# Example Azure DevOps pipeline for production deployments
trigger:
  branches:
    include:
      - main
      - release/*

pool:
  vmImage: 'ubuntu-latest'

variables:
  azureSubscription: 'prod-subscription'
  appName: 'my-inference-api'

stages:
- stage: Build
  jobs:
  - job: BuildJob
    steps:
    - task: Docker@2
      inputs:
        command: 'buildAndPush'
        containerRegistry: 'acr-connection'
        repository: 'inference-api'
        tags: '$(Build.BuildId)'

- stage: Deploy
  jobs:
  - deployment: DeployToAKS
    environment: 'production'
    strategy:
      rolling:
        maxParallel: 2
        deploy:
          steps:
          - task: KubernetesManifest@1
            inputs:
              action: 'deploy'
              manifests: 'k8s/deployment.yaml'

Honest take: If you’re a startup, use GitHub Actions. If you’re in a regulated industry (banking, healthcare), use Azure DevOps. The compliance story is better — audit logs, RBAC, and retention policies are enterprise-grade out of the box.

Identity and Security

Azure Active Directory (now Entra ID) is the best identity service in the cloud. Period. Microsoft’s been doing identity since Windows NT. They know it.

You can secure an entire organization with Conditional Access policies: “If user is accessing from outside the office, require MFA. If device isn’t enrolled in Intune, block. If sign-in is from an impossible travel location, trigger automated response.”

AWS IAM is powerful but painful. Entra ID is more opinionated, which means fewer security holes from misconfiguration.

The Things Azure Is Terrible At

Serverless functions. Azure Functions are fine for simple stuff. But cold starts on the Consumption plan can be slow. The Premium plan keeps pre-warmed instances to avoid them, at a higher cost.

Cost management. Azure cost tools are confusing. AWS has Cost Explorer. GCP has billing reports that make sense. Microsoft has “Cost Management + Billing” which requires a consult to interpret. Teams waste cloud spend when they can’t tell which resource caused the bill.

Documentation quality. I know this sounds petty, but Azure’s docs are written by product managers, not engineers. Some az CLI examples are out of date. The REST API documentation is often out of date. Compare this to AWS’s docs, which are detailed and versioned clearly.

When to Choose Azure Over AWS or GCP

Here’s a simple decision framework:

Choose Azure when:

  1. Your org already uses Office 365, Teams, and Dynamics. The integration cuts months off deployment.
  2. You need enterprise AI with data privacy (OpenAI on your network).
  3. You have on-premises data that can’t move but needs cloud management.
  4. Your compliance team demands FedRAMP, HIPAA, or SOC 2 out of the box — check the Azure compliance documentation for the current list.

Choose AWS when: You need the broadest service catalog, or your team already speaks AWS.

Choose GCP when: You’re doing heavy data engineering or ML training with TensorFlow/JAX.

The Future — What’s Coming

Microsoft is betting everything on AI. In 2024, they announced Copilot for everything — Azure, Office, Windows.

But here’s the risk: if OpenAI’s models get commoditized (and they will — Llama 3, Mistral, and others are catching up fast), Azure loses its differentiator. Microsoft knows this. They’re hedging with proprietary models like Phi-3 (small, on-device language models).

FAQ: What Is Azure Used For?

FAQ table on Azure: Windows-only, startups, healthcare, gaming, and whether PowerShell is needed

Q: Is Azure just for Windows workloads?
No. The .NET narrative is outdated. Azure runs Linux and Windows workloads.

Q: Can I use Azure for a small startup?
Yes. Azure and AWS both give new accounts free credits and some always-free services. Compare the current terms before you choose. For a small project, pick the cloud your team already knows.

Q: What is azure used for in healthcare?
HIPAA-compliant data storage, AI for medical imaging (Azure Health Bot is surprisingly good), and FHIR-compliant APIs for exchanging patient data. Epic Systems, the largest EHR vendor, uses Azure for its cloud offering.

Q: How expensive is Azure compared to AWS?
Depends on the service. Compare the specific services you need with each provider’s pricing calculator. Egress: Azure doesn’t charge for data going INTO Azure, but egress costs match AWS — $0.05-0.12/GB.

Q: What programming languages work with Azure?
Python, Go, .NET, Java, Node.js, Rust. Azure SDKs are decent.

Q: Is Azure good for machine learning?
For training: GCP is better (TPUs, better GPU availability). For deploying models in production: Azure is better (MLflow integration, AKS for serving, OpenAI for LLMs).

Q: What is azure used for in gaming?
PlayFab (Microsoft’s backend-as-a-service for games) runs on Azure. Also used for Xbox Cloud Gaming.

Q: Do I need to learn PowerShell to use Azure?
No. The Azure CLI (az) runs on Windows, macOS and Linux. PowerShell is optional. The Azure portal works fine for basic tasks. For automation, use Terraform or Bicep (Microsoft’s domain-specific language for infrastructure).


If I had to sum up what is azure used for in 2025: it’s the best platform for organizations that already live in Microsoft’s ecosystem and want to add AI without rebuilding everything. It’s not the cheapest. It’s not the most elegant. But for hybrid enterprise AI with compliance — nothing else comes close.

Try running this to check your Azure environment:

# Quick health check of an Azure environment
az account show
az vm list --output table
az aks list --output table
az storage account list --query "[].{Name:name, kind:kind}" --output table

If you see empty tables where you expect resources, you’ve got work ahead. That’s where Azure’s real value shows up — not in perfect infrastructure, but in the tools to fix what’s broken.

Want to talk this through?

Sivaro AI →