Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Account Factory for Terraform (AFT) 入門
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
chadain
July 25, 2022
Technology
2.7k
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Account Factory for Terraform (AFT) 入門
Introduction about Account Factory for Terraform (AFT)
chadain
July 25, 2022
More Decks by chadain
See All by chadain
AWS Control Towerと HashiCorp Terraformでいい感じにマルチアカウント管理をしよう
chazuke4649
1
4.8k
minimum-guardrails-by-aws-iam
chazuke4649
1
2.5k
"Are you Well-Architected?" Introducing about Cloud Optimization Aseesment
chazuke4649
0
1.1k
re:GrowthOSAKA2019-CoreServicesUpdate(IAM.S3.EC2)
chazuke4649
0
1.8k
How to think about Acsess controll of Amazon S3 simply
chazuke4649
1
2.2k
Other Decks in Technology
See All in Technology
[General] 개발자로 해외 기업에서 일하기
skydoves
1
300
eBPF 簡介 2026 版
shunghsiyu
0
190
視野はAIに、視座は人に / ai-for-breadth-humans-for-perspective
nkzn
6
3.1k
渡米前の準備を制す!re:Invent 2026徹底準備術 / The Ultimate Preparation Guide for re:Invent 2026
yuj1osm
1
550
Strands Decider 2BでAWSアップデートの目利きをしてみた
sato4mi
1
120
今から始めるAWS環境の暗号移行 - ポスト量子時代に備える
sato4mi
0
150
Active Directory と Entra ID のむむむな関係
murachiakira
PRO
3
1.6k
攻撃 3 時間 vs 復旧 10 時間。アクセスキー流出の非対称性を体感するために CTF を作った話
kazzpapa3
1
150
バックオフィスに染み出すTypeScript ── clasp で安全に仕組みを作る
nealle
1
180
AI時代に求められる優秀なTechLeadの振る舞い
pospome
10
14k
DBTS2026 盛り上がってますか!?Databricksが実現するAI時代のデータ基盤
akuwano
1
170
kintoneで在庫管理システムを作るときの要件定義・設計ポイント
kai0707
0
230
Featured
See All Featured
Statistics for Hackers
jakevdp
799
230k
Facilitating Awesome Meetings
lara
57
7.2k
How to Think Like a Performance Engineer
csswizardry
28
2.9k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
2
390
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
440
Fantastic passwords and where to find them - at NoRuKo
philnash
53
4k
Producing Creativity
orderedlist
PRO
348
41k
How GitHub (no longer) Works
holman
316
150k
Testing 201, or: Great Expectations
jmmastey
46
8.4k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.2k
Skip the Path - Find Your Career Trail
mkilby
1
280
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.6k
Transcript
Account Factory for Terraform (AFT) 入門 2022/7 AWS事業本部コンサルティング部 ちゃだいん
ちゃだいん • 所属: AWS事業本部コンサルティング部 • 役割: AWSソリューションアーキテクト • ジョイン: 2019.1~
• 好き: AWS IAM, Control Tower, Terraform • 趣味: クラフトビール, 音楽フェス • Twitter: @chazuke4649 2 自己紹介
3 アジェンダ • Account Factory for Terraform (AFT) とは? •
AFT をオススメする理由 • AFT のはじめ方 • AFT の機能説明 ◦ 1. AWSアカウントの発行方法 ◦ 2. AWSアカウントのカスタマイズ方法 • まとめ
4 話さないこと • そもそも AWSマルチアカウント戦略とは • そもそも AWS Control Towerとは
• そもそも Terraformとは https://dev.classmethod.jp/articles/ why-aws-multi-accounts/ https://dev.classmethod.jp/articles/a ws-control-tower-allin-2021/ https://dev.classmethod.jp/tags/terraform/
5 Account Factory for Terraform (AFT) とは?
6 Account Factory for Terraform (AFT) とは? • Control TowerをTerraformでより便利にする仕組み
• re:Invent 2021にて登場 • 主にアカウント発行・環境初期設定まわりを補完 • 実体はAWSサービスの集合体(≒AWSソリューション) ✖
7 公式ドキュメントの構成図
8 もう少し具体的に図解してみた
9 AFT をオススメする理由
10 AFT をオススメする理由(1) Control Towerによるアカウント発行を Terraformコードで実行できる(GitOps)
11 AFT をオススメする理由(2) AWSアカウントのベースライン・初期設定を自動化する仕組 みを一撃で作れる(自前実装は大変...)
12 AFT をオススメする理由(3) AWS本国チーム謹製の信頼感 アップデートの頻度も早い
13 こんな人にオススメ • マルチアカウントでやりたい/改善したい • Control Towerの惜しいところを補完したい • 効率的にガバナンスを効かせたい •
Terraformでマルチアカウントやりたい etc
14 AFT のはじめ方
15 • Control Tower有効化のマルチアカウント環境 • 未使用のAWSアカウント x 1 (AFT管理用として使用) •
GitHubリポジトリ x 5 ◦ ※AWS CodeCommit, BitbucketでもOK 必要なもの
16 AFTのはじめ方 AFTモジュールをデプロイするだけ https://dev.classmethod.jp/articles/ct-account-factory-for-terraform/
17
18 aft.tf
19 1. AWSアカウントの発行方法
20
21 account_request.tf
22 2. アカウントのカスタマイズ方法
23
24 アカウント個別のカスタマイズ
25 account_request.tf
26 カスタマイズ 詳細はブログをどうぞ https://dev.classmethod.jp/articles/ct-account-factory-for-terraform-2/
27 その他AFTに関して DevelopersIOのタグAFTからどうぞ https://dev.classmethod.jp/tags/account-factory-for-terraform-aft/
28 まとめ • AFT はマルチアカウント戦略の超強力な味方 • アカウント管理まわりに課題がある人必見 • 興味ある方、まずは触ってみて
None