Securing Your AWS Account: Root User, Organizations, Encryption, KMS, Secrets Manager and Security Services Overview

AWS Technical Essentials 50 min min read Updated: Nov 17, 2026 Beginner
Securing Your AWS Account: Root User, Organizations, Encryption, KMS, Secrets Manager and Security Services Overview
Beginner Topic 2 of 3

Layers of Protection

Good security uses many layers. If one layer fails, another still protects you (defense in depth).

text Account level : root MFA, Organizations, SCP guardrails, CloudTrail logging Identity level : IAM least privilege, roles, MFA Network level : VPC, security groups, NACLs, WAF, Shield Data level : encryption (KMS), backups, S3 Block Public Access Detect & respond: GuardDuty, Inspector, Security Hub, alarms

AWS Organizations

  • AWS Organizations lets you manage many AWS accounts together
  • Accounts are grouped into Organizational Units (OUs) such as Prod, Dev, Security
  • Consolidated billing: one bill for all accounts and combined volume discounts
  • Service Control Policies (SCPs) set maximum permissions for accounts. Example: forbid using unapproved Regions or turning off CloudTrail
  • SCPs limit permissions, they do not grant them
  • AWS Control Tower sets up a well-organized multi-account environment (landing zone) with guardrails
Why separate accounts?Benefit
Dev, test, prod in different accountsMistakes in dev cannot touch prod
Separate security/log accountLogs cannot be deleted by workload owners
Account per team or projectClear cost and permission boundaries

Encryption Basics

TypeMeaningAWS example
Encryption at restData is scrambled while stored on diskS3 default encryption, encrypted EBS volumes, encrypted RDS
Encryption in transitData is scrambled while moving over a networkHTTPS/TLS, VPN
KeyThe secret used to lock and unlock dataA KMS key

AWS KMS (Key Management Service)

  • KMS creates and manages encryption keys and controls who can use them. Keys never leave KMS unencrypted
  • Key types: AWS owned keys (invisible, free), AWS managed keys (created by services, e.g. aws/s3), customer managed keys (you control policy and rotation)
  • Turn on automatic key rotation for customer managed keys
  • Almost every storage service integrates with KMS (S3, EBS, RDS, DynamoDB, Lambda environment variables)
  • Every key use is logged in CloudTrail
bash aws kms create-key --description "app data key" aws kms create-alias --alias-name alias/app-data --target-key-id <key-id> aws kms enable-key-rotation --key-id <key-id> aws s3api put-bucket-encryption --bucket my-bucket --server-side-encryption-configuration '{"Rules":[{"ApplyServerSideEncryptionByDefault":{"SSEAlgorithm":"aws:kms","KMSMasterKeyID":"alias/app-data"}}]}'

Secrets Manager, Parameter Store and ACM

ServiceUse
AWS Secrets ManagerStore database passwords and API keys. Can rotate them automatically
Systems Manager Parameter StoreStore configuration values and simple secrets (standard tier is free)
AWS Certificate Manager (ACM)Free public TLS/SSL certificates for load balancers, CloudFront and API Gateway, with automatic renewal
bash aws secretsmanager create-secret --name prod/app/db --secret-string '{"username":"app","password":"change-me"}' aws secretsmanager get-secret-value --secret-id prod/app/db --query SecretString --output text aws ssm put-parameter --name /prod/app/mode --value "production" --type String

Security Services Overview

ServiceOne-line purpose
AWS CloudTrailRecords who did what (API calls) in your account
Amazon GuardDutyDetects threats from logs, such as unusual logins or crypto mining
Amazon InspectorScans EC2, containers and Lambda for vulnerabilities
Amazon MacieFinds sensitive data (like personal information) in S3
AWS Security HubOne place to see security findings and compliance checks
AWS ConfigRecords configuration changes and checks rules
AWS WAFWeb application firewall that blocks bad web requests (SQL injection, bots, rate limits)
AWS ShieldDDoS protection (Standard is free for everyone, Advanced is paid)
AWS Firewall ManagerApply firewall rules across many accounts
Amazon DetectiveInvestigate the cause of security findings
AWS ArtifactDownload AWS compliance reports and agreements
IAM Access AnalyzerFinds resources shared outside your account

Compliance

  • AWS supports many standards such as SOC, ISO 27001, PCI DSS, HIPAA, GDPR programs
  • AWS Artifact gives you the audit reports. These prove AWS's controls. You must still configure your part correctly
  • Using AWS does not make you automatically compliant

Security Checklist for a New Account

  1. Root MFA on, no root keys
  2. Admin access through Identity Center with MFA
  3. CloudTrail enabled for all Regions
  4. S3 Block Public Access on (account level)
  5. Default EBS encryption on
  6. Budgets and billing alerts set
  7. GuardDuty enabled
  8. Use roles instead of keys

Practice

  1. Create a KMS key with rotation and encrypt an S3 bucket with it
  2. Store a database password in Secrets Manager and read it with the CLI
  3. Enable S3 Block Public Access for the account
  4. Turn on GuardDuty and review the sample findings
  5. Find AWS Artifact and open the list of reports

Conclusion

Layer your security: protect the root user, use Organizations and SCPs, encrypt data at rest and in transit with KMS and TLS, store secrets in Secrets Manager, and know the roles of CloudTrail, GuardDuty, Inspector, Macie, Security Hub, WAF, Shield and Artifact.

Quick Summary: layers; Organizations; encryption; KMS; secrets and ACM; services overview; compliance; checklist.

Get Newsletter

Subscibe to our newsletter and we will notify you about the newest updates on Edugators