Identity, encryption, network security, and compliance for CLF-C02
| Service Type | Example | Customer Manages | AWS Manages |
|---|---|---|---|
| IaaS | EC2 | OS, apps, data, network config | Hardware, hypervisor |
| PaaS | Elastic Beanstalk | Apps, data | Runtime, OS, infrastructure |
| SaaS | AWS Trusted Advisor | Data access controls | Everything else |
| Serverless | Lambda | Code, data, IAM | Compute, network, runtime |
Individual identities representing people or services. Each has unique credentials (password, access keys).
Collections of users with shared permissions. Attach policies to groups, not individual users.
Temporary security credentials for trusted entities (EC2, Lambda, cross-account access). No long-term credentials.
JSON documents defining permissions. Can be AWS-managed, customer-managed, or inline.
Data encrypted when stored (S3, EBS, RDS). Uses AES-256. Managed by AWS or customer-managed keys (CMK).
Data encrypted while moving over network. TLS/SSL for HTTPS. VPN or Direct Connect for hybrid.
Data encrypted before sending to AWS. Customer manages encryption/decryption. Maximum control.
| Service | Encryption at Rest | Encryption in Transit |
|---|---|---|
| S3 | SSE-S3, SSE-KMS, SSE-C | HTTPS (enforced via bucket policy) |
| EBS | KMS encryption (one-click) | Encrypted between EC2 and EBS |
| RDS | KMS encryption at creation | SSL/TLS connections |
| DynamoDB | Enabled by default | HTTPS endpoints |
| Feature | Security Group | Network ACL |
|---|---|---|
| Level | Instance (ENI) | Subnet |
| State | Stateful | Stateless |
| Rules | Allow only | Allow and Deny |
| Evaluation | All rules evaluated | Rules evaluated in order |
| Default | Deny all inbound | Allow all (custom: deny all) |
Records API calls and events. Who did what, when, from where. Essential for auditing and forensics.
Threat detection using ML. Analyzes CloudTrail, VPC Flow Logs, DNS logs. Detects compromised instances, reconnaissance.
Centralized security dashboard. Aggregates findings from GuardDuty, Inspector, Macie. Automated compliance checks.
Automated vulnerability assessment. Scans EC2, ECR, Lambda for CVEs and network exposure.
Discovers and protects sensitive data in S3. Uses ML to identify PII, financial data, credentials.
AWS maintains compliance certifications for:
Guardrails for accounts in an Organization. Define maximum permissions. Applied at OU or account level.
Consider the following as you complete this lab: