Docker + Kubernetes has become the mainstream cloud computing

  Foreword

  Recently was time to write k8s of tutorials, very time-consuming, and other related content after the initial completion, and then to share. For k8s, or on the cloud is more simple, stable and cost savings, so we need to container services mainstream cloud services to understand, in order to better applied to production.

  table of Contents

  Mainstream cloud service container Service Introduction

  Amazon AWS

  Microsoft Azure

  Ali Cloud

  Tencent cloud

  Docker + Kubernetes has become the mainstream cloud computing

  What is Kubernetes (k8s)

  Kubernetes are shaping the future of application development and management

  Docker + Kubernetes has become the mainstream cloud computing

  Mainstream cloud service container Service Introduction

  Amazon AWS

  Amazon Web Services (AWS) is Amazon's cloud computing services platform to provide cloud solutions for customers worldwide. AWS for users, including elastic compute, storage, database, application, including a set of cloud computing services to help companies reduce IT investment and maintenance costs.

  ? So how Docker run it on AWS AWS also provides support for the Docker open source solutions and business solutions, and can run on AWS container in several ways:

  Amazon Elastic Container Service (ECS), is a highly scalable, high-performance container orchestration services to support Docker container, so that we can easily run on and extend the container of applications in AWS, without the need to install and operate their own container arrangement software, no need to manage and expand virtual machine cluster, do not need to schedule a container on these virtual machines. It works as follows:

  

 

  AWS Fargate, technology is applicable to the Amazon ECS, it allows us to run container in a production environment, without having to deploy or manage the infrastructure.

  Amazon Elastic Container Service for Kubernetes (EKS), allows us to run Kubernetes on AWS, without having to install and operate Kubernetes master node.

  Amazon Elastic Container Registry (ECR), is a highly available and secure private container repository, allows us to easily store and manage Docker containers Mirror, mirror and static encryption and compression for rapid extraction and protection of these images.

  AWS Batch, allowing Docker container running highly scalable batch workloads.

  Microsoft Azure

  Microsoft Azure is an open and flexible enterprise-class cloud computing platform. By IaaS + PaaS to help accelerate the pace of development, improve efficiency and save operating costs.

  Azure is a flexible platform interoperability and support, which can be used to create applications running in the cloud or to enhance existing applications through cloud-based features. Its open architecture provides developers with the application of Web applications, connected devices, personal computers, servers or complex solutions to provide the best online selection scheme.

  In this container, Azure provides the same number of solutions:

  

 

  Here we focus on the introduction to the following services:

  Azure container instance: container instance Azure provides the easiest way to run the container in Azure, both without pre-equipped with any virtual machine, there is no need to adopt more advanced services.

  Azure Service Fabric: Azure Service Fabric is a distributed system platform, users can easily easily package, deploy and manage scalable and reliable micro-services and containers. Developers and administrators do not need to solve complex infrastructure issues, just focus on achieving demanding mission-critical workloads, those scalable, reliable and manageable workload. In short, Azure Service Fabric is designed to solve the problem of building and running services, infrastructure and efficient use of resources, so that the team can use the micro-service approach to solving business problems. And, independent of the service generation method, any technique may be used. However, it does provide built-in programming API, so that users can more easily generate micro-services.

  

 

  Azure Kubernetes 服务 (AKS):AKS管理托管的 Kubernetes 环境,使用户无需具备容器业务流程专业知识即可快速、轻松地部署和管理容器化的应用程序。 它还通过按需预配、升级和缩放资源,消除了正在进行的操作和维护的负担,而无需使应用程序脱机。

  Azure 应用服务:Azure应用服务是用于托管 Web 应用程序、REST API 和移动后端的服务。可以使用 .NET、NET Core、Java、Ruby、Node.js、PHP 或 Python 等偏好的语言进行开发。 在基于 Windows 和 Linux 的环境中,应用程序都可以轻松地运行和缩放。应用服务不仅可将 Microsoft Azure 的强大功能(例如安全性、负载均衡、自动缩放和自动管理)添加到应用程序。还能利用其DevOps功能,例如来自Azure DevOps、GitHub、Docker 中心和其他源的持续部署,以及包管理、过渡环境、自定义域和 SSL 证书。

  Azure Dev Spaces:使用 Azure Dev Spaces,可以测试并以迭代方式开发在 Azure Kubernetes 服务 (AKS) 中运行的整个微服务应用程序,而无需复制或模拟依赖项。 Azure Dev Spaces 减少了在共享 Azure Kubernetes 服务 (AKS) 群集中与你的团队协作以及直接在 AKS 中运行和调试容器的负担,并降低了这些工作的复杂度。

  阿里云

  阿里云(www.aliyun.com)创立于2009年,是全球领先的云计算及人工智能科技公司,为200多个国家和地区的企业、开发者和政府机构提供服务。2017年1月阿里云成为奥运会全球指定云服务商。2017年8月阿里巴巴财报数据显示,阿里云付费云计算用户超过100万。阿里云致力于以在线公共服务的方式,提供安全、可靠的计算和数据处理能力,让计算和人工智能成为普惠科技。阿里云在全球18个地域开放了49个可用区,为全球数十亿用户提供可靠的计算支持。此外,阿里云为全球客户部署200多个飞天数据中心,通过底层统一的飞天操作系统,为客户提供全球独有的混合云体验。

  飞天(Apsara)是由阿里云自主研发、服务全球的超大规模通用计算操作系统。 它可以将遍布全球的百万级服务器连成一台超级计算机,以在线公共服务的方式为社会提供计算能力。 从PC互联网到移动互联网到万物互联网,互联网成为世界新的基础设施。飞天希望解决人类计算的规模、效率和安全问题。飞天的革命性在于将云计算的三个方向整合起来:提供足够强大的计算能力,提供通用的计算能力,提供普惠的计算能力。飞天诞生于2009年2月,目前为全球200多个国家和地区的创新创业企业、政府、机构等提供服务。

  

 

  同样,阿里云对容器也提供了友好的支持:

  容器服务 ACS

  容器服务提供高性能可伸缩的容器应用管理服务,支持用Docker和Kubernetes进行容器化应用的生命周期管理,提供多种应用发布方式和持续交付能力并支持微服务架构。容器服务简化了容器管理集群的搭建工作,整合了阿里云虚拟化、存储、网络和安全能力,打造云端最佳容器运行环境。

  容器服务 ACK

  容器服务 Kubernetes 版(简称 ACK)提供高性能可伸缩的容器应用管理能力,支持企业级 Kubernetes 容器化应用的全生命周期管理。容器服务 Kubernetes 版简化集群的搭建和扩容等工作,整合阿里云虚拟化、存储、网络和安全能力,打造云端最佳的 Kubernetes 容器化应用运行环境。

  弹性容器实例 ECI

  阿里云弹性容器实例(Elastic Container Instance)是 Serverless 和容器化的弹性计算服务。用户无需管理底层 ECS 服务器,只需要提供打包好的镜像,即可运行容器,并仅为容器实际运行消耗的资源付费。

  容器镜像服务 ACR

  容器镜像服务(Container Registry)提供安全的镜像托管能力,稳定的国内外镜像构建服务,便捷的镜像授权功能,方便用户进行镜像全生命周期管理。容器镜像服务简化了Registry的搭建运维工作,支持多地域的镜像托管,并联合容器服务等云产品,为用户打造云上使用Docker的一体化体验。

  腾讯云

  腾讯云为腾讯倾力打造的云计算品牌,以卓越科技能力助力各行各业数字化转型,为全球客户提供领先的云计算、大数据、人工智能服务,以及定制化行业解决方案。其基于QQ、微信、腾讯游戏等海量业务的技术锤炼,从基础架构到精细化运营,从平台实力到生态能力建设,腾讯云将之整合并面向市场,使之能够为企业和创业者提供集云计算、云数据、云运营于一体的云端服务体验。

  在容器这块,腾讯云提供了如下解决方案:

  容器服务 TKE

  腾讯云容器服务(Tencent Kubernetes Engine ,TKE)基于原生 kubernetes 提供以容器为核心的、高度可扩展的高性能容器管理服务。腾讯云容器服务完全兼容原生 kubernetes API ,扩展了腾讯云的 CBS、CLB 等 kubernetes 插件,为容器化的应用提供高效部署、资源调度、服务发现和动态伸缩等一系列完整功能,解决用户开发、测试及运维过程的环境一致性问题,提高了大规模容器集群管理的便捷性,帮助用户降低成本,提高效率。容器服务提供免费使用,涉及的其他云产品另外单独计费。

  

 

  容器实例服务 CIS

  容器实例服务(Container Instance Service , CIS)可以帮用户在云上快捷、灵活的部署容器,让用户专注于构建程序和使用容器而非管理设备上。无需预购 CVM(云服务器),就可以在几秒内启动一批容器来执行任务。同时,开发者也可以通过 kubernetes API 把已有kubernetes 集群的 pod 调度到 CIS 上以处理突增业务。CIS 根据实际使用的资源计费,可以帮用户节约计算成本。使用 CIS 可以极大降低用户部署容器的门槛,降低用户执行 batch 型任务或处理业务突增的成本。

  Docker+ Kubernetes已成为云计算的主流

  从上面主流的云服务中我们可以看到,没有哪家云厂商不支持Docker,同样的,也没有哪家云厂商不支持Kubernetes!也就是说,Docker+ Kubernetes已经成为云计算的主流!

  什么是Kubernetes(k8s)

  Kubernetes(简称k8s)诞生于谷歌,是一个开源的,用于管理云平台中多个主机上的容器化的应用,k8s的目标是让部署容器化的应用简单并且高效,其提供了应用部署、规划、更新、维护的机制。

  k8s主要有以下特点:

  可移植

  支持公有云,私有云,混合云,多重云(multi-cloud) 。可以将容器化的工作负载从本地开发计算机无缝移动到生产环境。在本地基础结构以及公共云和混合云中,在不同环境中协调容器,保持一致性。

  可扩展性

  支持模块化,插件化,可挂载,可组合。并且k8s的扩展和插件在社区开发者和各大公司的支持下高速增长,用户可以充分利用这些社区产品/服务以添加各种功能。

  自动化和可伸缩性

  支持自动部署,自动重启,自动复制,自动伸缩/扩展,并且可以定义复杂的容器化应用程序并将其部署在服务器群集甚至多个群集上——因为k8s会根据所需状态优化资源。通过内置的自动缩放器,k8s可轻松地水平缩放应用程序,同时自动监视和维护容器的正常运行。

  Kubernetes正在塑造应用程序开发和管理的未来

  k8s构建于 Google 数十年经验,一大半来源于 Google 生产环境规模的经验。结合了社区最佳的想法和实践,而且还在不断地高速迭代和更新之中。

  她衔着金钥匙出生,一诞生就广受欢迎,更是在2017,其打败了所有的竞争对手,赢得了云计算的战争——主流的云厂商基本上都纷纷放弃了自己造“轮子”的举动,终止了各自的容器编排工具,加盟了k8s阵营,其中包括Red Hat、微软、IBM、阿里、腾讯、华为和甲骨文等。

  k8s像风暴一样席卷了应用开发领域,并且已成为云原生应用程序(架构、组件、部署和管理方式)的事实标准,大量的开发者和企业正在使用k8s创建由微服务和无服务器功能组成的现代架构。

  Docker+ Kubernetes已成为云计算的主流

  容器是现代软件交付的未来,而Kubernetes是编排容器的最佳方案(事实上的标准)。

  Docker 和Kubernetes相辅相成,联手打下了云计算的“万里江山”。Docker 为打包和分发容器化应用程序提供了一个开放的标准,而 Kubernetes 则协调和管理通过 Docker 创建的分布式容器化应用程序。换句话说,Kubernetes 提供了部署和运行通过Docker生成的应用程序所需的基础结构。

  在主流的云服务,基于Docker+k8s的新型PaaS平台具有敏捷部署、弹性伸缩、灵活调度、故障自动恢复等优势,充分满足业务扩展中的资源支持,因此在短短两年之内,便从Docker Swarm、Cloud Foundry Diego、Kontena、Apache Mesos、Amazon ECS…等大量对手中脱颖而出,拿下了皇冠。

  k8s和Docker的胜利意味着这是有史以来第一次,无论使用哪一种云平台,研发人员都可以拥有完全相同的计算环境。

Guess you like

Origin blog.csdn.net/qianfeng_dashuju/article/details/93626635