Amazon Macie
Cloud service · AWS · Updated

Amazon Macie

In short

Amazon Macie is a fully managed data security and data privacy service that uses machine learning and pattern matching to discover and protect sensitive data in AWS.

Cloud Services Hub →

7 key features of Amazon Macie

Amazon Macie is a data security service that leverages machine learning and pattern matching to discover sensitive data automatically, classify it accurately, and provide continuous monitoring and detailed reports for compliance and governance.

01
Automated Data Discovery

Amazon Macie automates the process of discovering sensitive data in Amazon S3, enabling you to understand where personal or sensitive information is stored.

02
Machine Learning-Based Analysis

Macie uses machine learning and pattern matching to discover sensitive data and provide visibility into data security risks.

03
Customizable Data Identification

You can define custom data identifiers to detect sensitive data specific to your organization’s needs, allowing for precision in governance and compliance management.

04
Detailed Alerts and Reporting

Amazon Macie provides detailed alerts and reports on data security and compliance risks, helping teams prioritize and remediate issues effectively.

05
Continuous Monitoring

Macie automatically evaluates and monitors S3 general purpose buckets for security and access control, generating findings about potential security or privacy issues.

06
Integration with AWS Management

Macie seamlessly integrates with AWS management and security services, such as AWS Identity and Access Management (IAM), AWS Key Management Service (KMS), and Amazon CloudWatch, facilitating a comprehensive approach to data security and compliance.

07
Centralized Multi-Account Management

AWS Organizations can be used to enable Macie for every account in an organization.

Where Amazon Macie is used

Amazon Macie is utilized for adhering to data security and privacy standards, detecting PII, automating data inventory and management, threat detection and remediation, and optimizing data storage costs.

  1. 01
    Data Security and Privacy Compliance

    Organizations can use Macie's sensitive-data discovery and findings about potential S3 security or privacy issues to support compliance efforts.

  2. 02
    Detection of Personally Identifiable Information (PII)

    Organizations use Macie to scan their AWS S3 buckets for Personally Identifiable Information (PII) to prevent unauthorized access or exposure. By identifying sensitive data such as names, addresses, and credit card numbers, Amazon Macie enables companies to apply protective measures like encryption or access restrictions.

  3. 03
    Automated Inventory and Data Management

    Amazon Macie provides an inventory of S3 general purpose buckets and automatically evaluates their security and access controls, helping organizations identify potential issues for review and remediation.

  4. 04
    Threat Detection and Remediation

    Macie generates findings about potential security or privacy issues in S3 general purpose buckets, such as a bucket becoming publicly accessible, so teams can review and remediate them.

How Amazon Macie is priced

Amazon Macie's pricing includes charges for data processing and storage, with a free tier available for new users.

AWS Usage

Amazon Macie charges based on the number of S3 buckets evaluated for bucket inventory and monitoring, the number of S3 objects monitored for automated data discovery, and the quantity of data inspected for automated and targeted sensitive data discovery.

Free Tier

Automated sensitive data discovery includes 1 GB of data inspection per month at no charge.

30-Day Free Trial

Each newly enabled account receives a 30-day trial covering bucket inventory and monitoring, automated discovery object monitoring, and up to 150 GB of automated sensitive data inspection; targeted sensitive data discovery jobs are excluded.

Services Amazon Macie works with

Amazon S3Amazon S3

Amazon Macie analyzes data stored in Amazon S3 buckets to detect sensitive data and provides detailed alerts and dashboards for security insights.

AWS CloudTrailAWS CloudTrail

Amazon Macie integrates with AWS CloudTrail to track and log API calls and user activities, enhancing security monitoring and compliance reporting.

AWS Security HubAWS Security Hub

Amazon Macie sends findings to AWS Security Hub, allowing for centralized security management and a comprehensive view of security across AWS accounts.

Amazon EventBridgeAmazon EventBridge

Amazon Macie uses Amazon EventBridge to automate responses to security findings by routing them to various AWS services for automated workflows and notifications.

Amazon AthenaAmazon Athena

Amazon Macie can store detailed sensitive data discovery results in Amazon S3 for analysis with Athena. You can query these results to investigate detected data types and analyze discovery outcomes across jobs and buckets.

Amazon CloudWatchAmazon CloudWatch

Amazon Macie publishes events for sensitive data discovery jobs to CloudWatch Logs. These logs help you monitor job progress and investigate problems such as permissions errors that prevent objects from being analyzed.

Amazon Simple Notification Service (Amazon SNS)Amazon Simple Notification Service (Amazon SNS)

Amazon Macie findings can be routed through Amazon EventBridge to an SNS topic. This lets you send notifications to subscribers when Macie detects sensitive data or an S3 bucket security issue.

AWS ChatbotAWS Chatbot

Amazon Macie finding notifications can be delivered to chat channels through AWS Chatbot, now Amazon Q Developer in chat applications. AWS User Notifications can route selected Macie finding events to these channels so security teams receive alerts where they collaborate.

AWS CloudFormationAWS CloudFormation

Amazon Macie supports CloudFormation resource types for configuring Macie sessions, custom data identifiers, allow lists, and findings filters. You can deploy these settings consistently through infrastructure templates.

AWS ConfigAWS Config

AWS Config managed rules can check whether Amazon Macie is enabled and whether automated sensitive data discovery is enabled. These checks help identify accounts and Regions that do not meet your data discovery requirements.

Alternatives to Amazon Macie in other clouds

Azure

Microsoft Purview

Amazon Macie and Microsoft Purview Data Map both scan for sensitive data and support custom detection rules. Macie samples Amazon S3 objects by default for new customers, while Data Map scans registered sources, including data lakes and databases, and stores the resulting metadata and classifications.

Compare fact by fact
Amazon MacieMicrosoft Purview
Scan sourcesAmazon S3 general purpose bucketsSupported data lakes and databases
Scan setupAutomatic sampling for new customersSource registration and scan setup
Discovery outputSensitive-data findingsCataloged metadata and classifications
Billing metersBuckets, objects, data inspectedCapacity, scans, processing, by setup

What is Amazon Macie

2 min read

Amazon Macie is a sophisticated, fully managed data security and data privacy service that uses machine learning and pattern matching to discover, monitor, and protect sensitive data in AWS. It is designed to aid businesses in safeguarding their critical information, catering especially to those operating under stringent compliance and data protection frameworks like the General Data Protection Regulation (GDPR) or the Health Insurance Portability and Accountability Act (HIPAA). 

Amazon Macie uses machine learning and pattern matching to discover sensitive data in Amazon S3. It can detect personally identifiable information (PII), such as names, addresses, and other identifiable attributes. 

Macie offers two discovery approaches. Automated sensitive data discovery evaluates the bucket inventory daily and samples representative S3 objects; it is enabled by default for new customers. Sensitive data discovery jobs provide deeper, targeted analysis, with control over the buckets, sampling depth, and criteria based on object properties.

To scan S3 objects encrypted with an AWS KMS key that you manage, the Macie service-linked role must be authorized as a key user.

Once Macie discovers sensitive data, it provides findings about that data, rather than tracking how it is accessed or moved throughout AWS. It delivers comprehensive dashboards, alerts, and reports that allow users to understand the data security posture of their organization more efficiently. These tools are particularly valuable for meeting compliance requirements and auditing purposes, offering insights into potential security risks. 

Bucket inventory is regional and covers only S3 general purpose buckets. Enable and use Macie separately in each Region where inventory is needed. Complete inventory and security monitoring are limited to 10,000 buckets per account; above that limit, Macie prioritizes the most recently created or changed buckets and provides only partial information for the others.

In an age where data breaches are both costly and damaging to a brand's reputation, Amazon Macie serves as a crucial layer of defense. Its proactive approach to identifying sensitive data gives businesses a powerful tool to maintain data privacy and security. By reducing the complexity associated with managing sensitive data, Amazon Macie enables organizations to focus more on their core operations, confident in the knowledge that their data is continuously monitored and protected.

Concepts related to Amazon Macie

Amazon Macie exam questions

Real practice exam questions on Amazon Macie, with the correct answer and its explanation. Answer them with every option in the exam simulator.

AIB-C01

An insurer’s internal AI assistant retrieves text documents from Amazon S3. Documents are added throughout the day, and some may contain bank account numbers that company policy prohibits the assistant from using. The governance team requires automated content inspection and, when prohibited data is detected, an automated restriction that prevents the assistant from retrieving the affected objects. Other documents must remain available. Which solution BEST meets these requirements?

Show answerCORRECT ANSWER

Configure Amazon Macie discovery jobs and an automated workflow that tags objects identified in prohibited-data findings. Apply an explicit deny to the assistant’s S3 read access for objects with that tag, and prevent the assistant from changing the tags.

Macie provides content-based sensitive-data discovery. The workflow translates relevant findings into object-level restrictions, and the explicit deny enforces those restrictions without blocking unaffected documents. Protecting the tags prevents the assistant from bypassing the control.

DVA-C03

A retailer discovers that an application might have included customer Social Security numbers in a CSV export. The application has since overwritten the export with a masked version in a versioned Amazon S3 general purpose bucket. The security team knows the version ID of the original export and must inspect that version for Social Security numbers without changing which version is current at the production key. An audit role can copy the original version to a restricted audit bucket that uses S3 Standard and a dedicated customer managed AWS KMS key. Which solution meets these requirements?

Show answerCORRECT ANSWER

Copy the original version to a new object key in the audit bucket using the audit KMS key. Authorize the Amazon Macie service-linked role to use that key to decrypt the copy, and run a sensitive data discovery job scoped to the copy.

The copy makes the original contents available as the current version at a separate key, leaving the production key unchanged. Macie inspects the latest version at the audit key and needs permission to use the audit KMS key to decrypt it.

AIP-C01

A healthcare company is building a retrieval-augmented generation application. Each night, it uploads an immutable batch of CSV documents to a restricted Amazon S3 staging bucket. Documents must pass privacy checks before they can be copied to the application's ingestion bucket. The checks must detect standard PII and internal patient identifiers that use a company-specific format and appear near the keyword "PatientRef". An auditor requires evidence that every object in a batch was successfully inspected using the configured detectors. Objects with sensitive-data matches or unsuccessful inspections must remain inaccessible to the ingestion workflow. Which solution best meets these requirements?

Show answerCORRECT ANSWER

Run an Amazon Macie sensitive data discovery job scoped to each immutable batch with 100% sampling. Select the required managed data identifiers and a custom data identifier for the patient-identifier pattern and keyword. After completion, reconcile detailed discovery results against the batch manifest and copy only successfully inspected objects with no matches. Keep all other objects restricted.

A scoped discovery job with 100% sampling requests analysis of all eligible objects in the batch. Managed identifiers detect standard sensitive data, while a custom identifier supports the company-specific pattern and contextual keyword. Reconciling detailed results with the manifest identifies skipped or unsuccessful inspections as well as matches. The separate copy workflow enforces the release decision because Macie discovers sensitive data but does not itself block ingestion.

Practice Amazon Macie in a full exam

Questions on Amazon Macie in each practice exam, with every answer option and an explanation for each:

Start a free practice exam

Learn Amazon Macie in lessons

16 short lessons on Amazon Macie in 11 certification courses.

and 10 more lessons

Open the lessons

AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.