実務Tips
AWS CLI
Section titled “AWS CLI”# 組織作成aws organizations create-organization
# アカウント作成aws organizations create-account \ --email account@example.com \ --account-name "Production Account"
# OU作成aws organizations create-organizational-unit \ --parent-id r-xxxx \ --name "Production"
# SCP適用aws organizations attach-policy \ --policy-id p-xxxx \ --target-id ou-xxxxベストプラクティス
Section titled “ベストプラクティス”設計: - OU階層は浅く - アカウント分離明確 - SCP段階適用
運用: - アカウント命名規則 - タグ戦略 - コスト配分重要ポイント:
- SCP で統制
- OU で階層管理
- 一括請求でコスト削減