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云成本优化
标记和标签:最灵活的分配选项
89
9-2 GCP的成本分配
标记和标签 :最灵活的分配选项
云服务提供商可能会将它们称为不同的东西,但从根本上说,标记和标签都提供了以键
值对的形式定义元数据的功能。你可以将这些标记与云账户中的资源相关联。键类似于
电子表格中的列标题,而值则是该列的行条目。
假设键值对可以用来描述一堆衬衫。每件衬衫可能有一个颜色的标记键,其标记值为红
色、蓝色或绿色。如果你想找出红色和蓝色衬衫的成本差异,你可以使用颜色标记将成
本分组并显示差异。
如图
9-3
所示,部分云资源使用了“
Environment
”(环境)和“
Tier
”(层级)标签。这
些标记提供了一种方法,用于识别哪些资源来自生产环境,哪些资源来自开发环境,以
及哪些资源支持服务的前端还是后端。对云服务提供商来说,标记只是没有语义意义的
字符串。因为标记只对客户有意义,它们可以是你想要的任何东西(给定语法限制,如
字符集和长度)。然而,对标记键及其适合(或批准)的值有一个清晰的计划,将能确
保你不会应用到不一致的标记
或者更差的情况是,根本没有标记。
90
9
标记,标签,账号,天哪!
9-3 云资源上的标签
使用标记计费
在你的云账单中有标记数据表示,允许你通过多个标记维度对成本进行分组。按每个团
队成本分配
或按不同环境分组分配,例如开发成本与生产成本 ...
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