Data classification, encryption, and AWS KMS

Using Data Stores in AWS

Dunieski Otano

AWS Solutions Architect

The data breach that could have been prevented

  • Healthcare company stores patient records in DynamoDB
  • No encryption enabled
  • Data breach exposes 2 million patient records
  • HIPAA violation: $50 million fine

encryption

Using Data Stores in AWS

Understanding data classification

  • Why classify data?
    • Apply appropriate security controls
    • Meet compliance requirements
  • Classification levels
    • Public, Internal, Confidential, Restricted
  • Impact of misclassification
    • Regulatory fines, data breaches

restricted

Using Data Stores in AWS

PII: Personally Identifiable Information

  • Direct identifiers
    • Name, national ID, email, phone, address
  • Indirect identifiers
    • Birth date, ZIP code, IP address
  • GDPR requirements
    • Consent, right to erasure, data minimization

pii

Using Data Stores in AWS

PHI: Protected Health Information

  • Medical information
    • Diagnoses, treatments, prescriptions, lab results
  • Health identifiers
    • Medical record numbers, insurance IDs
  • HIPAA requirements
    • Encryption, access controls, audit logs

patient

Using Data Stores in AWS

AWS Shared Responsibility Model

  • AWS secures the cloud
    • Physical security, hardware, network
  • You secure IN the cloud
    • Data encryption, IAM policies, application code
  • Shared controls
    • Patch management, configuration

shared

Using Data Stores in AWS

Encryption at rest with AWS KMS

  • What is encryption at rest?
    • Protects data stored on disk
  • AWS KMS
    • Centralized key management
    • Automatic key rotation
  • Enable in services
    • DynamoDB, S3, RDS, EBS

kms

Using Data Stores in AWS

Encryption in transit with TLS

  • What is encryption in transit?
    • Protects data moving over network
  • TLS/HTTPS
    • Industry standard protocol
    • Enabled by default in AWS
  • Certificate management
    • AWS Certificate Manager (ACM)

acm

Using Data Stores in AWS

Encrypting Lambda environment variables

  • Environment variables
    • Store configuration in Lambda
  • Encryption at rest
    • Select KMS key when creating function
  • Encryption helpers
    • Encrypt in transit from console to Lambda
  • Secrets Manager: AWS Security Best Practices

secrets

Using Data Stores in AWS

Let's practice!

Using Data Stores in AWS

Preparing Video For Download...