Skip to Content
基于AWS的数据科学实践
book

基于AWS的数据科学实践

by Chris Fregly, Antje Barth
September 2022
Intermediate to advanced
549 pages
11h 27m
Chinese
China Electric Power Press Ltd.
Content preview from 基于AWS的数据科学实践
530
|
第
12
章
]
}
}
}
12.14.2
隔离或删除无标签资源
为控制开销,我们应为每个资源添加标签以合理跟踪并监控花销。我们可以使用
AWS Config
服务中“
required-tags
”规则强制标签的使用。该规则检查资源是否拥
有所需标签。若资源不包含所需标签,其可以被隔离或删除以节省开支。
12.14.3
使用
S3
存储桶
KMS
密钥以节省开支并提升性能
我们可以通过使用
S3
存储桶密钥(
Bucket Keys
)降低加密成本,其减少了上传新
对象时
AWS KMS
服务
API
的调用次数。我们可以通过如下代码添加
S3
存储桶密钥:
response = client.put_bucket_encryption(
Bucket=<BUCKET_NAME>,
ServerSideEncryptionConfiguration={
'Rules': [
{
'ApplyServerSideEncryptionByDefault': {
'SSEAlgorithm': 'aws:kms',
'KMSMasterKeyID': <KMS_KEY_ID>
},
'BucketKeyEnabled': True
},
]
}
)
12.15
小结
在本章,我们起始于讨论
AWS
云安全作为 ...
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

设计机器学习系统

设计机器学习系统

Chip Huyen
Python设计模式(第2版)

Python设计模式(第2版)

Posts & Telecom Press, Chetan Giridhar
AWS认证数据工程师助理考试指南

AWS认证数据工程师助理考试指南

Sakti Mishra, Dylan Qu, Anusha Challa

Publisher Resources

ISBN: 9787519869663