Proposed Pull Request Change

title description author ms.author ms.date ms.topic ms.service
Understand platform differences for the web application workload Learn about the key differences between the AWS and Azure platforms related to the web application hosting. schaffererin schaffererin 11/10/2025 how-to azure-kubernetes-service
📄 Document Links
GitHub View on GitHub Microsoft Learn View on Microsoft Learn
Content Truncation Detected
The generated rewrite appears to be incomplete.
Original lines: -
Output lines: -
Ratio: -
Raw New Markdown
Generating updated version of doc...
Rendered New Markdown
Generating updated version of doc...
+0 -0
+0 -0
--- title: Understand platform differences for the web application workload description: Learn about the key differences between the AWS and Azure platforms related to the web application hosting. author: schaffererin ms.author: schaffererin ms.date: 11/10/2025 ms.topic: how-to ms.service: azure-kubernetes-service # Customer intent: "As a cloud architect, I want to understand the operational differences between AWS and Azure for hosting web applications, so that I can make informed decisions when migrating workloads to the appropriate cloud platform." --- # Understand platform differences for the web application workload Before you migrate the sample web application to Azure, make sure you have a solid understanding of the operational differences between the AWS and Azure platforms. This article walks through some of the key concepts for this workload and provides links to resources for more information. For a comprehensive comparison between Azure and AWS services, see [AWS to Azure services comparison][aws-to-azure]. ### Deployment Both AKS and EKS provide multiple options for deploying a managed Kubernetes cluster on Azure and AWS. These options include native solutions and provisioning solutions based on third-party systems or open-source technologies. | **Deployment Options** | **EKS** | **AKS** | | -----------------------| --------| ------- | | Portal | [AWS Management Console](https://docs.aws.amazon.com/eks/latest/userguide/getting-started-console.html) | [Azure portal][azure-portal] | | Native Infrastructure as Code | [AWS Cloud Formation][aws-cloudformation] | [Bicep][bicep] and [Azure Resource Manager (ARM)][arm] | | Native CLI | [AWS CLI](https://docs.aws.amazon.com/eks/latest/userguide/create-cluster.html) and [EKS CLI][eksctl] | [Azure CLI][azure-cli], [Azure Developer CLI][azure-developer-cli], and [PowerShell][powershell] | | Terraform | [EKS module](https://registry.terraform.io/modules/terraform-aws-modules/eks/aws/latest?tab=resources) | [AzureRM Provider][azure-terraform] | | Pulumi | [EKS Cluster](https://www.pulumi.com/registry/packages/aws/api-docs/eks/cluster/) | [AKS ManagedCluster](https://www.pulumi.com/registry/packages/azure-native/api-docs/containerservice/managedcluster/) | | Crossplane | [Yes](https://aws.amazon.com/it/tutorials/deploy-serverless-application-using-crossplane-on-eks/) | [Yes](https://github.com/Azure-Samples/aks-platform-engineering) | | Cluster API | [Yes](https://cluster-api-aws.sigs.k8s.io/topics/eks/) | [Yes](https://github.com/kubernetes-sigs/cluster-api-provider-azure) | The [Azure CLI][azure-cli] is designed for simplicity and ease of use. You can create, upgrade, or delete a cluster with a single command. This streamlined approach reduces complexity of managing Kubernetes clusters on Azure. For more information, see [az aks](/cli/azure/aks) commands. By contrast, the EKS CLI uses a more manual approach that requires multiple steps in conjunction with using kubectl. ### Monitoring Effective monitoring is essential for identifying and resolving issues in Kubernetes clusters. The following information outlines how AKS and EKS handle monitoring: | **Monitoring Options** | **EKS** | **AKS** | | -----------------------| --------| ------- | | Native Monitoring | [Amazon CloudWatch][aws-cloudwatch] | [Azure Monitor](/azure/aks/monitor-aks) | | Managed Prometheus and Grafana | [Amazon Managed Service for Prometheus][aws-prometheus] and [Amazon Managed Grafana][aws-grafana] | [Azure Monitor managed service for Prometheus][azure-prometheus] and [Azure Managed Grafana][azure-grafana] | | Datadog | [Yes](https://docs.datadoghq.com/integrations/amazon_eks/) | [Yes](https://docs.datadoghq.com/integrations/azure_container_service/) | | Dynatrace | [Yes](https://docs.dynatrace.com/docs/ingest-from/amazon-web-services/integrate-into-aws/aws-eks) | [Yes](https://docs.dynatrace.com/docs/ingest-from/microsoft-azure-services/azure-integrations/azure-aks) | ### Support for open source projects Both AKS and EKS provide support for open-source projects, enabling you to utilize more capabilities and features. AKS provides managed capabilities for both KEDA and Karpenter as detailed below. | **Open source projects** | **EKS** | **AKS** | | -------------------------| --------| ------- | | [Kubernetes Event-driven Autoscaling (KEDA)][keda] | [Yes](https://aws.amazon.com/it/blogs/mt/proactive-autoscaling-kubernetes-workloads-keda-metrics-ingested-into-aws-amp/) | [Yes][azure-keda] | | [Karpenter][karpenter] | [Yes](https://docs.aws.amazon.com/eks/latest/best-practices/karpenter.html) | [Node Autoprovisioning][node-autoprovisioning] and [AKS Karpenter Provider](https://github.com/Azure/karpenter-provider-azure) | ## Load balancing [Azure Application Gateway For Containers][azure-ag] and [AWS Application Load Balancer][aws-alb] are two popular layer 7 load balancing solutions offered by Microsoft Azure and Amazon Web Services, respectively. These services play a crucial role in distributing incoming network traffic across multiple servers to ensure high availability and improved performance for applications. ### AWS Application Load balancer An [AWS Application Load Balancer (ALB)][aws-alb] is a component of Elastic Load Balancing in Amazon Web Services (AWS). ALB ensures traffic is routed only to healthy targets and scales with incoming traffic. It supports various load balancers, including Application, Network, Gateway, and Classic Load Balancers. ### Azure Application Gateway for Containers [Azure Application Gateway for Containers][azure-ag] is a layer 7 web traffic regional load balancer that enables customers to manage the inbound traffic to multiple downstream web applications and REST APIs. Azure Application Gateway for Containers is designed to optimize the delivery of web applications and provide enhanced security through features like [Azure Web Application Firewall][azure-waf] for [Azure Kubernetes Service (AKS)][aks]. It distributes incoming application traffic across multiple backend pools, which include public and private [Azure Load Balancers](/azure/load-balancer/load-balancer-overview), [Azure virtual machines (VMs)](/azure/virtual-machines/overview), [Azure Virtual Machine Scale Sets (VMSSs)](/azure/virtual-machine-scale-sets/overview), hostnames, [Azure App Service](/azure/app-service/overview), and on-premises/external servers. ### Compare Azure Application Gateway for Containers and AWS ALB [Azure Application Gateway][azure-ag] and [AWS Application Load Balancer][aws-alb] provide a comparable feature set. The following table provides a comparison of the solutions: | **Feature** | **Azure Application Gateway for Containers** | **AWS Application Load Balancer** | |--------|------------------------------|-----------------------------------| | Secure Sockets Layer (SSL/TLS) Termination | [Supported](/azure/application-gateway/features#secure-sockets-layer-ssltls-termination) | [Supported](https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html#listeners-ssl) | | Autoscaling | [Supported](/azure/application-gateway/for-containers/scaling-zone-resiliency) | [Supported](https://docs.aws.amazon.com/elasticloadbalancing/latest/application/application-load-balancer-target-group.html) | | Zone redundancy | [Supported](/azure/application-gateway/for-containers/scaling-zone-resiliency) | [Supported](https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-components.html#zone-configuration) | | Web Application Firewall | [Supported](/azure/application-gateway/for-containers/web-application-firewall) | [Supported](https://docs.aws.amazon.com/elasticloadbalancing/latest/application/application-load-balancers.html#load-balancer-waf) | | Ingress controller | [Supported](/azure/application-gateway/for-containers/application-gateway-for-containers-components) | [Supported](https://docs.aws.amazon.com/eks/latest/userguide/alb-ingress.html) | | URL-based routing | [Supported](/azure/application-gateway/for-containers/how-to-path-header-query-string-routing-gateway-api) | [Supported](https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html#url-based-routing) | | Multiple-site hosting | [Supported](/azure/application-gateway/for-containers/how-to-multiple-site-hosting-gateway-api) | [Supported](https://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-target-group.html) | | Redirection | [Supported](/azure/application-gateway/for-containers/how-to-url-redirect-gateway-api) | [Supported](https://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html#add-https-listener) | | Session affinity | [Supported](/azure/application-gateway/for-containers/session-affinity) | [Supported](https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-group.html#sticky-sessions) | | WebSocket and HTTP/2 traffic | [Supported](/azure/application-gateway/for-containers/websockets) | [Supported](https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html#websocket-protocol) | | Mutual TLS authentication | [Supported](/azure/application-gateway/for-containers/how-to-frontend-mtls-gateway-api) | [Supported](https://docs.aws.amazon.com/elasticloadbalancing/latest/application/mutual-authentication.html) | | Connection draining | [Supported](/azure/application-gateway/for-containers/migrate-from-agic-to-agc#connection-draining) | [Supported](https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-group.html#connection-draining) | | Rewrite HTTP headers and URL | [Supported](/azure/application-gateway/for-containers/how-to-header-rewrite-gateway-api) | [Supported with AWS WAF](https://docs.aws.amazon.com/waf/latest/developerguide/customizing-the-incoming-request.html) | ## Web Application Firewall Ensuring web application security is crucial to protect against evolving cyber threats. Fully managed web application firewall services provide robust protection for web applications against threats and malicious attacks. ### AWS Web Access Firewall (WAF) [AWS Web Access Firewall (WAF)][aws-waf] is a web application firewall that monitors HTTP and HTTPS requests to your web applications. It protects multiple AWS resources, including those exposed via the AWS Application Load Balancer. ### Azure Web Application Firewall (WAF) [Azure Web Application Firewall (WAF)][azure-waf] that provides centralized protection of web applications from common exploits and vulnerabilities. WAF can be deployed with [Azure Application Gateway for Containers][azure-ag], [Azure Front Door](/azure/web-application-firewall/afds/afds-overview), and [Azure Content Delivery Network (CDN)](/azure/web-application-firewall/cdn/cdn-overview) service from Microsoft. The Azure WAF comes with a preconfigured, platform-managed [OWASP (Open Web Application Security Project) ruleset](https://owasp.org/www-project-modsecurity-core-rule-set/) that provides protection against various types of attacks, including cross-site scripting and SQL injection. As a WAF administrator, you have the option to write your own [custom rules](/azure/web-application-firewall/ag/custom-waf-rules-overview) to enhance the core rule set (CRS) rules. Azure WAF also supports a [Bot Protection ruleset](/azure/web-application-firewall/ag/bot-protection-overview) that you can use to prevent bad bots from scraping, scanning, and looking for vulnerabilities in your web application. The Azure WAF can be configured to run in the following two modes: - Detection mode: Monitors and logs all threat alerts. You turn on logging diagnostics for Application Gateway for Containers in the Diagnostics section. You must also make sure that the WAF log is selected and turned on. Web application firewall doesn't block incoming requests when it's operating in Detection mode. - Prevention mode: Blocks intrusions and attacks that the rules detect. The attacker receives a "403 unauthorized access" exception, and the connection is closed. Prevention mode records such attacks in the WAF logs. Azure Web Application Firewall (WAF) monitoring and logging are provided through logging and integration with Azure Monitor and Azure Monitor logs. You can configure your [Azure Application Gateway for Containers][azure-ag-waf], [Azure Front Door](/azure/web-application-firewall/afds/afds-overview), and [Azure Content Delivery Network (CDN)](/azure/web-application-firewall/cdn/cdn-overview) to use [Azure Web Application Firewall (WAF)][azure-waf] and store diagnostic logs and metrics to a [Log Analytics workspace](/azure/azure-monitor/logs/log-analytics-overview). You can use the [Azure Monitor Metrics Explorer][azure-metrics-explorer] to analyze the Azure WAF metrics and the [Kusto Query Language](/kusto/query) to create and run queries against the diagnostics logs collected in the Log Analytics workspace. ## Next steps > [!div class="nextstepaction"] > [Prepare to deploy web application workload to Azure][eks-web-rearchitect] For more information about the differences between AKS and EKS, see the following articles: - [Migrate from Amazon EKS to Azure Kubernetes Service (AKS)](/azure/architecture/aws-professional/eks-to-aks/migrate-eks-to-aks) - [AKS for Amazon EKS professionals](/azure/architecture/aws-professional/eks-to-aks/) - [Identity and access management](/azure/architecture/aws-professional/eks-to-aks/workload-identity) - [Cluster logging and monitoring](/azure/architecture/aws-professional/eks-to-aks/monitoring) - [Secure network topologies](/azure/architecture/aws-professional/eks-to-aks/private-clusters) - [Storage options](/azure/architecture/aws-professional/eks-to-aks/storage) - [Cost optimization and management](/azure/architecture/aws-professional/eks-to-aks/cost-management) - [Agent node and node pool management](/azure/architecture/aws-professional/eks-to-aks/node-pools) - [Cluster governance](/azure/architecture/aws-professional/eks-to-aks/governance) - [Workload migration](/azure/architecture/aws-professional/eks-to-aks/migrate-eks-to-aks) ## Contributors *This article is maintained by Microsoft. It was originally written by the following contributors*: Principal author: - [Paolo Salvatori](https://www.linkedin.com/in/paolo-salvatori) | Principal Customer Engineer Other contributors: - [Ken Kilty](https://www.linkedin.com/in/kennethkilty/) | Principal TPM - [Russell de Pina](https://www.linkedin.com/in/rdepina/) | Principal TPM - [Erin Schaffer](https://www.linkedin.com/in/erin-schaffer-65800215b/) | Content Developer 2 <!-- LINKS --> [eksctl]: https://eksctl.io/installation/ [aws-waf]: https://aws.amazon.com/waf/ [aws-alb]: https://aws.amazon.com/elasticloadbalancing/application-load-balancer [aws-cloudformation]: https://docs.aws.amazon.com/eks/latest/userguide/creating-resources-with-cloudformation.html [aws-cloudwatch]: https://aws.amazon.com/cloudwatch/ [aws-prometheus]: https://aws.amazon.com/prometheus/ [aws-grafana]: https://aws.amazon.com/grafana/ [aks]: ./what-is-aks.md [eks-web-rearchitect]: ./eks-web-rearchitect.md [azure-ag]: /azure/application-gateway/for-containers/overview [azure-ag-waf]: /azure/application-gateway/for-containers/web-application-firewall [azure-waf]: /azure/web-application-firewall/overview [azure-metrics-explorer]: /azure/azure-monitor/essentials/metrics-explorer [azure-prometheus]: /azure/azure-monitor/essentials/prometheus-metrics-overview [azure-grafana]: /azure/managed-grafana/overview [agic]: /azure/application-gateway/ingress-controller-overview [arm]: /azure/aks/learn/quick-kubernetes-deploy-rm-template?tabs=azure-cli [bicep]: /azure/aks/learn/quick-kubernetes-deploy-bicep?tabs=azure-cli [azure-portal]: /azure/aks/learn/quick-kubernetes-deploy-portal?tabs=azure-cli [azure-cli]: /azure/aks/learn/quick-kubernetes-deploy-cli [azure-developer-cli]: /azure/aks/learn/quick-kubernetes-deploy-azd [powershell]: /azure/aks/learn/quick-kubernetes-deploy-powershell [azure-terraform]: /azure/aks/learn/quick-kubernetes-deploy-terraform?pivots=development-environment-azure-cli [keda]: https://keda.sh/ [azure-keda]: /azure/aks/keda-about [karpenter]: https://karpenter.sh/ [node-autoprovisioning]: /azure/aks/node-autoprovision [aws-to-azure]: /azure/architecture/aws-professional/services
Success! Branch created successfully. Create Pull Request on GitHub
Error: