简体   繁体   English

Azure容器服务和容器Web应用程序之间的区别

[英]Difference between Azure Container Service and Web App for Containers

What is the difference between Azure Container Service and Web App for Containers? Azure容器服务和容器Web应用程序有什么区别?

They both seem to offer a fully managed platform on which we can deploy containers. 它们似乎都提供了一个完全托管的平台,我们可以在其上部署容器。 I feel that Web App for Containers must be offering something more, but I don't see it. 我觉得容器的Web App必须提供更多东西,但我没有看到它。 I've read the Azure Container Service FAQ and the Web App for Containers intro page , but the difference is not obvious to me. 我已经阅读了Azure容器服务常见问题解答容器介绍页面Web应用程序 ,但差异对我来说并不明显。

Web App for Containers lets you run your custom Docker container which hosts your Web Application. Web App for Containers允许您运行托管Web应用程序的自定义Docker容器。 By default the Web App Service with Linux OS provides built-in Docker images like PHP 7.0 and Node.js 4.5. 默认情况下,Linux OS的Web App Service提供内置的Docker镜像,如PHP 7.0和Node.js 4.5。 But by following the instructions from this webpage you can also host your custom docker images which allows you to define your own SW-Stack. 但是,按照此网页上的说明,您还可以托管自定义泊坞窗图像,以便您定义自己的SW-Stack。 The limitation is that you can only deploy one docker image to an App Service. 限制是您只能将一个泊坞窗映像部署到App Service。 You can scale the App Service to use multiple instances, but each instance will have the same docker image deployed. 您可以扩展App Service以使用多个实例,但每个实例将部署相同的docker镜像。 So this allows you to use Docker as a Service, but isn't intended for deploying Microservices. 因此,这允许您将Docker用作服务,但不用于部署微服务。

Container Services (ACS) , Kubernetes Service (AKS) and Service Fabric allow you to deploy and manage multiple (different) Docker containers which might also need to communicate with each other. 容器服务(ACS)Kubernetes服务(AKS)Service Fabric允许您部署和管理多个(不同的)Docker容器,这些容器可能还需要相互通信。 Let's say you implement a shopping website and want to build your web application based on a Microservices architecture. 假设您实现了一个购物网站,并希望基于微服务架构构建您的Web应用程序。 You end up having one Service (= container) which is used for registration & login of users and another Service which is used for the visitors' shopping carts and purchasing items. 您最终拥有一个服务(=容器),用于注册和登录用户,另一个服务用于访客的购物车和购买物品。 Additionally you have many further small services for all the other needed tasks. 此外,您还可以为所有其他所需任务提供许多其他小型服务。 Because the purchasing service is used more frequently than the sign-up/sign-in service, you will need, for example, 6 instances of the sign-up/sign-in service and 12 instances of the cart service. 由于购买服务的使用频率高于注册/登录服务,因此您需要6个注册/登录服务实例和12个购物车服务实例。 Basically, ACS, AKS and Service Fabric let you deploy and manage all those different Microservices. 基本上,ACS,AKS和Service Fabric允许您部署和管理所有这些不同的微服务。

If you want to know the difference between ACS/AKS and Service Fabric you might want to have a look here . 如果您想了解ACS / AKS和Service Fabric之间的区别,您可能需要查看此处

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Azure 容器实例和容器的 Web 应用程序之间有什么区别? - What is the difference between Azure Container Instances and Web App for Containers? Azure App Services和用于容器的Web App之间的区别 - Difference between Azure App Services and Web App for Containers Azure Web 容器应用程序 - 容器无法连接到外部 WCF 服务 - Azure Web App For Containers - Container cannot connect to outside WCF Service “Azure Web 应用”和“Azure 应用服务”有什么区别? - What is the difference between "Azure Web app" and "Azure App Service"? Azure App Service 和 Web App Bot 之间有什么区别/联系? - Whats the difference / connection between Azure App Service and Web App Bot? 使用Azure容器注册表的容器CI的Azure Web App - Azure Web App for containers CI with Azure Container Registry Azure Web App for Containers 中跨订阅的 Azure 容器注册表 - Azure Container Registry in Azure Web App for Containers across subscriptions Azure 应用服务:三个容器的多容器应用(如何处理) - Azure App Service : Multi container app with three containers (How to handle) "生产 Web api 托管、容器的 Web 应用程序还是 azure 容器实例?" - Production web api hosting, web app for containers or azure container instances? 在 Azure Web App Service 中使用 redis 作为容器 - Use redis as a container in Azure Web App Service
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM