Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
AWS リソースのタグ付け戦略
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Taiga
December 12, 2023
Technology
770
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
AWS リソースのタグ付け戦略
最大限にタグを活用できるようにタグ付け戦略を構築する
Taiga
December 12, 2023
More Decks by Taiga
See All by Taiga
ECSタスクがすぐに落ちる、、
taigaogura
0
64
Other Decks in Technology
See All in Technology
こんなアーキテクチャ図は嫌だ BEYOND THE TIME: 半年後の自分へ贈る15のメッセージ / 15 of Anti-pattern in AWS Architecture Diagrams
naospon
3
220
振り返りこそエンジニアの本領
negima
0
260
Kiro Crewしか勝たん!?
miu_crescent
PRO
0
170
【試作】IoT x AIエージェント
happysamurai294
0
100
Genie Code ワークショップ 基礎編 / Genie-Code-Workshop-fundamental
databricksjapan
PRO
0
340
ブラウザアプリの継続的パフォーマンスモニタリング (序) / Continuous Browser Application Performance Monitoring; Act 1
moznion
0
110
「重なり」は迎える側がつくる ― 人もAIエージェントも歓迎するプロダクトエンジニアリング ―
go0517go
PRO
0
220
KAEN Company Deck
kaen
PRO
0
290
プロダクトエンジニアに必要な「いい感じ」に作る能力 〜たくさん作れる時代に、どこまで作るかの決め方〜
jnishime_dresscode
2
1.2k
Tab5をRubyで動くパソコンにする
kishima
1
130
Jetpack Compose で挑む新聞紙面UI ─ 複合ジェスチャー・ポリゴン記事領域・適応的ページ構成という3つの壁/droidkaigi2026
nikkei_engineer_recruiting
0
190
DGX Sparkを2台使って いろいろ動かす話
sonoda_mj
1
120
Featured
See All Featured
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
520
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.6k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
320
What does AI have to do with Human Rights?
axbom
PRO
1
2.4k
The agentic SEO stack - context over prompts
schlessera
0
880
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
640
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
240
Exploring anti-patterns in Rails
aemeredith
3
490
How Software Deployment tools have changed in the past 20 years
geshan
1
34k
Visualization
eitanlees
152
17k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
340
Transcript
AWS リソースのタグ付け戦略 ⼩倉 ⼤河
⾃⼰紹介 ⽒名:⼩倉 ⼤河(おぐら たいが) 出⾝:神奈川県 好きなAWSサービス:Tag Editor
タグとは タグとは üAWS リソースを整理するためのメタデータとして機能する キーと値のペア 例(キー名)environment:(タグ値)production、development タグの種類 ü ユーザー定義タグ:AWS CLIやAPI、AWS
Management Consoleを使⽤して ユーザーが作成したリソースに割り当てたタグ ü AWS⽣成タグ:AWS CloudFormationやElastic Beanstalk、Auto Scalingなどで 作成および管理するリソースに⾃動的に割り当てられたタグ
タグの活⽤⽅法 • 複数のプロジェクトやチームが共有される環境でも、 リソースを効果的に区別できる 組織との関連性 • AWS Cost Explorerで、 タグに基づいてコストを分析できる
費⽤の追跡 • IAMポリシーなどで、 特定のタグを持つリソースへのアクセスを限定できる アクセス管理 • CloudWatchやAWS Configで、 リソースに対するアラートや変更を追跡できる 監視と運⽤
タグ付け戦略の反復と改善サイクル
タグ付け戦略の例 参考:https://docs.aws.amazon.com/ja_jp/whitepapers/latest/tagging-best-practices/defining-and-publishing-a-tagging-schema.html ユースケース タグキー 根拠 許容値 必須 DevOps operations:Owner ・リソースの作成とメンテナンスを担当
するのはどのチームか ・Squad01 ・Squad02 必須 災害対策 disaster-recovery:rpo ・リソースの RPO (⽬標復旧時点) を定義 ・6h ・24h 任意 データ分類 data:classification ・コンプライアンスとガバナンスのため にデータを分類 ・Public ・Private ・Confidential 必須
最⼩限のタグ付け戦略から始める ü 当⾯の優先事項から⼩さく始める ü すべての関係者が簡単に参照できる ü タグ付け戦略の更新を追跡できる 例)最⼩限のタグ付け戦略 • 単語はすべて⼩⽂字を使⽤
• 単語はハイフンで区切る • 機密情報や秘匿性の⾼い情報はタグに格納しない
まとめ ü 当⾯の優先事項から最⼩限のタグ付け戦略を構築する ü タグ付け戦略を構築・改善することで、最⼤限にタグを活⽤ ü TagEditorやConfig Ruleを活⽤して、タグ付けの実装と統制を ⾏うことも⼤事
参考⽂献 AWS リソースをタグ付けするためのベストプラクティス https://docs.aws.amazon.com/ja_jp/whitepapers/latest/taggin g-best-practices/tagging-best-practices.html AWS リソースのタグ管理 〜タグ付けと統制〜(前編) https://aws.amazon.com/jp/blogs/news/aws-tagging-and- governance-part1/
ご清聴いただき誠にありがとうございました。