wasAsked.

where is microservices deployed in azure?

EY · Role not specified · technical

Published

Year not specified · Azure, System Design, DevOps

Community answers

Posted by wasAsked editorial collection

Answer with your project's actual platform. The common Azure options for microservices are: Azure Kubernetes Service (AKS) - Managed Kubernetes for full control: deployments, services, ingress controllers, Helm charts, autoscaling (HPA and cluster autoscaler), service meshes and network policies. - Best for large systems, many services, teams with Kubernetes skills, or portability requirements. - Trade-off: more operational responsibility (upgrades, node pools, networking, security hardening). Azure Container Apps (ACA) - Serverless containers built on Kubernetes, KEDA and Envoy, without managing clusters. - Built-in ingress, revisions with traffic splitting, scale to zero, scaling on HTTP, queue length or events, and Dapr integration for service invocation, pub/sub and state. - A strong default for most .NET microservices today because it gives microservice features with little operational overhead. Azure App Service - Each service as a separate web app (code or container), with deployment slots, autoscale and easy setup. Suitable for a small number of services. Azure Functions - For event-driven or lightweight services and background processing, often alongside containers. Supporting services in a typical setup - Azure Container Registry for images, built and pushed by GitHub Actions or Azure DevOps pipelines. - API Management or Azure Front Door / Application Gateway as the entry point (routing, security, rate limiting, WAF). - Service Bus or Event Grid for asynchronous communication between services. - Each service with its own data store (Azure SQL, Cosmos DB, Redis). - Key Vault and managed identities (workload identity on AKS) for secrets and access. - Application Insights and Azure Monitor (with OpenTelemetry) for distributed tracing and logs. - Infrastructure as code with Bicep or Terraform. Example answer: "Our microservices ran on Azure Kubernetes Service. Each service had its own Helm chart and deployment pipeline; images were stored in ACR; NGINX ingress and API Management exposed the APIs; services communicated through Service Bus; secrets came from Key Vault via workload identity; and we monitored everything with Application Insights. For newer services we evaluated Azure Container Apps to reduce cluster maintenance."

Ravindra Wadile · · 0 likes

Sign in to add your answer

Related interview topics