Skip to Content
FinOps云成本优化
book

FinOps云成本优化

by J.R. Storment, Mike Fuller
March 2023
Beginner to intermediate
266 pages
4h 30m
Chinese
Publishing House of Electronics Industry
Content preview from FinOps云成本优化
容器优化阶段
199
在决定采用何种方法分配闲置成本之前,我们建议你与运行集群的团队和使用集群的团
队接洽,以便就如何继续分配成本达成共识。
GCP
中的容器比例
使用自定义计算机类型时,
GCP
会分别对
vCPU
和内存收费,因此,要将
vCPU
和内存
用于容器成本分配,就无须确定容器使用的基础服务器的比例。如果仅记录分配给集群
上运行的每个容器的
vCPU
和内存,则可以使用常规
GCP
定价表为每个容器分配费用。
你的集群总成本将表示为总体
vCPU
和内存费用。从这些值中减去记录的容器成本时,
将留下未使用的集群成本。
但是,使用预定义的计算机类型时,需要记录每个容器的自定义比例数据,如前所述。
标记、标签和命名空间
与服务器实例一样,没有任何标识符的容器使得从外部很难确定其归属。实际上,你最
终可能会得到数百甚至数千个小容器。拥有标记和标签策略将使你能够对使用情况进行
分类。请记住,你可以用与原生云相同的
FinOps
模式对待容器,希望你现在已经熟悉
了这样的流程。因此,你的标准的云标签策略将很好地应用于容器领域也就不足为奇了。
在容器世界中,你可以对容器打标记。这些标记构成了用于分配成本的标识。命名空间
允许你将容器分配到虚拟集群中。通过为团队或特定服务创建命名空间,可以创建粗粒
度的成本分配组。
容器优化阶段
与告知阶段一样,容器世界中的优化阶段是对云平台构建的原始
FinOps
实践的直接调整。
乍一看,容器化似乎解决了调整规格不统一的问题。毕竟,在同一个服务器实例上运行
更多的程序似乎更划算。但是,正如你目前所看到的,此时衡量你是否从集群中节省了 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

持续API管理

持续API管理

Mehdi Medjaoui, Erik Wilde, Ronnie Mitra, Mike Amundsen

Publisher Resources

ISBN: 9787121451201