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
Taiga
December 12, 2023
Technology
1
740
AWS リソースのタグ付け戦略
最大限にタグを活用できるようにタグ付け戦略を構築する
Taiga
December 12, 2023
Tweet
Share
More Decks by Taiga
See All by Taiga
ECSタスクがすぐに落ちる、、
taigaogura
0
54
Other Decks in Technology
See All in Technology
生成AIを活用した音声文字起こしシステムの2つの構築パターンについて
miu_crescent
PRO
3
220
プロポーザルに込める段取り八分
shoheimitani
1
620
15 years with Rails and DDD (AI Edition)
andrzejkrzywda
0
200
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
15
93k
CDK対応したAWS DevOps Agentを試そう_20260201
masakiokuda
1
390
ECS障害を例に学ぶ、インシデント対応に備えたAIエージェントの育て方 / How to develop AI agents for incident response with ECS outage
iselegant
2
190
モダンUIでフルサーバーレスなAIエージェントをAmplifyとCDKでサクッとデプロイしよう
minorun365
4
220
Kiro IDEのドキュメントを全部読んだので地味だけどちょっと嬉しい機能を紹介する
khmoryz
0
210
Frontier Agents (Kiro autonomous agent / AWS Security Agent / AWS DevOps Agent) の紹介
msysh
3
180
データの整合性を保ちたいだけなんだ
shoheimitani
8
3.2k
Tebiki Engineering Team Deck
tebiki
0
24k
AzureでのIaC - Bicep? Terraform? それ早く言ってよ会議
torumakabe
1
600
Featured
See All Featured
How to make the Groovebox
asonas
2
1.9k
A designer walks into a library…
pauljervisheath
210
24k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.3k
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
71
How to build a perfect <img>
jonoalderson
1
4.9k
How STYLIGHT went responsive
nonsquared
100
6k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
200
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
380
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2k
Why Our Code Smells
bkeepers
PRO
340
58k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
61
52k
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/
ご清聴いただき誠にありがとうございました。