Sub topic 3
Your Duties for Data Protection and Encryption
Assume you know EC2, S3, IAM, Regions, encryption, and least privilege. The shared responsibility model still makes you responsible for choosing protections and configuring them correctly.
Data protection and encryption
AWS protects its infrastructure. You must classify your data, control access, and select encryption settings. Decide whether data needs encryption at rest, in transit, or both. Manage keys and key policies when you use AWS Key Management Service (KMS).
For example, enable default EBS encryption in each required Region:
aws ec2 enable-ebs-encryption-by-default --region us-east-1
aws ec2 get-ebs-encryption-by-default --region us-east-1Encryption does not replace IAM controls. A user who can read a KMS key and an encrypted object may still access sensitive data.
Network and resource configuration
You configure security groups, network ACLs, route tables, public access, and resource policies. A secure AWS data center does not prevent you from exposing an S3 bucket or opening an EC2 port to the internet.
Control ownership
Controls can be:
- Inherited: AWS operates the underlying facilities and physical infrastructure.
- Shared: AWS supplies capabilities, while you configure and use them. Encryption and logging often fit here.
- Customer-specific: You define IAM permissions, security groups, bucket policies, and data retention.
Compliance evidence
AWS compliance programs provide evidence about AWS-managed controls. Use AWS Artifact to download agreements and audit reports relevant to your account or workload. These reports support your audit; they do not prove that your IAM, encryption, or network settings are compliant.
Verification
Use AWS Config to evaluate resource settings continuously or on a schedule. This command lists rules with non-compliant resources:
aws configservice describe-compliance-by-config-rule \
--compliance-types NON_COMPLIANTCombine Config with CloudTrail, Security Hub, and IAM Access Analyzer to investigate changes, findings, and unintended access.
Responsibility matrix
Create a matrix for each workload. Name the control, owner, evidence, and review frequency.
| Control | Owner | Evidence |
|---|---|---|
| EBS encryption enabled | Customer | EC2 account setting |
Exercise
An encrypted S3 object is publicly readable. Which responsibility failed?
Show answer
The customer failed to configure access controls, even though AWS provides the encryption and storage infrastructure.