大企業の人事部(管理アカウント)が、新年度に向けて複数の新入社員候補(既存のAWSアカウント)を同時に招待する状況です。 従来の方法では一人ずつ順番に招待していましたが、並列実行により効率的に処理できます。
# 複数アカウントへの並列招待
aws organizations invite-account-to-organization --target Id=123456789012 &
aws organizations invite-account-to-organization --target Id=123456789013 &
aws organizations invite-account-to-organization --target Id=123456789014 &
aws organizations invite-account-to-organization --target Id=123456789015 &
wait # すべての並列処理の完了を待機
招待を受けた新入社員(各アカウントの管理者)が、入社承諾書にサインする段階です。 これは各アカウントで個別に実行する必要があり、CLIを使用して行います。
aws organizations list-handshakes-for-account
aws organizations accept-handshake --handshake-id h-examplehandshakeid
aws organizations describe-handshake --handshake-id h-examplehandshakeid
新入社員が正式に会社に入社した後、人事システム(Control Tower)が自動的に適切な部署(OU)に配属します。 これにより、部署ごとの役割と責任が明確になります。
Root Organization
├── Security OU (セキュリティ管理)
├── Production OU (本番環境)
│ ├── Web Applications
│ └── Database Systems
├── Development OU (開発環境)
│ ├── Frontend Development
│ └── Backend Development
└── Testing OU (テスト環境)
├── Integration Testing
└── Performance Testing
新入社員が部署に配属されると、その部署特有の会社ルール(ガードレール)と出勤管理システム(集中ログ)が自動的に適用されます。 これにより、一貫したセキュリティとコンプライアンスが保たれます。
新入社員(AWSアカウント)は正式に会社組織(AWS Organizations)の一員となり、
適切な部署(OU)で会社のルール(ガードレール)と監視システム(集中ログ)の下で業務を開始!
Created by SSuzuki1063
AWS SAP Learning Resources