Welcome to Day 29 of the 30 Days AWS Security Challenge. Yesterday we covered what to do when something goes wrong. Today we look at the formal compliance programs many businesses need to satisfy, and how everything we've covered this month actually feeds into them.
Compliance Is Shared Too
Just like security itself, compliance on AWS follows a shared model. AWS undergoes independent audits and maintains certifications proving its own infrastructure meets specific standards, and makes those audit reports available to customers through AWS Artifact. But being compliant yourself means your own configuration and practices, everything on your side of the Shared Responsibility Model from Day 1, also need to meet the relevant requirements. AWS being certified does not automatically make your application certified.
SOC Reports: Proving Your Controls Work
SOC stands for System and Organization Controls, and SOC reports are widely used, especially by B2B companies who need to prove to their own customers that they handle data responsibly.
- SOC 1 focuses on controls relevant to financial reporting
- SOC 2 focuses on security, availability, processing integrity, confidentiality, and privacy, and is the one most commonly requested by customers evaluating a SaaS vendor
- SOC 3 is a public facing summary version of SOC 2, meant for general distribution rather than detailed technical review
If you're building a SaaS product, SOC 2 is often the first compliance milestone customers ask about, sometimes before they'll even sign a contract. Getting there means demonstrating consistent, evidenced controls over time, not just a good setup on the day of the audit, which is exactly why Config's historical tracking from Day 16 and CloudTrail's detailed logs from Day 14 matter so much, they're often the actual evidence auditors want to see.
HIPAA: Protecting Health Information
HIPAA, the Health Insurance Portability and Accountability Act, applies if you handle protected health information, commonly shortened to PHI, in the United States. This includes anything from patient names tied to medical records to appointment scheduling data.
AWS supports HIPAA eligible workloads across a defined set of services, and using them requires signing a Business Associate Addendum, or BAA, with AWS. Not every AWS service is HIPAA eligible, so if you're handling PHI, it's worth checking AWS's current list of HIPAA eligible services before building on top of something that isn't covered.
Beyond eligible services, HIPAA compliance depends heavily on things we've already covered: encryption at rest and in transit (Day 10), tightly scoped access through IAM (Days 2 through 4), and detailed audit logging through CloudTrail, since HIPAA specifically requires being able to show who accessed PHI and when.
PCI DSS: Protecting Payment Card Data
PCI DSS, the Payment Card Industry Data Security Standard, applies if you handle, process, or store credit card information. It's not an AWS specific standard, it's an industry standard maintained by the major card networks, but AWS provides infrastructure that's been validated against it, and Security Hub (from Day 17) includes a PCI DSS standard you can enable directly to check your account's configuration against relevant controls.
PCI DSS requirements map closely to practices from this challenge: strong access control (week one), encrypting cardholder data (Day 9 and 10), network segmentation (Day 12 and 13), and regular vulnerability scanning (Day 19). Many businesses reduce their PCI DSS scope significantly by using a payment processor that handles card data directly, so it never touches their own AWS environment at all, which is worth considering before building card handling into your own infrastructure.
A Practical Starting Point
If you're just beginning to think about a specific compliance program, a reasonable first step is enabling the relevant standard in Security Hub, which will show you exactly which controls you already satisfy and which ones need attention, based on real findings rather than a generic checklist. From there, AWS Artifact gives you access to AWS's own compliance reports, which you'll often need to provide to auditors or customers as part of demonstrating your own compliance posture.
A Practical Example
Say your company is pursuing SOC 2 for the first time. Much of the evidence an auditor asks for turns out to already exist if you've followed this challenge: CloudTrail logs demonstrating monitoring is in place, Config history showing consistent configuration over time, MFA enforcement across IAM users, and GuardDuty findings showing active threat monitoring. Compliance in this case isn't a separate project bolted on afterward, it's largely documentation and evidence of practices you've already built.
Key Takeaways
- AWS's own compliance certifications don't automatically make your application compliant, your configuration still matters
- SOC 2 is the most commonly requested compliance program for B2B SaaS companies
- HIPAA requires using HIPAA eligible services under a signed BAA, plus strong encryption and access logging
- PCI DSS applies to payment card data, and Security Hub includes a standard to check your account against it directly
- Much of the evidence needed for any of these programs comes directly from practices covered earlier in this challenge
Tomorrow, on the final day, we look at where to go next: certifications worth pursuing and how to keep building on everything covered this month.
Loading article