Azure容器服务和容器Web应用之间的区别 [英] Difference between Azure Container Service and Web App for Containers

查看:153
本文介绍了Azure容器服务和容器Web应用之间的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Azure容器服务和用于容器的Web应用之间有什么区别?

What is the difference between Azure Container Service and Web App for Containers?

它们似乎都提供了一个完全托管的平台,我们可以在该平台上部署容器.我觉得容器Web应用程序必须提供更多功能,但是我看不到.我已经阅读了 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. I've read the Azure Container Service FAQ and the Web App for Containers intro page, but the difference is not obvious to me.

推荐答案

容器Web应用,您可以运行托管Web应用的自定义Docker容器.默认情况下,带有Linux操作系统的Web App Service提供内置的Docker映像,例如PHP 7.0和Node.js 4.5.但是请按照此网页,您还可以托管您的自定义docker映像,该映像允许您定义自己的SW-Stack.限制是您只能将一个docker映像部署到App Service.您可以扩展App Service以使用多个实例,但是每个实例将部署相同的docker映像.因此,这使您可以将Docker即服务使用,但不适用于部署微服务.

Web App for Containers lets you run your custom Docker container which hosts your Web Application. By default the Web App Service with Linux OS provides built-in Docker images like PHP 7.0 and 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. The limitation is that you can only deploy one docker image to an App Service. You can scale the App Service to use multiple instances, but each instance will have the same docker image deployed. So this allows you to use Docker as a Service, but isn't intended for deploying Microservices.

容器服务(ACS) Kubernetes服务(AKS) Service Fabric 使您可以部署和管理多个(不同的)Docker容器可能还需要彼此通信.假设您实现了一个购物网站,并希望基于微服务架构来构建Web应用程序.您最终拥有一个用于注册&的服务(=容器)用户登录和另一个用于访问者的购物车和购买商品的服务.此外,您还有许多其他的小型服务可用于所有其他所需的任务.由于购买服务的使用频率比注册/登录服务的使用频率高,因此,例如,您将需要6个注册/登录实例实例和12个购物车服务实例.基本上,ACS,AKS和Service Fabric允许您部署和管理所有这些不同的微服务.

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. Let's say you implement a shopping website and want to build your web application based on a Microservices architecture. 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. 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.

这篇关于Azure容器服务和容器Web应用之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆