Upgrade to Pro — share decks privately, control downloads, hide ads and more …

第86回 雲勉【オンライン:中級者向け】AWS Organizationsで始めるマルチアカウント管理

第86回 雲勉【オンライン:中級者向け】AWS Organizationsで始めるマルチアカウント管理

FUJIMA, Yurika

October 14, 2022
Tweet

More Decks by FUJIMA, Yurika

Other Decks in Technology

Transcript

  1. 0.講師⾃⼰紹介 2 n ⾼橋修⼀ • クラウドインテグレーション事業部 MSP開発セクション • 経歴 ・QAエンジニア

    1年 ・組み込み開発エンジニア 9年 ・アイレット開発エンジニア 6年 • 好きなAWSサービス ・Lambda、SQS、S3、Athena、DynamoDB shu85t shu85t shu85t shu85t
  2. アジェンダ 3 0. ⾃⼰紹介 1. マルチアカウントの利点と考慮点 2. AWS Organizationsとは︖ 3.

    活⽤事例 4. はじめようOrganizations︕ 5.質疑応答(19:50~20:00) AWS Organizations
  3. 2.AWS Organizationsとは︖ 12 n AWS Organizationsとは︖ 複数のAWSアカウントを組織(Organization)という単位でまとめ⼀元管理できるサービス 1つの「管理アカウント」の下に、複数の「メンバーアカウント」を紐づける。 主な機能 •

    アカウントの階層的なグループ化 = OU(Organization Unit) • 各アカウントがアクセスできるサービスと操作をコントロール = SCP(Service Control Policy) • すべてのメンバーアカウントの⼀括請求(今回は割愛) • 各種AWSサービスとOrganizationsの統合
  4. 2.AWS Organizationsとは︖ 13 n OU と SCP ・アカウントの階層的なグループ化 = OU

    ・各アカウントがアクセスできるサービスと操作をコントロール = SCP Root OU: Sandbox OU: Workloads OU: Prod OU: SDLC sandbox service-prd service-stg service-dev SCP: FullAWSAccess SCP: ProductionPolicy アタッチ アタッチ Tips: SCPは管理アカウントには適⽤されない
  5. 2.AWS Organizationsとは︖ 14 n OU と SCP サンプル︓「OU: Prod」に「SCP: ProductionPolicy」をアタッチ

    Root OU: Sandbox OU: Workloads OU: Prod OU: SDLC SCP: ProductionPolicy アタッチ
  6. 2.AWS Organizationsとは︖ 16 n 各種AWSサービスとOrganizationsの統合 Account Management Artifact Audit Manager

    Backup CloudFormation Stacksets CloudTrail CloudWatch Events Compute Optimizer Config Control Tower Detective DevOps Guru Directory Service Firewall Manager GuardDuty Health Identity and Access Management IAM Access Analyzer Inspector License Manager Macie Marketplace Resource Access Manager Security Hub S3 Storage Lens Service Catalog Service Quotas IAM Identity Center (SSO) Systems Manager タグポリシー Trusted Advisor VPC IP Address Manager (IPAM) 対応サービス⼀覧 ピンクのサービスは今⽇少し触れます
  7. 2.AWS Organizationsとは︖ 19 n IAM Identity Center ユーザーはIdentity Centerのポータルサイト経由でAWSアカウントにアクセス Tips:

    ポータルサイトのURLは指定のサブドメイン名に変更できるが、1度しか変更できない
  8. 某機械加⼯製品販売メーカー様での活⽤ 23 利⽤しているOrganizations統合サービス 今回は ★マークの実例を紹介します Amazon Detective Amazon GuardDuty Amazon

    VPC IP Address Manager AWS Backup AWS Health★ AWS Network Manager AWS Trusted Advisor CloudFormation StackSets★ CloudTrail Compute Optimizer Config Firewall Manager RAM Systems Manager★ Security Hub IAM Identity Center (SSO) S3 Storage Lens Tag policies
  9. 実⾏⽤ロール 某機械加⼯製品販売メーカー様での活⽤ 脆弱性確認エージェントの⼀括導⼊ CloudFormation StackSets + Organizations OU ①CloudFormation StackSetsを使って

    指定OU内の全てのアカウントに Automation実⾏⽤ロールを⼀括デプロイ Organizations統合することで Organizations内のアカウント に⼀度に展開できる 実⾏⽤ロール 実⾏⽤ロール 実⾏⽤ロール 実⾏⽤ロール 実⾏⽤ロール
  10. 某機械加⼯製品販売メーカー様での活⽤ 脆弱性確認エージェントの⼀括導⼊ Systems Manager Automation + Organizations OU ②Systems Manager

    + ①で作成したRoleを使って 指定OU内の全てのEC2に⼀括で エージェントインストールのAutomationを実⾏ 展開されたロールを使って OUを指定してAutomationを 実⾏できる
  11. 某機械加⼯製品販売メーカー様での活⽤ ヘルスイベントの表⽰・通知の⼀元化 組織内アカウント AWS Health + Organizations 組織内の状態 ・未解決の問題、最近の問題 ・スケジュールされた変更

    ・その他の通知 ・イベントログ 組織内のアカウントを対象 に、AWS Health イベントを 集計できる ①AWS Healthでヘルスイベントを ⼀元的に集計し表⽰ 33
  12. MSP開発セクションでの活⽤ 40 背景 AWSアカウント数は10数程度 ・社内サービス毎の「本番アカウント」「ステージングアカウント」「開発アカウント」 ・共通的な 「技術検証⽤アカウント」 ・「サービスを横断してデータを集約・分析しているアカウント」など 各サービスごとに担当者や担当グループが違う。 この規模でも各アカウントの統制や設定を個別に⾏うのはしんどい

    開発ガイドラインや個別の管理やレビュー、テンプレートだけで担保するのが 厳しい部分もある Organizationsを活⽤してマルチアカウント管理! (を最近始めました) セクション全体で9名 ・セクションリーダー:1名 ・グループリーダー :2名 ・メンバー:6名
  13. はじめよう!Organizations 各サービスの委任可否 Account Management Artifact Audit Manager Backup CloudFormation Stacksets

    CloudTrail CloudWatch Events Compute Optimizer Config Control Tower Detective DevOps Guru Directory Service Firewall Manager GuardDuty Health Identity and Access Management IAM Access Analyzer Inspector License Manager Macie Marketplace Resource Access Manager Security Hub S3 Storage Lens Service Catalog Service Quotas IAM Identity Center (SSO) Systems Manager タグポリシー Trusted Advisor VPC IP Address Manager (IPAM) ⽔⾊が委任可能サービス https://docs.aws.amazon.com/ja_jp/organizations/latest/userguide/orgs_integrate_services_list.html 47
  14. はじめよう!Organizations 53 請求代⾏+Organizations 請求代⾏ + Organizations (委任アカウント利⽤) 初期費⽤ 10万円 ⽉額⽤(固定)

    2万円 委任管理が可能なOrganizations連携サービスを利⽤可能※ ※⼀部を除く(AWS Account Management) 管理アカウントを直接利⽤いただける提供パターン も今後リリース予定(委任アカウント利⽤から移⾏可能)
  15. はじめよう!Organizations 請求代⾏+Organizationsで 統合して利⽤可能なサービス (2022/10/13時点) Account Management Artifact Audit Manager Backup

    CloudFormation Stacksets CloudTrail CloudWatch Events Compute Optimizer (利⽤可能にする予定) Config Control Tower Detective DevOps Guru Directory Service Firewall Manager GuardDuty Health Identity and Access Management IAM Access Analyzer Inspector License Manager Macie Marketplace Resource Access Manager Security Hub S3 Storage Lens Service Catalog Service Quotas IAM Identity Center (SSO) Systems Manager タグポリシー Trusted Advisor VPC IP Address Manager (IPAM) ⽔⾊が委任可能サービス ⾚⽂字が利⽤可能サービス https://cloudpack.jp/lp/aws-organizations/ 54
  16. はじめよう!Organizations 55 請求代⾏ 請求代⾏ + Organizations AWS利⽤料 3%割引 3%割引 権限

    Administrator権限をお渡し ⼀部制限事項あり (IAMユーザー) Administrator権限をお渡し ⼀部制限事項あり (Identity Center(SSO) マルチアカウントユーザー) リザーブドインス タンス 購⼊ ◯ ◯ Saving Plans購 ⼊ ◯ ◯ AWS Organizations 機能 × ◯ 初期費⽤ 0円 10万円 ⽉額⽤(固定) 0円 2万円 ・既に請求代⾏を利⽤いただいている客様 ・未だ請求代⾏を利⽤いただいていないお客様 どちらも請求代⾏+Organizationsを利⽤いただけます。 請求代⾏adv.からは直接移⾏できませんので、お問い合わせ・ご相談ください。