Cert Notes/ Commute Study Notes
Roadmap
KOEN
CLF-C02 · FoundationalCloud Practitioner - Foundational
DVA-C02 · AssociateDeveloper - Associate
SAA-C03 · AssociateSolutions Architect - Associate
SOA-C02 · AssociateCloudOps Engineer - Associate
  • Week 1
    • 1.Query Health API for ongoing events
    • 2.GitHub Actions OIDC example
    • 3.Day 3
    • 4.AWS Organizations: How One Person Operates 100 Accounts
    • 5.Week 1 Consolidated Review: Revisiting the First Week Through Operator Scenarios
  • Week 2
    • 1.CloudWatch Metrics Internal Structure: Namespace, Dimension, Resolution, Cardinality
    • 2.CloudWatch Logs: Internal Structure of Log Groups and Subscription Patterns
    • 3.Logs Insights Query Language: Operator's Debugging SQL
    • 4.Metric Filter, EMF Deep-Dive, Anomaly Detection: Three Bridges Between Metrics and Logs
    • 5.Week 2 Integrated Review: CloudWatch 12 Scenario Problems
  • Week 3
    • 1.CloudWatch Alarms: M of N Evaluation Model and Composite Alarm Design Philosophy
    • 2.CloudWatch Dashboards: Cross-Account Aggregation, Variables, Observability Design
    • 3.CloudWatch Agent: Internal Operations, StatsD/collectd Integration, procstat Plugin
    • 4.Synthetics Canary, X-Ray Sampling, ServiceLens: User-Centric Monitoring Design
    • 5.Week 3 Review: CloudWatch Observability Stack Synthesis
  • Week 4
    • 1.CloudTrail: API Audit Logging Design Principles and Organization Trail
    • 2.CloudTrail Lake Advanced: SQL Audit Analysis, Insights Anomaly Detection, Cross-Account Queries
    • 3.AWS Config Advanced: Rule Evaluation Triggers, Custom Rule Lambda, Conformance Pack, Auto Remediation
    • 4.Audit Manager, License Manager, Resource Explorer: Audit Automation and Operational Visibility Design
    • 5.Week 4 Comprehensive Review: CloudTrail, Config, Audit Stack Integration
  • Week 5
    • 1.AWS Systems Manager: The Operator's Central Control Tower
    • 2.Run Command, State Manager, Maintenance Window: The SSM Automation Trio
    • 3.Patch Manager: Secure and Compliant Patching
    • 4.Parameter Store, Session Manager, Automation Runbook: SSM Advanced Automation
    • 5.Week 5 Review: Systems Manager Comprehensive Scenario
  • Week 6
    • 1.CloudFormation: Infrastructure as Code from the Operator's Perspective
    • 2.Change Set, Drift Detection, Rollback Trigger: Three Pillars of Safe CFn Operations
    • 3.Nested Stack, Cross-Stack Reference, StackSets: Large-Scale IaC Operations
    • 4.Service Catalog, AppConfig, AppRegistry: The Science of Governance and Dynamic Configuration
    • 5.Week 6 Comprehensive Review: Complete CloudFormation Operations Mastery
  • Week 7
    • 1.Elastic Beanstalk and Five Deployment Policies: The True Cost of Zero Downtime
    • 2.CodeDeploy: The Decision to Deploy Code Only and AppSpec's 13-Stage Lifecycle
    • 3.EC2 Image Builder: The Operational Virtue of Golden AMI
    • 4.OpsWorks EOL and Launch Template: Mixed Instances Policy's True Value
    • 5.Week 7 Comprehensive Review: Scenario-Based Deployment and Provisioning Decision-Making
  • Week 8
    • 1.VPC as a Virtual Data Center, and Five Common Operator Confusions
    • 2.Three Tools for Observing VPC Traffic, and the Limits of Metadata
    • 3.NAT Gateway, VPC Endpoint, PrivateLink — Three Ways VPC Meets the Outside
    • 4.Transit Gateway, VPN, Direct Connect, Route 53 — The Big Picture of Multi-VPC and Hybrid
    • 5.Week 8 Comprehensive Review and 12 Scenario Problems
  • Week 9
    • 1.KMS, Managing Keys Without Ever Seeing Them
    • 2.Secrets Manager, Rotating Live System Secrets Without Downtime
    • 3.IAM Access Analyzer and Trusted Advisor, Proving Permissions with Code
    • 4.Day 4
    • 5.Day 5
  • Week 10
    • 1.EBS Snapshot: How Incremental Backup Remembers Only Changed Blocks
    • 2.AWS Backup: Making Backups Undeletable Even by Administrators
    • 3.RDS Multi-AZ vs Read Replica: Choosing Between Synchronous and Asynchronous
    • 4.S3 Replication, Storage Gateway, Elastic Disaster Recovery: How to Move Files and Workloads
    • 5.Week 10 Comprehensive Review: Backup, DR, HA as One Picture
  • Week 11
    • 1.Compute Optimizer: How 14 Days of Metrics Resize Instances
    • 2.Database Failover, Performance and Scaling
    • 3.Data Migration, Replication, Cross-Region Backup
    • 4.Patching, Maintenance Windows, Availability
    • 5.Week 11 Database Operations Summary
  • Week 12
    • 1.AWS Organizations, Multi-Account Strategy
    • 2.Control Tower, Compliance as Code, Governance
    • 3.Tagging Strategy, Resource Organization
    • 4.Disaster Recovery Architecture, RTO/RPO
    • 5.Week 12 Enterprise Operations and SOA Exam Synthesis
SAP-C02 · ProfessionalSolutions Architect - Professional
DOP-C02 · ProfessionalDevOps Engineer - Professional
SCS-C03 · SpecialtySecurity - Specialty
MLA-C01 · AssociateMachine Learning Engineer - Associate
AIF-C01 · FoundationalAI Practitioner - Foundational
DEA-C01 · AssociateData Engineer - Associate
MLS-C01 · SpecialtyMachine Learning - Specialty
← SOA-C02/Week 1/Day 4
SOA-C02· AssociateWeek 1 · Day 4~30 min read

Day 4 - AWS Organizations: How One Person Operates 100 Accounts

When a startup has 5 people, one AWS account is enough. At 50 employees, the need for environment separation (prod/dev/staging) plus cost separation plus permission separation typically brings you to 5-10 accounts. At 200 employees, adding per-team sandboxes, you start exceeding 50. At 1,000 employees, you easily pass 100. Amazon itself has internal teams holding tens of thousands of accounts ("every two-pizza team gets its own account" is an internal Amazon principle). At this point, the thing that collapses if the operator isn't watching is governance. Who can use which permissions, in which account, up to how much cost?

AWS Organizations is the nervous system of this multi-account operation. SCPs, consolidated billing, automated account creation, centralized logging, bulk policy application, central GuardDuty, central Config — it handles in one shot what an operator would otherwise do by hand a hundred times.

The Structure of Organizations: Four Units

[Organization]                           ← the whole company (1 management account)
   │
   ├─ Root                               ← top-level container
   │   │
   │   ├─ OU: Security                   ← department/environment-level group
   │   │   ├─ Log Archive Account        ← individual account
   │   │   └─ Audit Account
   │   │
   │   ├─ OU: Production
   │   │   ├─ Prod-Web Account
   │   │   ├─ Prod-API Account
   │   │   └─ Prod-Data Account
   │   │
   │   ├─ OU: Development
   │   │   ├─ Dev Account
   │   │   └─ Staging Account
   │   │
   │   └─ OU: Sandbox
   │       ├─ Developer1 Account
   │       └─ Developer2 Account
UnitMeaning
OrganizationThe whole company. One management account is the root
RootThe Organization's top-level container. Parent of all OUs
OU (Organizational Unit)A grouping of accounts. Can be nested up to 5 levels
AccountAn actual AWS account. Identified by a 12-digit ID

What operators confuse most often is Management Account vs Member Account. The management account is the account that created the organization, and it is not subject to SCPs (it can't restrict itself). That's why the canonical rule is to never put workloads in the management account. Only organization management, billing, and Identity Center.

📚 Case study: A Korean SaaS company ran prod EC2 and RDS in its management account. One day an IAM user access key leaked to GitHub, and an attacker compromised that account. Unlike the other accounts protected by SCPs, the management account was defenseless because SCPs don't apply to it. The result: thousands of dollars of Bitcoin mining plus a database leak. After the incident, the management account was rebuilt with zero workloads. This is the background for why, starting in 2024, AWS began showing a yellow console banner warning when you run workloads in the management account.

⚠️ Pitfall: On the exam, options like "apply an SCP to the management account to strengthen security" are traps. SCPs don't work on the management account. Another trap: the management account's root user has all permissions and can create access keys without MFA. This is the biggest single point of failure.

Consolidated Billing: The Operator's First Cost-Control Tool

The most immediate value of Organizations is consolidated billing. All member accounts' charges roll up to the management account, and payment happens once. What matters more to operators are these four things:

  1. Combined volume discounts: For services with usage-based tiered discounts like S3 and Data Transfer, usage across all accounts is aggregated for the discount. When scattered accounts combine, you enter larger discount tiers.
  2. Reserved Instance/Savings Plan sharing: RIs/SPs bought in one account can be used by the whole organization (depending on settings). Operators can plan RI purchases based on total usage, not per-account usage.
  3. Organization-wide cost allocation tags: Automate cost analysis with department/project-level tags.
  4. Centralized Cost Anomaly Detection: Monitor cost anomalies across 100 accounts in one place.

🔍 Going deeper: RI/SP sharing is toggled in Sharing Settings. Matching happens only between OUs/accounts where it's enabled. The operator pattern is "concentrate RI purchases in the management account or one dedicated billing account, and share usage across all OUs." That way, matching EC2 in any account gets the RI discount. Conversely, to make a specific team use only its own RIs, turn off sharing and share only within that OU. Savings Plans are more flexible than RIs (independent of instance type, OS, and tenancy) but use the same sharing mechanism.

📚 Case study: A media company was buying EC2 RIs separately in 30 accounts and wasting $50K per month (underutilization). Switching to the Organizations + RI sharing pattern of buy-in-one-place, use-everywhere raised the match rate from 85% → 99%, saving $1M annually. This is the real value of consolidated billing.

CloudTrail Organization Trail: All Accounts' Audit Logs at Once

If an operator enables CloudTrail one by one across 100 accounts, the odds of missing one are high. Create an Organization Trail once, and CloudTrail is automatically enabled in every member account plus consolidated into the designated S3 bucket.

[Management account]
   │
   ├─ Create Organization Trail
   │   - Scope: all OUs
   │   - Storage: S3 bucket in the Log Archive Account
   │   - Options: Management Events + Data Events + Insight Events
   │
   ▼
[All member accounts]
   - CloudTrail automatically enabled
   - Attempts to disable/delete can be blocked by SCP
   - Member account operators can only view the trail, not modify it

This pattern plus a separate Log Archive Account is the core of the AWS-recommended multi-account pattern (Landing Zone).

💡 Related theory: The principle of log centralization is "tamper-proofing + retention + ease of analysis." The Log Archive Account pattern is the cloud implementation of the five principles specified in NIST SP 800-92 (the log management guide): completeness, integrity, confidentiality, availability, and traceability. So that the operator of a compromised account can't erase their own tracks, logs are stored in an S3 bucket in a separate account, and that bucket is protected with S3 Object Lock (WORM). It's also the standard implementation of PCI-DSS requirement 10.5.5 ("ensure log integrity").

⚠️ Pitfall: An Organization Trail "adds to" a member account's CloudTrail. A member account can still create its own separate trail (double cost). Operators either block member accounts' cloudtrail:CreateTrail via SCP or apply a policy allowing only the Organization Trail. Another pitfall: the Organization Trail's S3 bucket policy must grant PutObject to the service principal cloudtrail.amazonaws.com (it's auto-generated but can break if modified).

AWS Control Tower: Automating the Landing Zone

Control Tower is what installs Organizations + SCPs + Trail + Identity Center + Account Factory all at once. When the operator clicks "start multi-account," the following happens automatically:

  1. Log Archive Account auto-created + all CloudTrail/Config logs stored centrally
  2. Audit Account auto-created + cross-account audit permissions granted
  3. ~20 default SCP guardrails auto-applied (classified as mandatory, strongly recommended, strongly recommended disabled, etc.)
  4. Account Factory: creates new accounts in under 5 minutes with standard OU placement + default policies auto-applied
  5. AFT (Account Factory for Terraform): automates account creation and configuration GitOps-style

🔍 Going deeper: Control Tower guardrails come in two kinds. Preventive guardrails block actions via SCPs (e.g., "no disabling CloudTrail"). Detective guardrails detect non-compliance via Config Rules (e.g., "alert if an S3 bucket is public"). Some are both — within the Strongly Recommended category, some guard on both the SCP and Config sides. Since 2023, Proactive controls have also been added: hook-based guards that block at CloudFormation deployment time (CFN Guard).

RAM (Resource Access Manager): Resource Sharing

Once you split accounts, resources like VPCs, Transit Gateways, licenses, and Route 53 Resolver Rules would also have to be created separately per account. Cost and management burden explode. AWS RAM shares these resources with other accounts.

Representative scenarios:

  • VPC subnet sharing: One network account creates the VPC, and other workload accounts launch EC2/RDS in that VPC's subnets. The VPC lives in one place, costs are borne by each account.
  • Transit Gateway sharing: One central TGW connects all accounts' VPCs hub-and-spoke.
  • License Manager sharing: BYOL licenses shared across the whole organization.
  • Route 53 Resolver Rule sharing: On-premises DNS forwarding rules used by all accounts.
# Share VPC subnets with RAM
aws ram create-resource-share \
  --name SharedSubnets \
  --resource-arns arn:aws:ec2:ap-northeast-2:111111111111:subnet/subnet-abc \
  --principals 222222222222 333333333333

📚 Case study: A game company was running a VPC + NAT GW in each of 50 accounts, with NAT GW costs alone exceeding $3,000/month. Switching to the VPC sharing pattern and consolidating into 1 central VPC + 2 NAT GWs cut NAT costs by 90%. Operational burden dropped along with it. The trade-off: if the network account fails, every account is affected (blast radius). That's why teams usually run 2 network accounts active-active.

Service Quotas and Usage Monitoring

An operational incident that frequently happens at the Organization level is hitting service quotas. EC2 vCPU limits, Lambda concurrent execution limits, S3 bucket count limits — invisible in normal times, then suddenly a wall during a traffic spike or new launch.

The operator pattern:

  1. Monitor utilization in the Service Quotas console: current usage / quota ratio
  2. Set CloudWatch Alarms: automatic alerts at 80% utilization (AWS/Usage namespace)
  3. Preemptive quota increase requests: file 1-2 weeks before a traffic campaign
  4. Quota Templates: automatically apply standard quotas when creating new accounts

🔍 Going deeper: Some quotas are soft limits (increased on request), but some are hard limits (no increase possible). EC2 vCPU is soft (typically 1,000 vCPUs, with increases requestable up to 100,000). The 200-subnets-per-VPC limit is usually hard (you must solve it with architecture). On the exam, the "vCPU limit reached" scenario is almost always a Service Quotas request. Quotas can be tracked with the CloudWatch metric ResourceCount (namespace AWS/Usage).

The Standard Pattern for Multi-Account Operations: AWS Landing Zone

The AWS-recommended account structure when operating 100 accounts:

Management Account     ← Organizations, IAM Identity Center, Billing only
   │
   ├─ Security OU
   │   ├─ Log Archive Account     ← all CloudTrail/Config/access logs
   │   └─ Audit Account            ← Security Hub, GuardDuty consolidation
   │
   ├─ Infrastructure OU
   │   ├─ Network Account          ← central VPC, TGW, Route 53 Resolver
   │   └─ Shared Services Account  ← DNS, AD, monitoring
   │
   ├─ Workloads OU
   │   ├─ Production OU
   │   │   ├─ Prod-App1, Prod-App2 ...
   │   └─ Non-Production OU
   │       ├─ Dev, Staging, QA
   │
   ├─ Sandbox OU                   ← developers' personal experiments
   │
   └─ Deprecated OU                ← quarantine for accounts being decommissioned

Each OU gets the SCPs appropriate to it; the Sandbox OU carries strong constraints like "terminate on exceeding $100/month." The Production OU gets region locks + change restrictions + mandatory backup policies. The Deprecated OU denies all write actions and triggers an automatic deletion workflow after 6 months.

💡 Related theory: This structure is the cloud implementation of Zero Trust Architecture (NIST SP 800-207). It extends "Never trust, always verify" to account boundaries — isolating so that a compromise of one account doesn't propagate to others. It's also the Defense in Depth principle — multi-layered defense with SCP + Config + GuardDuty + WAF + IAM and so on. It brings to the cloud the concept military security calls "concentric rings of defense" (US DoD CSEC, 2013).

Integrated Services Enabled by Organizations

More than 30 services integrate with Organizations. Frequently used ones:

ServiceIntegration effect
CloudTrailOrganization Trail covers all accounts at once
ConfigAggregator consolidates compliance across all accounts
GuardDutyConsolidate all accounts' findings via a Delegated Administrator
Security HubAggregate security scores and findings across all accounts
InspectorEC2/ECR vulnerability scanning across all accounts
MacieS3 PII detection across all accounts
Resource Access ManagerOrganization-level sharing without external invites
Service CatalogShare portfolios with OUs
Cost Anomaly DetectionCentral monitoring of cost anomalies
BackupOrganization-level backup policies
HealthUnified view of events across all accounts

🔍 Going deeper: The core of all these integrations is the Delegated Administrator pattern. Designate a security account (usually the Audit Account) as the delegated admin for GuardDuty/Security Hub, and that account manages findings for all member accounts. It offloads the management account while keeping centralization. On the exam, the answer to "how do you view GuardDuty findings from 100 accounts in one place?" is almost always "designate the Security Account as Delegated Administrator."

Wrapping Up

Today's key point: multi-account operation is the problem of keeping "security and cost consistent." SCPs are the security guardrail, consolidated billing is the cost guardrail, and the Organization Trail is the audit guardrail. Automate all of these with Control Tower, and standardize new accounts with Account Factory. Reduce cost and operational burden by sharing common resources with RAM, and centralize security service integration with Delegated Administrators.

Tomorrow we wrap up Week 1 with 10 scenario questions. A consolidated review of AWS infrastructure, IAM, and Organizations from the operator's perspective.

📝 Practice Questions

Click a choice to reveal the answer and explanation.

Question 1

Why shouldn't you put workloads in the Management Account?

Question 2

An operator wants to collect CloudTrail logs from 100 accounts into a single S3 bucket. The most efficient method is?

Question 3

A company runs a VPC and NAT Gateway in each of 50 accounts and costs have exploded. To reduce the operational burden?

Question 4

You create 5 new accounts every week and want standard SCPs, CloudTrail, and IAM roles applied automatically. What do you use?

Question 5

Select 2 answers

Which of the following are NOT subject to SCPs? (Choose 2)

Question 6

A security operator wants to view and manage GuardDuty findings from 100 accounts in one place. The standard pattern is?

PreviousDay 3Week 1 · Day 3Next Week 1 Consolidated Review: Revisiting the First Week Through Operator ScenariosWeek 1 · Day 5

On this page

  • The Structure of Organizations: Four Units
  • Consolidated Billing: The Operator's First Cost-Control Tool
  • CloudTrail Organization Trail: All Accounts' Audit Logs at Once
  • AWS Control Tower: Automating the Landing Zone
  • RAM (Resource Access Manager): Resource Sharing
  • Service Quotas and Usage Monitoring
  • The Standard Pattern for Multi-Account Operations: AWS Landing Zone
  • Integrated Services Enabled by Organizations
  • Wrapping Up
  • Practice Questions