Interview Prep/DevSecOps/Cloud Security Posture

What does a secure managed database setup look like in production?

BeginnerProductionCloud Security Posture
Answer
  • Isolated subnets, no public accessibility, security group allowing only app security groups.
  • Encryption at rest with a CMK, TLS enforced (rds.force_ssl=1 for PostgreSQL).
  • IAM database authentication or credentials from Secrets Manager with managed rotation.
  • Separate roles for app (DML only), migrations (DDL) and read-only analytics.
  • Automated backups, snapshot copies to a separate account, deletion protection on.
  • Database audit logs (pgAudit, Database Activity Streams) for sensitive tables.
All DevSecOps questions Roadmap: Supply chain, secrets & identity

More on Cloud Security Posture