AWS · Security, Identity, and Compliance
Amazon Macie
Discovers sensitive data such as personal and financial information in S3, and flags buckets that are public, unencrypted or shared.
On the SAA-C03 exam listThreat detectionAuditing and compliance
What it is and what problem it solves
Amazon Macie uses machine learning and pattern matching to find sensitive data in S3: names, addresses, credit card numbers, credentials and custom patterns you define. It also keeps an inventory of your buckets and flags ones that are public, unencrypted, or shared with other accounts.
Automated discovery samples data across your buckets continuously; targeted discovery jobs scan chosen buckets in full.
When to use it
- You must know where personal or regulated data lives in S3 (GDPR, HIPAA, PCI).
- You want alerts when a bucket becomes public or loses encryption.
- Data lakes receive data from many sources and need classification.
When to avoid it
- Data outside S3 (databases, file systems): Macie scans S3 only.
- General threat detection: that is GuardDuty.
Cost model
What you pay for
Billed per bucket evaluated, per object monitored for automated discovery, and per GB inspected by automated discovery and by targeted jobs. S3 request charges from scans are billed by S3. New accounts get a 30-day free trial.
Where it is cost-efficient
Automated discovery across many buckets, which samples rather than reading everything.
Where costs grow
Full targeted scans of very large buckets, repeated often.
Cost controls and common surprises
Rely on automated discovery and run targeted jobs on the buckets that matter, with object criteria to skip irrelevant data.
Prices differ by Region and change over time; see the pricing page linked under Sources.
Security
Controls the service provides
Managed data identifiers, custom identifiers, allow lists, and bucket-level security posture checks.
What you configure
Enable it across the organisation, act on public-bucket findings immediately, and protect where Macie stores sensitive data discovery results.
Logging and monitoring
Findings to EventBridge and Security Hub; discovery results to an S3 bucket you choose.
Related security services
S3, Security Hub, EventBridge, KMS.
Shared responsibility
AWS provides discovery. You classify, protect and clean up the data.
Common service combinations
Security Hub for aggregation, EventBridge to Lambda for automatic remediation (for example, blocking public access).
Business application examples
- A data lake team learns that a log bucket contains customer email addresses and adds masking.
- An alert when a bucket with financial data becomes publicly readable.
Exam cues and common confusions
- Find PII or sensitive data in S3: Macie.
- Public or unencrypted bucket alerts: Macie (and S3 Block Public Access to prevent it).
Related
Courses and lessons
- Threat detection: GuardDuty, Inspector, Macie, Detective and Security Hub · AWS Solutions Architect – Associate (SAA-C03) · Members
- S3 security, encryption, versioning, replication and Object Lock · AWS Solutions Architect – Associate (SAA-C03) · Members
Services, comparisons and patterns
- Amazon S3 · Service
- Amazon GuardDuty · Service
- AWS Security Hub · Service
Sources
Independent study material, not affiliated with or endorsed by Amazon Web Services. AWS and service names are trademarks of Amazon.com, Inc. or its affiliates.