Governance and compliance: Organizations, CloudTrail, Config and Artifact

Space Llama explains how to govern many AWS accounts with AWS Organizations and AWS Control Tower, record activity with AWS CloudTrail, track configuration with AWS Config, and find compliance evidence in AWS Artifact and AWS Audit Manager.

GazeekAWS CLOUD PRACTITIONER·LESSON 12
LESSON 12

Governance and compliance: Organizations, CloudTrail, Config and Artifact

Space Llama explains how to govern many AWS accounts with AWS Organizations and AWS Control Tower, record activity with AWS CloudTrail, track configuration with AWS Config, and find compliance evidence in AWS Artifact and AWS Audit Manager.

0:00 / 4:54

Diagrams in this video · 1Free in archhy

Copy and edit in archhy: An organization with organizational units, service control policies, and an organization trail delivering logs to a log archive account. (new tab)

After this lesson you can

  • Describe the management account, organizational units and service control policies in AWS Organizations
  • Explain what AWS Control Tower sets up
  • Tell AWS CloudTrail and Amazon CloudWatch apart
  • Explain how AWS Config tracks and checks resource configuration
  • Find compliance reports in AWS Artifact and audit evidence in AWS Audit Manager
Transcript

Governance and compliance: Organizations, CloudTrail, Config and Artifact

This lesson is about governance. Keeping many accounts in line, and proving it to an auditor. We'll cover AWS Organizations and AWS Control Tower. Then AWS CloudTrail, Amazon CloudWatch and AWS Config. And finally AWS Artifact and AWS Audit Manager, for compliance.

AWS Organizations

AWS Organizations manages many AWS accounts as one organization. The management account creates the organization and runs it. The other accounts are member accounts. Organizational units, or OUs, group member accounts. For example, all your production accounts. Service control policies, or SCPs, set the maximum permissions for the accounts they're attached to. An SCP never grants permissions itself. It's a ceiling. IAM policies still have to allow the action. Organizations also gives you consolidated billing. One bill for every account. Usage is combined, so volume discounts are shared across the organization.

AWS Control Tower

Setting up Organizations well takes effort. AWS Control Tower does it for you. It sets up and governs a multi-account environment. That environment is called a landing zone, built with AWS best practices. It applies controls. Preventive controls stop things happening, and detective controls spot things that did. It can also set up dedicated accounts for log archive and for audit. AWS calls these shared accounts.

Diagram

Here's an organization in one picture. Start at the top. The management account sits above everything. Below it are three organizational units, Security, Production and Development. Each OU holds member accounts. Service control policies are attached to the OUs, so every account inside gets the same limits. Across the whole organization, there's one CloudTrail trail, called an organization trail. It delivers logs from every account to an S3 bucket in a log archive account. That account sits in the Security OU, away from the people being logged.

CloudTrail vs CloudWatch

These two get mixed up all the time. AWS CloudTrail records API calls and account activity. Every action in AWS is an API call. It tells you who did what, when, and from where. A trail delivers those logs to Amazon S3, for as long as you keep them. Amazon CloudWatch collects metrics, logs and alarms. It tells you how your resources and applications are performing. Its alarms can trigger actions, like notifying you or scaling out. Who deleted the database? CloudTrail. Why is the server slow? CloudWatch.

AWS Config

AWS Config records the configuration of your resources over time. It shows what changed, and when. Handy when something worked yesterday. Config rules check resources against the settings you want. For example, every volume must be encrypted. It flags noncompliant resources, and can fix some of them automatically.

Compliance reports and evidence

Finally, proving compliance. AWS Artifact gives you AWS compliance reports on demand. These are AWS's own audit reports, like SOC and ISO reports. It's also where you review and accept agreements with AWS. AWS Audit Manager helps with your own audits. It collects evidence from your AWS usage continuously. It maps that evidence to compliance frameworks, so audit time is less painful.

Recap

Let's recap. Organizations groups accounts into OUs, and SCPs set the limits. Control Tower builds a governed landing zone for you. CloudTrail records activity, and CloudWatch measures performance. Config tracks configuration and checks it against rules. Artifact has AWS's compliance reports, and Audit Manager gathers evidence for yours.

Practice and what's next

That's governance. Not glamorous, but auditors will love you. Practice Security and Compliance questions in Gazeek Flash to check the names stick. The AWS app is free on the web and on Android, at flash.gazeek.com. Next up, Detecting threats: GuardDuty, Inspector, Security Hub and Detective. See you there.

Gazeek Flash · free

Exam questions on your phone

Free questions on Security and Compliance: quick-fire batches and timed exams, on the web or Android.