---
url: 'https://www.redhat.com/topics/cloud-computing/what-is-caas'
title: '什么是 CaaS？'
date: '2024-11-20T22:53:14+00:00'
updated: '2026-06-01T18:34:32+00:00'
type: website
summary: 容器即服务（CaaS）是一款云服务，可帮助使用基于容器的抽象来管理和部署应用。
tags:
  - Article
  - Containers
image: 'https://www.redhat.com/profiles/rh/themes/redhatdotcom/img/logo-rh-og-image.png'
published: true
---
  

  

1. [主题](/zh-cn/topics "主题")
2. [什么是 CaaS？](# "什么是 CaaS？")

 

 

# 什么是 CaaS？





 Published  2020 年 1 月 22 日•*4* 分钟阅读

已复制复制失败复制 URL





 

 

 

   

## 快速跳转

概述为什么要使用容器需要考虑的方面容器编排红帽 OpenShift

 

 

## 概述



容器即服务（CaaS）是一款[云服务](/zh-cn/topics/cloud-computing/what-are-cloud-services)，可帮助使用基于容器的抽象来管理和部署应用。CaaS 支持本地部署或云部署。

[提供商](/zh-cn/topics/cloud-computing/what-are-cloud-providers)会提供在其上部署和[管理](/zh-cn/topics/management)容器的框架或[编排](/zh-cn/topics/containers/what-is-container-orchestration)平台，而正是通过此编排，才得以实现关键 IT 功能的[自动化](/zh-cn/topics/automation)。

对于要开发更安全且可扩展的容器化应用的开发人员而言，CaaS 尤为有用。用户只需购买他们想要的资源（调度功能、负载平衡等），从而节省资金并提高效率。

容器可以创建一致的环境，以便快速开发和交付可在任何地方运行的云原生应用。

[深入了解红帽 OpenShift 虚拟化引擎](/zh-cn/resources/openshift-virtualization-engine-overview?intcmp=RHCTG0260000482098)







 

## 为什么要使用容器



在[云](/zh-cn/topics/cloud-computing)计算服务范畴内，CaaS 被认为是[基础架构即服务（IaaS）](/zh-cn/topics/cloud-computing/what-is-iaas)的一种子集，介于 IaaS 和[平台即服务（PaaS）](/zh-cn/topics/cloud-computing/what-is-paas)之间。

CaaS 的基本资源为容器，它是[云原生应用](/zh-cn/topics/cloud-native-apps)和[微服务](/zh-cn/topics/microservices/what-are-microservices)的常见部署机制。此外，CaaS 还可以提高环境之间的可移植性，无论是[混合](/zh-cn/topics/cloud-computing/what-is-hybrid-cloud)环境还是[多云](/zh-cn/topics/cloud-computing/what-is-multicloud)环境。

使用容器有很多好处：

- **可移植性：**用容器开发的应用拥有运行所需的一切，并可以部署在包括[私有云](/zh-cn/topics/cloud-computing/what-is-private-cloud)和[公共云](/zh-cn/topics/cloud-computing/what-is-public-cloud)在内的多种环境中。可移植性也意味着灵活性，因为您可以更轻松地在环境和提供商之间移动工作负载。
- **可扩展性：**容器具有水平扩展的功能，这意味着用户可以在同一集群中成倍增加相同容器的数量，从而根据需要进行扩展。通过仅在需要时使用和运行所需的内容，可以大大降低成本。
- **高效性：**容器所需的资源要少于[虚拟机（VM）](/zh-cn/topics/virtualization/what-is-a-virtual-machine)，因为它们不需要单独的操作系统。您可以在单个服务器上运行多个容器，而且它们需要较少的裸机硬件，这意味着成本更低。
- **更高的安全性：**容器之间彼此隔离，这意味着在一个容器遭到破坏的情况下，其他容器并不会受到影响。将您的特定安全要求和实践整合到[黄金镜像](/zh-cn/topics/linux/what-is-a-golden-image)中，即使在不同的云环境和不同的足迹中，也能维持您的安全态势。
- **速度：**由于容器相对于操作系统具有自主性，因此其启动和停止仅需几秒钟的时间。这也加快了开发和运维工作，同时带来了更快、更流畅的用户体验。







 

## 红帽资源











[扩展阅读](/zh-cn/resources "扩展阅读")







 

   

## 在选择 CaaS 提供商时要考虑的事项



寻求为其业务部署容器服务的企业可以选择购买平台并自己管理平台上的容器，也可以选择由提供商管理的容器解决方案（例如 Google 云平台、Amazon Web 服务（AWS）、IBM 云或 Microsoft Azure）。得益于容器的灵活性，这些方案均不意味着用户将被锁定。

在做出有关 CaaS 的决策时，请注意以下几点：

- 您是刚开始使用容器，还是已建立基于容器的架构？托管式容器平台方案可能最适合那些不熟悉容器的人，因为它可以让您在试用之后选择适合自己的处理方式。
- 您是应选择公共云还是现场部署？
- 您的 IT 部门是否经过培训并具备管理容器平台的能力？
- 您的预算有多少？您预期的发展规模有多大？







 

## Kubernetes 容器编排



Kubernetes 是 [Linux 容器](/zh-cn/topics/containers/whats-a-linux-container)编排的一个开源平台，最初是由 Google 工程师开发的。它通过将 [Linux](/zh-cn/topics/linux) 主机上运行的容器组合到集群中并进行自动化管理，从而实现了应用开发、管理和扩展的自动化。部署和扩展容器化应用时所涉及的许多手动过程都会在后台为您处理好。  
  
Kubernetes 可以为您提供编排和容器管理功能，用于在具有多个[安全层](/zh-cn/topics/security)的多个服务器主机上大规模部署容器，同时随着时间的推移[管理这些容器的运行状况](/zh-cn/about/press-releases/red-hat-sets-new-standard-trusted-enterprise-grade-containers-industrys-first-container-health-index)。







 

## 红帽 OpenShift 容器平台



[红帽® OpenShift®](/zh-cn/technologies/cloud-computing/openshift) 是一个企业级的开源容器平台，它可以在不影响应用正常运行时间的情况下实现容器的大规模运维。它可以通过帮助您在路由器后对应用进行负载平衡、使用流量指标自动扩展/缩小应用，并提供资源来构建容器镜像，让容器编排变得更容易。

借助红帽 OpenShift 的可扩展性以及控制和编排功能，您的开发人员可以构建新的容器化应用、对其进行托管并[在云端加以部署](https://tracks.redhat.com/c/red-hat-summit-virtu-3?x=x9_lYw&sc_cid=7013a000002DgBHAA0)。它适用于各种云，并且得到所有主流云提供商的支持，可实现公共云与私有云以及数据中心之间的工作负载迁移。

为了简化企业软件的购买和管理，[红帽市场](https://marketplace.redhat.com/)在红帽 OpenShift 集群上提供了自动部署的认证软件。

最棒的是，它不仅由开源领域的领导者红帽所开发，并且能享受到红帽的全面支持。

[容器入门](/zh-cn/topics/containers/why-choose-red-hat-containers "文章 | 为什么选择红帽来实施容器？")







 

 

   









资源



### 采用红帽 OpenShift 虚拟化的 15 个原因



了解红帽 OpenShift 虚拟化如何借助一个适用于虚拟机和容器的平台，实现 IT 运维的整合与简化。











[获取资源](/zh-cn/resources/15-reasons-adopt-openshift-virtualization-ebook?intcmp=RHCTG0250000451331 "采用红帽 OpenShift 虚拟化的 15 个原因")







   

 

 

   

### 所有红帽产品试用

我们的免费试用服务可让您亲身体验红帽的产品功能，为获得认证做好准备，或评估某个产品是否适合您的企业组织。



 

    

[扩展阅读](/zh-cn/products/trials "所有红帽产品试用") 

 

 

 

 



 

   

## 扩展阅读



  











### 哪种红帽 Ansible 自动化平台部署选项适合您？



 如何安装、管理和维护 Ansible® 自动化平台部署取决于企业组织所需的灵活性或定制化程度。 









[阅读文章](/zh-cn/technologies/management/ansible/ansible-deployment-options "article | Which Ansible cloud deployment option is right for you?")





 

  











### 什么是平台工程工具？



 平台工程工具是支持和赋能开发团队通过自助服务方法提高生产力的资源。 









[阅读文章](/zh-cn/topics/platform-engineering/platform-engineering-tools "article | what are platform engineering tools")





 

  











### 什么是 MLflow？



 MLflow 是一款管理工具，可帮助开发人员有序管理机器学习（ML）和 AI 项目从早期实验到上线部署的整个流程。 









[阅读文章](/zh-cn/topics/ai/what-is-mlflow "What is MLflow?")





 

 

 

   

###  相关资源



 

### 相关内容

 

 

- 博客文章
    
     [Streamlining container security: Red Hat Hardened Images now supported in AWS InspectorScan API and ECR Basic scanning](/zh-cn/blog/streamlining-container-security-red-hat-hardened-images-now-supported-aws-inspectorscan-api-and-ecr-basic-scanning)
- 博客文章
    
     [Managing virtual machines on Red Hat OpenShift with Service Mesh](/zh-cn/blog/managing-virtual-machines-red-hat-openshift-service-mesh)
- 博客文章
    
     [Can't patch fast enough? Zero trust as a last line of defense](/zh-cn/blog/cant-patch-fast-enough-zero-trust-last-line-defense)
- 博客文章
    
     [4 reasons to start using image mode for Red Hat Enterprise Linux right now](/zh-cn/blog/4-reasons-start-using-image-mode-red-hat-enterprise-linux-right-now)
 
 

 

 

 

 

### 相关文章

 

 

- [Introduction to Kubernetes architecture](/zh-cn/topics/containers/kubernetes-architecture)
- [What is container-native virtualization?](/zh-cn/topics/containers/what-is-container-native-virtualization)
- [What is a Kubernetes operator?](/zh-cn/topics/containers/what-is-a-kubernetes-operator)
- [What is container orchestration?](/zh-cn/topics/containers/what-is-container-orchestration)
- [What is Kubernetes?](/zh-cn/topics/containers/what-is-kubernetes)
- [Red Hat OpenShift for developers](/zh-cn/technologies/cloud-computing/openshift/developers)
- [What is a golden image?](/zh-cn/topics/linux/what-is-a-golden-image)
- [What is Podman Desktop?](/zh-cn/topics/containers/what-is-podman-desktop)
- [What is KubeVirt?](/zh-cn/topics/virtualization/what-is-kubevirt)
- [What is the Kubernetes Java client?](/zh-cn/topics/cloud-computing/what-is-kubernetes-java-client)
- [Kubernetes on AWS: Self-Managed vs. Managed Applications Platforms](/zh-cn/topics/containers/kubernetes-on-aws)
- [What are hosted control planes?](/zh-cn/topics/containers/what-are-hosted-control-planes)
- [Edge computing with Red Hat OpenShift](/zh-cn/technologies/cloud-computing/openshift/edge-computing)
- [What is kubernetes security?](/zh-cn/topics/containers/kubernetes-security)
- [What was CoreOS and CoreOS container Linux](/zh-cn/technologies/cloud-computing/openshift/what-was-coreos)
- [How Kubernetes can help AI/ML](/zh-cn/topics/cloud-computing/how-kubernetes-can-help-ai)
- [What is containerization?](/zh-cn/topics/cloud-native-apps/what-is-containerization)
- [Stateful vs stateless applications](/zh-cn/topics/cloud-native-apps/stateful-vs-stateless)
- [What is Kubeflow?](/zh-cn/topics/cloud-computing/what-is-kubeflow)
- [What are microservices?](/zh-cn/topics/microservices/what-are-microservices)
- [What is container security?](/zh-cn/topics/security/container-security)
- [OpenShift vs. OpenStack: What are the differences?](/zh-cn/technologies/cloud-computing/openshift/openshift-vs-openstack)
- [What is Buildah?](/zh-cn/topics/containers/what-is-buildah)
- [What is Knative?](/zh-cn/topics/microservices/what-is-knative)
- [What is FaaS?](/zh-cn/topics/cloud-native-apps/what-is-faas)
- [Kubernetes vs OpenStack](/zh-cn/topics/containers/kubernetes-vsopenstack)
- [What is YAML?](/zh-cn/topics/automation/what-is-yaml)
- [What is etcd?](/zh-cn/topics/containers/what-is-etcd)
- [What is an image builder?](/zh-cn/topics/linux/what-is-an-image-builder)
- [Red Hat OpenShift vs. OKD](/zh-cn/topics/containers/red-hat-openshift-okd)
- [Red Hat OpenShift vs. Kubernetes: What's the difference?](/zh-cn/technologies/cloud-computing/openshift/red-hat-openshift-kubernetes)
- [What is high availability and disaster recovery for containers?](/zh-cn/topics/containers/high-availability-containers)
- [Why run Apache Kafka on Kubernetes?](/zh-cn/topics/integration/why-run-apache-kafka-on-kubernetes)
- [Spring on Kubernetes with Red Hat OpenShift](/zh-cn/technologies/cloud-computing/openshift/spring)
- [What are Red Hat OpenShift cloud services?](/zh-cn/technologies/cloud-computing/openshift/what-are-red-hat-openshift-cloud-services)
- [What is a container registry?](/zh-cn/topics/cloud-native-apps/what-is-a-container-registry)
- [What is Podman?](/zh-cn/topics/containers/what-is-podman)
- [What is Skopeo?](/zh-cn/topics/containers/what-is-skopeo)
- [What are Red Hat OpenShift Operators?](/zh-cn/technologies/cloud-computing/openshift/what-are-openshift-operators)
- [Using Helm with Red Hat OpenShift](/zh-cn/technologies/cloud-computing/openshift/helm)
- [Kubernetes security best practices](/zh-cn/topics/containers/kubernetes-security-best-practices)
- [Orchestrating Windows containers on Red Hat OpenShift](/zh-cn/technologies/cloud-computing/openshift/windows-containers-on-red-hat-openshift)
- [What is a Linux container?](/zh-cn/topics/containers/whats-a-linux-container)
- [What are sandboxed containers](/zh-cn/topics/containers/sandboxed-containers)
- [Why use Red Hat Ansible Automation Platform with Red Hat OpenShift?](/zh-cn/technologies/cloud-computing/openshift/ansible-on-openshift)
- [High performance computing with Red Hat OpenShift](/zh-cn/technologies/cloud-computing/openshift/high-performance-computing)
- [Advantages of Kubernetes-native security](/zh-cn/topics/containers/advantages-of-kubernetes-native-security)
- [What is KubeLinter?](/zh-cn/topics/containers/what-is-kubelinter)
- [Intro to Kubernetes security](/zh-cn/topics/containers/intro-kubernetes-security)
- [Container and Kubernetes compliance considerations](/zh-cn/topics/containers/compliance)
- [How microservices support IT integration in healthcare](/zh-cn/topics/microservices/microservices-in-healthcare)
- [Kubernetes cluster management](/zh-cn/technologies/cloud-computing/openshift/kubernetes-cluster-management)
- [Red Hat OpenShift on IBM IT infrastructure](/zh-cn/technologies/cloud-computing/openshift/what-is-red-hat-openshift-on-IBM-IT-infrastructure)
- [Red Hat OpenShift for business leaders](/zh-cn/technologies/cloud-computing/openshift/business-leaders)
- [How to deploy Red Hat OpenShift](/zh-cn/technologies/cloud-computing/openshift/deploy-red-hat-openshift)
- [Cost management for Kubernetes on Red Hat OpenShift](/zh-cn/technologies/cloud-computing/openshift/cost-management)
- [Red Hat OpenShift on VMware](/zh-cn/technologies/cloud-computing/openshift/vmware)
- [What makes Red Hat OpenShift the right choice for SAP?](/zh-cn/technologies/cloud-computing/openshift/sap)
- [Why choose Red Hat for Kubernetes?](/zh-cn/topics/containers/why-choose-red-hat-kubernetes)
- [Kubernetes-native Java development with Quarkus](/zh-cn/technologies/cloud-computing/openshift/quarkus)
- [What is enterprise Kubernetes?](/zh-cn/topics/containers/what-is-enterprise-kubernetes)
- [What makes Red Hat OpenShift the right choice for IT operations?](/zh-cn/technologies/cloud-computing/openshift/it-operations)
- [What is Kubernetes role-based access control (RBAC)](/zh-cn/topics/containers/shenmeshi-kubernetes-jiyujiaosedefangwenquanxiankongzhirbac)
- [VNF and CNF, what’s the difference?](/zh-cn/topics/cloud-native-apps/vnf-and-cnf-whats-the-difference)
- [Learning Kubernetes basics](/zh-cn/topics/containers/learning-kubernetes-tutorial)
- [What is service-oriented architecture?](/zh-cn/topics/cloud-native-apps/what-is-service-oriented-architecture)
- [What is the Kubernetes API?](/zh-cn/topics/containers/what-is-the-kubernetes-api)
- [What is Kubernetes cluster management?](/zh-cn/topics/containers/what-is-kubernetes-cluster-management)
- [What is a Kubernetes deployment?](/zh-cn/topics/containers/what-is-kubernetes-deployment)
- [Why choose the Red Hat build of Quarkus?](/zh-cn/topics/cloud-native-apps/why-choose-red-hat-quarkus)
- [Introduction to Kubernetes patterns](/zh-cn/topics/cloud-native-apps/introduction-to-kubernetes-patterns)
- [What is a Kubernetes cluster?](/zh-cn/topics/containers/what-is-a-kubernetes-cluster)
- [Containers vs. VMs: Why not both?](/zh-cn/topics/containers/containers-vs-vms)
- [What is Quarkus?](/zh-cn/topics/cloud-native-apps/what-is-quarkus)
- [What is Jaeger?](/zh-cn/topics/microservices/what-is-jaeger)
- [What is Clair?](/zh-cn/topics/containers/what-is-clair)
- [Why choose Red Hat for microservices?](/zh-cn/topics/microservices/why-choose-red-hat-microservices)
- [What is software-defined storage?](/zh-cn/topics/data-storage/software-defined-storage)
- [What is network-attached storage?](/zh-cn/topics/data-storage/network-attached-storage)
- [Why choose Red Hat for containers?](/zh-cn/topics/containers/why-choose-red-hat-containers)
- [What is Docker?](/zh-cn/topics/containers/what-is-docker)
- [What is a Kubernetes pod?](/zh-cn/topics/containers/what-is-kubernetes-pod)
 
 

 

   

[有关此主题的更多信息](/zh-cn "有关此主题的更多信息")