Governance and Management Services

Config, Control Tower, Systems Manager, Service Catalog, License Manager, Compute Optimizer, Resource Groups, Launch Wizard, Health and Audit Manager.

What is it?

As accounts and resources multiply, you must keep them compliant, tidy and efficient. These services help you govern (set and check rules) and manage (operate and optimise) your environment. They complement CloudWatch, CloudTrail and Trusted Advisor from the monitoring lesson.

  • AWS Config: records resource configuration over time and checks it against rules (for example 'all S3 buckets must be encrypted').
  • AWS Control Tower: sets up and governs a secure multi-account environment (a landing zone) with controls (formerly guardrails) built on Organizations, SCPs and Config.
  • AWS Systems Manager: operations hub for fleets: Session Manager (shell without opening SSH), Patch Manager, Run Command, Parameter Store and Inventory.
  • AWS Service Catalog: a catalog of pre-approved products (CloudFormation templates) users can launch without broad permissions.
  • AWS License Manager: tracks software licenses and enforces usage limits across AWS and on-premises.
  • AWS Compute Optimizer: analyses utilisation and recommends right-sized EC2, EBS, Lambda and other resources.
  • AWS Resource Groups and Tag Editor: group resources by tags and bulk-edit tags across Regions.
  • AWS Launch Wizard: guided, best-practice deployment of enterprise workloads such as SQL Server or SAP on AWS.
  • AWS Health Dashboard: a personal view of events affecting your resources (plus the AWS Health API to integrate alerts) and a service-health view of AWS overall.
  • AWS Audit Manager: continuously collects evidence to help you prepare for audits against frameworks.
  • IAM access reports: last-accessed data and credential reports that show unused permissions.

Remember the split: CloudTrail = who did what. Config = what does it look like, and was it compliant. CloudWatch = how is it performing.

AWS Organizations and multi-account setups

  • Signing up creates an AWS account plus its root user. An account is a container for resources and billing, not a person.
  • AWS Organizations creates accounts and manages them centrally: consolidated billing, access control, compliance, security and resource sharing.
  • The management account (formerly 'master account') owns the organization. Don't confuse it with the root user (the all-powerful sign-in in every account) or the root of the organization tree (the top container).
  • Organizational units (OUs) group accounts and can be nested into a hierarchy, for example Security, Prod and Dev OUs.
  • Service control policies (SCPs) set the maximum permissions for accounts in the organization, an OU or selected accounts. They never grant permissions; IAM must still allow the action. SCPs are the tool for organisation-wide guardrails such as 'only these Regions may be used' for data residency. (Inside one account, an IAM policy with an explicit deny on other Regions does the same for its users and roles.)
  • Tag policies standardise tag keys and values across the organization.
  • Best practice for serious workloads: multiple accounts that isolate environments or teams.

AWS Control Tower (it replaced the retired AWS Landing Zone solution) gives you:

  • A landing zone: a well-architected baseline with sign-in through IAM Identity Center, centralised CloudTrail logs in a separate log archive account, and a security audit account.
  • Account Factory: automated, standard account creation with pre-approved network and Region settings, offered self-service through AWS Service Catalog.
  • Controls (formerly guardrails): pre-packaged preventive (SCP-based) and detective (Config-based) rules for the whole organization or chosen OUs.

AWS Config as compliance as code

Change management is a formal process to monitor, enforce and remediate changes; compliance as code automates it. Config records resource configurations and changes and checks them against Config rules. You get a resource inventory, a timeline of when each resource was or wasn't compliant, and help spotting security weaknesses. Key facts:

  • It is enabled per Region.
  • Rules are AWS managed rules or custom rules backed by your own Lambda function. They run on each configuration change or periodically (for example flagging resources created outside an approved Region).
  • Rules can trigger notifications or auto-remediation, such as a Systems Manager Automation runbook that puts a resource back into the desired state.
  • Conformance packs bundle rules and remediations (deployed as CloudFormation templates) for frameworks such as CIS or NIST. Config charges per rule evaluation, so remove packs you don't need.

Tags and Resource Groups: a tag is a key-value pair on a resource (an EC2 instance's display name is just its Name tag). Tags drive organisation, cost allocation and budgets, operations (for example marking mission-critical systems), security classification, compliance and automation. They can also appear in IAM policy conditions (attribute-based access control).

AWS Resource Groups collect resources that share tags or belong to the same CloudFormation stack, so you can view and act on them together, from the Resource Groups & Tag Editor console or Systems Manager.

More Systems Manager:

  • Session Manager (and EC2 Instance Connect) give a shell without managing SSH keys.
  • Automation runbooks can, for example, build a freshly patched custom AMI every night.
  • AppConfig safely deploys configuration changes and feature flags with validators, monitored rollouts and automatic rollback.

Explain like I'm 10

Running many AWS accounts is like managing an apartment building. Control Tower is the building code. Config is the inspector comparing each flat to it. Systems Manager is the maintenance crew with master keys. Service Catalog is the approved furniture list. Compute Optimizer points out flats too big for their tenants. Health Dashboard is the notice board of repairs affecting your floor.

Examples

A Config rule check from the CLI

# Which resources break the managed rule that requires S3 encryption?
aws configservice get-compliance-details-by-config-rule \
  --config-rule-name s3-bucket-server-side-encryption-enabled \
  --compliance-types NON_COMPLIANT

Config keeps a history, so you can see not only the current state but also when a resource drifted out of compliance.

Tag standard that Resource Groups can use

Key            Value
-------------  ------------------
Environment    prod | staging | dev
CostCenter     4213
Owner          payments-team
Application    checkout

Consistent tags let Resource Groups, Tag Editor and cost allocation reports slice resources the same way.

How it works

Config snapshots a resource whenever it changes, stores it as a configuration item, and runs managed or custom rules against it, optionally triggering remediation. Control Tower applies preventive controls (SCPs) and detective controls (Config rules) to accounts it provisions. Systems Manager uses an agent on instances (or managed nodes), so you can patch and run commands without inbound ports.

Compute Optimizer reads CloudWatch utilisation metrics and uses machine learning to suggest cheaper or better-fitting resource types. Health Dashboard pushes events (maintenance, outages) affecting your resources, and the Health API can feed them to chat or ticketing tools.

  Organizations ── Control Tower (landing zone + controls)
        |
   accounts ── Config (what changed / compliant?) ── Audit Manager (evidence)
        |
   fleets ──── Systems Manager (patch, run, session, parameters)
        |
   cost/size ─ Compute Optimizer, License Manager, tags + Resource Groups
   alerts ──── Health Dashboard / Health API

Why does it exist?

Manual checks don't scale across hundreds of resources and many accounts. These services automate compliance checks, standard setup, patching and optimisation, so governance is continuous instead of an annual scramble.

When to use it

  • Config: compliance rules and change history.
  • Control Tower: start a multi-account setup.
  • Systems Manager: patch and administer instances.
  • Service Catalog: offer approved stacks.
  • Compute Optimizer: rightsize.
  • License Manager: track licenses.
  • Health Dashboard: stay ahead of events affecting you.

When not to use it

Don't use Config as a performance monitor (use CloudWatch) or an API audit log (use CloudTrail). Don't use Control Tower for one small account where plain Organizations or IAM rules are enough.

Common mistakes

  • Confusing Config (resource configuration and compliance) with CloudTrail (API activity).

  • Opening SSH ports for administration when Systems Manager Session Manager avoids it.

  • Believing Compute Optimizer changes resources for you - it only recommends.

  • Not tagging resources, which makes Resource Groups and cost allocation weak.

  • Thinking an SCP grants permissions; it only sets the maximum, and IAM must still allow the action.

  • Calling the management account the 'root account' and confusing it with the root user.

  • Enabling Config in one Region and assuming every Region is covered.

  • Leaving unused conformance packs running and paying for every rule evaluation.

Practice exercises

  1. Easy:

    For each of the eleven services, write one sentence on its job.

  2. Medium:

    Explain how Config, CloudTrail and CloudWatch each help investigate an unexpectedly open S3 bucket.

  3. Medium:

    Define a tagging standard for a company and say which services benefit from it.

  4. Medium:

    Write the idea of an SCP that blocks all Regions except one for every account in a 'Prod' OU, and explain why users still need IAM permissions.

  5. Hard:

    Plan a landing zone for production, development and security accounts using Control Tower controls.

Interview questions

Exam-style: Which service evaluates resource configurations against desired rules and records changes over time?

AWS Config.

Exam-style: Which service sets up a governed multi-account environment with controls (formerly guardrails)?

AWS Control Tower.

Exam-style: Which service lets administrators patch and run commands on many instances without SSH?

AWS Systems Manager.

Exam-style: Which service provides recommendations to rightsize EC2 instances?

AWS Compute Optimizer.

Exam-style: Which service lets administrators offer approved, pre-configured products to users?

AWS Service Catalog.

Exam-style: Which service shows events that affect your specific AWS resources?

AWS Health Dashboard, account health view (formerly the Personal Health Dashboard).

Exam-style: Which service helps collect evidence for audits?

AWS Audit Manager.

Exam-style: Which service tracks software license usage?

AWS License Manager.

Exam-style: Which feature of AWS Organizations restricts the maximum permissions of member accounts, for example to approved Regions only?

Service control policies (SCPs).

Exam-style: Which AWS Organizations feature combines bills from many accounts into one payment?

Consolidated billing.

Exam-style: Which Control Tower feature automates provisioning of new standardised accounts?

Account Factory.

Exam-style: Which service lets you group resources that share tags and act on them together?

AWS Resource Groups (with Tag Editor).

Exam-style: How can a company apply a packaged set of Config rules for a framework like CIS?

Deploy an AWS Config conformance pack.

What is the difference between the management account and the root user?

The management account is the AWS account that owns an organization; the root user is the all-powerful sign-in identity that exists in every AWS account.