MongoDB Atlas vs MySQL for SOC 2 and ISO 27001 audits

MongoDB Atlas fits a team that accepts a vendor-operated database scope and wants MongoDB's documented SOC 2 Type II and ISO/IEC 27001 framework adherence in its evidence. MySQL fits a team that runs the database in its own infrastructure and keeps full control of evidence, with the documented audit log requiring MySQL Enterprise Edition. This page covers only the compliance angle; the general comparison is on its own page.

On this page

MongoDB Atlas vs MySQL for SOC 2 and ISO 27001 audits: which fits?

Atlas suits a vendor-operated database scope backed by MongoDB's documented attestations, while MySQL suits a team that keeps the database in its own infrastructure and controls its own evidence. If your team must pass a SOC 2 or ISO 27001 audit and has both on its shortlist, that split decides most of the work. Assessors test controls, not products, so the choice determines which controls you inherit from a vendor report and which you must design, operate and evidence yourself. MongoDB documents Atlas adherence to ISO/IEC 27001, SOC 2 Type II and PCI DSS, with attestations available in its Trust Center. This section covers only the compliance angle. The general comparison sits on its own page.

Start with who operates the database. On Atlas, MongoDB runs the infrastructure under its own attested controls, but you still own identity, network access, data classification and the settings you choose. On self-hosted MySQL, host hardening, patching, backups and key management all sit in your system description unless a partner or hosting provider covers them. Next, check which tier provides audit logging. Atlas database auditing is not available on Free or Flex clusters, requires Project Owner or Organization Owner access, and logs authorization checks and failed authentication. MySQL's audit_log plugin ships only in MySQL Enterprise Edition, and its default log is unencrypted XML, so you must plan protection of the log file yourself.

Then settle log retention. The Atlas auditing documentation states no retention period, so ask MongoDB what applies to your tier and whether you can export logs through the Admin API into a store you control. With MySQL, retention is whatever you configure and fund. Licensing matters too: MongoDB's server and tools released after October 16, 2018 fall under the Server Side Public License v1.0, which is not OSI-approved, so legal must accept it before you self-host. MySQL Community Edition is GPL. Finally, map the vendor report to your own system description. A SOC 2 Type 1 report covers the system description and control design at a date, while a Type 2 report adds operating effectiveness over a period. Your assessor will ask which Atlas controls fall inside your scope and which stay with you, so build that mapping before the observation window starts.

What SOC 2 and ISO 27001 ask of the database behind your scope

SOC 2 and ISO/IEC 27001 both test the organization's control environment, and the database is one component inside it. Each framework has its own report or certificate and its own decision-maker, an independent CPA firm for SOC 2 and an accredited certification body for ISO/IEC 27001. Use these cards as a map of what to confirm with your auditor, because the criteria and controls your scope pulls in determine which database evidence matters.

SOC 2 Type 1 and Type 2

SOC 2 produces an attestation report issued by a CPA firm, and the report type sets how far the evidence reaches. A Type 1 report describes the system and whether controls are suitably designed as of one date. A Type 2 report adds an opinion on whether those controls operated effectively over a period. For the database, an assessor will ask how access, encryption and audit logging behaved across the whole window, and will expect records that show it. Confirm with your auditor which report type and observation period your customers and regulators expect.

AICPA SOC 2 overview

2017 Trust Services Criteria

The AICPA's 2017 Trust Services Criteria contain 61 criteria across five categories: security, availability, processing integrity, confidentiality and privacy. The common criteria CC1 to CC9 cover security and apply to every SOC 2 report. The other four categories add criteria only when your scope includes them. For a database, the logical access (CC6), system operations (CC7) and change management (CC8) criteria are where evidence usually lands, such as role reviews, monitoring records and approved schema changes. Ask your auditor which categories your system description brings in.

AICPA 2017 criteria

ISO/IEC 27001:2022 Annex A

Annex A of ISO/IEC 27001:2022 is normative and lists 93 controls in four themes: organizational (37), people (8), physical (14) and technological (34). Most database controls sit in the technological theme, for example privileged access rights (8.2), logging (8.15) and use of cryptography (8.24). The standard sets the requirements, and Annex A controls apply where your risk assessment and statement of applicability say they do. Confirm with your certification body which controls appear in your statement of applicability.

Three-year certification cycle

Under ISO/IEC 17021-1, an accredited certification body runs a three-year cycle for a management system and must complete at least one audit in every calendar year, either surveillance or recertification. The certification body decides the outcome. For a database, controls have to hold between audits, so keep records of version upgrades, role changes, backup restores and key rotations that a later auditor can sample. IAF MD 29:2024 required accredited bodies to apply ISO/IEC 27006-1:2024 to all clients by 31 March 2026, so confirm the edition your body uses.

How MongoDB Atlas and MySQL meet each audit requirement as documented

This table sets each audit requirement against what MongoDB Atlas and MySQL 8.4 document, so you can see where a managed platform carries evidence for you and where your own team must produce it. Read each row as the starting point for your assessor's questions, since documentation alone does not prove operating effectiveness. The main takeaway is that Atlas documents more of the vendor-side assurance, while MySQL's audit logging and WebAuthn factor depend on Enterprise Edition and your own configuration.

RequirementMongoDB Atlas, as documentedMySQL 8.4, as documented
Vendor assuranceDocuments adherence to ISO/IEC 27001, SOC 2 Type II and PCI DSS; attestations are downloadable from the Customer Trust Portal.This table cannot show a vendor attestation for MySQL 8.4. Confirm with Oracle and plan your own evidence.
Audit loggingDatabase auditing logs authorization checks and failed authentication, retrievable through the Admin API. No retention period is stated; confirm it.The audit_log plugin is part of MySQL Enterprise Edition only; its default log is unencrypted XML. Confirm retention and protection yourself.
Encryption at restEncrypted at rest by default using cloud provider disk encryption. Customer keys supported through AWS KMS, Azure Key Vault and GCP keys.InnoDB data encryption is documented for 8.4. Confirm keyring setup, key rotation and which tablespaces you encrypt in your environment.
Encryption in transitTLS is required for database connections. Confirm TLS versions and client settings in your own applications.Encrypted connections are documented for 8.4. Confirm certificate management, enforced TLS for all accounts and client settings in your environment.
Access control and rolesAuditing access requires Project Owner or Organization Owner. Confirm the full role model and least-privilege setup for your projects.Role-based access control via CREATE ROLE, GRANT and mandatory_roles is documented for 8.4 accounts. Confirm role design and review cadence.
Multifactor authenticationNot stated in the Atlas material reviewed for this table. Confirm MFA enforcement for console users with MongoDB and your identity provider.Multifactor authentication with up to three factors is documented. The authentication_webauthn plugin is included only in Enterprise Edition.
Backup and restoreRestore steps are in the Atlas restore overview. Confirm backup schedule, retention and restore testing for your project.The backup method is not set in the MySQL 8.4 reference used here. Choose and test the tool, schedule and restore procedure yourself.
Data location and processing termsA data processing agreement is published. Region options are not stated here; confirm hosting regions and DPA terms with MongoDB.Self-run, so location is wherever you deploy it. Confirm any Oracle support or processing terms that apply to your contract.
Edition or tier gatesAuditing is unavailable on Free or Flex clusters. MongoDB pricing page lists Dedicated from $0.08 per hour, starting at $56.94 a month.The audit_log and authentication_webauthn plugins are Enterprise Edition only; Community Edition is GPL licensed.

Why MySQL audit logging depends on the edition you run

On Atlas, database auditing is a project setting that you must turn on and verify, and it is not available on every tier. Auditing is unavailable on Free and Flex clusters, so a team that pilots on one of those tiers must confirm that auditing is enabled on the production cluster before the audit period begins. Enabling it requires Project Owner or Organization Owner access, so decide in advance which named people hold those roles and keep a record of who changed the setting. Atlas logs authorization checks and failed authentication, and you retrieve the logs through the Admin API. The Atlas auditing documentation states no retention period, so the organization must set and evidence its own retention. Export the logs to storage that it controls, and keep proof that the retention rule was applied across the full audit window.

On self-managed MySQL, the built-in audit trail depends on a paid edition. The audit_log plugin, MySQL Enterprise Audit, is included only in MySQL Enterprise Edition, so the plugin is not part of Community Edition. If you run Enterprise, note that the default log is unencrypted XML. Treat that file as sensitive data. Restrict file permissions on the log directory, encrypt the storage volume through your host or storage controls, and ship the file off the database host on a schedule to a log store that database administrators cannot quietly edit. Describe the log path, rotation and shipping job in your system description, because the assessor will ask how the log is protected from the people whose actions it records. Confirm with your MySQL licensing contact that the edition you deploy includes the plugin you plan to document.

If the team runs MySQL Community Edition, this comparison does not identify an audit log feature for it, so the design work falls to the team before the assessment starts. Ask the assessor, in writing, which evidence of database activity they will accept. Illustrative only: a team might combine application-side logs of privileged account use with a documented list of role grants, using the MySQL roles feature to show who holds administrative access. Agree the answer early, because collecting evidence after the observation period has started leaves gaps that are hard to close. Record the chosen approach in the control narrative so that the evidence for MySQL is described with the same level of detail as the evidence for Atlas.

Who carries each SOC 2 and ISO 27001 control on each side

Each card splits one control area into what MongoDB Atlas documents as the vendor's responsibility, what MySQL leaves to your organization, and what you must configure and evidence on both sides. Treat the vendor side as input you still have to map to your own scope, because the assessor will test your configuration as well as the vendor's documents.

Vendor attestations and scope

MongoDB states that Atlas adheres to SOC 2 Type II and ISO/IEC 27001, and its attestations are available through the Trust Center. The Atlas SOC 2 Type II attestation covers the vendor's system, so it does not automatically cover your application, your data flows or your access processes. Confirm with your auditor how the Atlas report fits your own system description. For MySQL Community Server, the supplied facts do not cover an Oracle attestation, so ask what Oracle or your hosting provider can provide and which parts of the stack your own report must include.

MongoDB Trust Center

Audit logging and retention

Atlas database auditing logs authorization checks and failed authentication, retrievable through the Admin API. It is not available on Free or Flex clusters and needs Project Owner or Organization Owner access. The Atlas docs state no retention period, so confirm it with MongoDB and plan an export into your own log store. MySQL's audit_log plugin is included only in MySQL Enterprise Edition, and its default log is unencrypted XML, so on Community Server you must choose a logging method and protect the logs yourself. Evidence the export schedule, the retention you set and who can read the logs.

Atlas auditing docs

Encryption and key management

Atlas encrypts data at rest by default using cloud provider disk encryption, supports AWS KMS, Azure Key Vault and GCP keys, and requires TLS for database connections. You still decide which key option applies and who controls the key policy, and the assessor will ask to see both. On MySQL, InnoDB data encryption and encrypted connections are configured by your team, so you must issue TLS certificates, choose where keys are stored and document rotation. Keep configuration snapshots that show encryption is enabled on every instance.

MySQL InnoDB encryption

Access control and MFA

MySQL 8.4 supports role-based access through CREATE ROLE, GRANT and mandatory_roles, and documents multifactor authentication with up to three factors. The server-side WebAuthn plugin is included only in MySQL Enterprise Edition, so a hardware-backed second factor is a licensing decision as well as a configuration one. The supplied facts do not describe Atlas role or MFA settings, so confirm them in the Atlas access documentation and in your identity provider setup. On both sides, export role grants and MFA enrollment as evidence for periodic access reviews.

MySQL MFA docs

Backup and restore

Atlas restore options are described in its restore overview, and MongoDB's Database Tools include mongodump for logical exports. The supplied facts do not describe a MySQL backup tool, so the schedule, encryption of backup copies, off-site location and restore testing all sit with your team. For both sides, the assessor will ask for a recent restore test with its date, scope and result. Confirm that Atlas backup retention and restore permissions meet your recovery commitments, because you configure those settings inside your Atlas project.

Atlas restore overview

Licensing and edition gates

The MongoDB server released after October 16, 2018 is licensed under the Server Side Public License v1.0, which is not an OSI-approved open source license, while earlier versions use AGPL v3.0. On MySQL, audit logging and WebAuthn MFA sit behind Enterprise Edition, so those controls change your cost model. Self-managed MongoDB support is sold as Enterprise Advanced through sales. Confirm with your auditor whether Community or Enterprise controls satisfy each requirement, and record the MySQL track you run (the download page lists 9.7.2 LTS and 8.4.11 LTS) so your evidence matches a supported version.

MongoDB licensing terms

How evidence moves from the database to the assessor

This illustrative flow does not describe any specific deployment. It starts with an application that connects to the database over TLS. Atlas requires TLS for connections, and a self-run MySQL server must be configured for encrypted connections. Each database then produces audit records: Atlas logs authorization checks and failed authentication, retrievable through the Admin API, while MySQL audit logging depends on the audit log plugin, which the MySQL 8.4 manual includes only in Enterprise Edition. The organization copies both into its own log store and sets retention there, because the Atlas docs state no retention period. Assessors sample evidence from that store. The Atlas attestation report reaches the assessor by a separate path, from the MongoDB Trust Center. Confirm retention and export methods with each vendor.

Illustrative flow from application to assessor across the vendor boundary.

SOC 2 and ISO 27001 audit evidence from MongoDB Atlas and MySQL

With Atlas, part of the vendor-side evidence comes from MongoDB's own materials, and your team produces the rest from the features you configure. MongoDB states that Atlas adheres to ISO/IEC 27001, SOC 2 Type II and PCI DSS frameworks, and the attestations are downloadable from the Customer Trust Portal in the MongoDB Trust Center. Expect an assessor to ask for these items:

  • Vendor attestation: Download the current SOC 2 Type II and ISO/IEC 27001 reports, then check the report period and scope against the Atlas services and regions you use.
  • Audit log samples: Enable database auditing on a paid cluster, since it is not available on Free or Flex clusters. It logs authorization checks and failed authentication and is retrieved through the Admin API. The documentation states no retention period, so confirm retention with MongoDB and export logs to your own store.
  • Encryption and TLS: Atlas encrypts data at rest by default with cloud provider disk encryption, supports AWS KMS, Azure Key Vault and GCP keys, and requires TLS for database connections. Record which key option you chose and who controls the key policy.
  • Role, access and MFA records: The supplied sources do not describe Atlas access review exports or MFA enforcement settings, so ask MongoDB what it documents for both. Keep a dated export of project users and roles at each review.
  • Backup and restore tests: Atlas documents its restore procedures in the restore overview. Record each restore test with the date, the source snapshot, the target and the result.

Before you describe these controls in your narrative, confirm with MongoDB which attestation covers your Atlas services, the audit log retention period and the MFA settings available to your organization.

Configuring either side for SOC 2 and ISO 27001 audits, step by step

This sequence takes a team from an edition decision to an evidence pack an assessor can trace. Some steps differ by side, while the role review and the evidence pack apply to both, and each step names the record it produces.

  1. Confirm the edition or tier that provides the features

    Differs by side. On Atlas, database auditing is not available on Free or Flex clusters and requires Project Owner or Organization Owner access, so confirm with MongoDB that your cluster tier supports it before you commit. On MySQL, the audit_log plugin is included only in MySQL Enterprise Edition, and the server-side authentication_webauthn plugin is also Enterprise-only, so decide whether Community Edition meets each control or whether a paid edition is needed. Done when a signed decision record names the tier or edition, the features it provides and any gap you will cover with a compensating control.

  2. Choose and document a supported release track

    Differs by side. For MySQL, choose between the LTS track, which Oracle supports under its Lifetime Support Policy with 5 years of premier and 3 years of extended support, and the Innovation track, which is supported only until the next Innovation release. The MySQL 8.4 manual says features are added only in the first release of an LTS series, so later point releases carry only necessary fixes. On Atlas, record your MongoDB version and confirm its support window and upgrade cadence with MongoDB. Done when a dated release register lists each database version, its track, its support end date and the owner who approves upgrades.

  3. Restrict database roles to named owners

    Applies to both, with different mechanisms. On Atlas, limit Project Owner and Organization Owner to named people, because those roles control access to auditing. On MySQL, use CREATE ROLE and GRANT to build roles that match duties, and use mandatory_roles where a baseline must apply to every account. Security and the platform owner should both approve the list. Done when a dated access export shows each privileged account tied to one named person, with no shared logins and a recorded review date.

  4. Enforce TLS and MFA where features allow

    Applies to both, with different limits. Atlas requires TLS for database connections, so confirm that every client connection string and driver setting uses it. On MySQL, the encrypted connections documentation explains how to configure TLS for clients, and the manual documents multifactor authentication with up to three factors, but the WebAuthn factor depends on the Enterprise-only plugin. Record which MFA method each administrator uses and where it is enforced. Done when a configuration export shows TLS settings for every client and an MFA record for each privileged account.

  5. Set audit log retention and protection

    Differs by side. Atlas auditing logs authorization checks and failed authentication, and they can be retrieved through the Admin API, but no retention period is stated, so ask MongoDB for the retention you can rely on and export logs into storage you control. On MySQL, the default audit log is unencrypted XML, so write it outside the default data location, restrict file permissions, encrypt the store at rest and copy it to a separate system. Done when a written retention schedule names the period, storage location and access list, and a sample export has been read back successfully.

  6. Assemble a dated evidence pack with restore test

    Applies to both. Collect the decision record, release register, role export, TLS and MFA configuration and log samples into one folder, with a date on every item. Run a restore from a recent backup into a separate environment and record the result. On Atlas, follow the Atlas restore overview and use mongodump for logical exports. On MySQL, use the backup and restore tooling your team has chosen and confirm the procedure with your auditor, who issues the report. Done when each control maps to a dated item and the restore test has a signed result.

What buyers ask before hiring help for a SOC 2 or ISO 27001 database scope

How much effort does a SOC 2 or ISO 27001 database scope take?

The effort depends mostly on how many databases, environments and accounts sit inside the audited scope, and on how much evidence the assessor requests. A single production MySQL server with logs already collected centrally is a small job. A MongoDB Atlas setup spread across several projects and environments takes more. Four factors move the effort most:

  • Edition: the MySQL audit log and WebAuthn authentication are only in MySQL Enterprise Edition, and Atlas database auditing is not available on Free or Flex clusters.
  • Environments: production, staging and backup paths each need their own configuration and evidence.
  • Existing logging: database events already flowing to a central log platform turn the work into mapping events to controls.
  • Evidence depth: an assessor who samples access reviews, change records and restore tests asks for far more than one who reads the system description.
How long does a SOC 2 or ISO 27001 database audit take?

No single duration applies, because the auditor and the written scope set the timing. A SOC 2 Type 1 report describes the system and tests whether controls are suitably designed as of a date. A Type 2 report also tests operating effectiveness over an observation period agreed with the auditor, so controls must run consistently throughout it. ISO/IEC 27001 timing follows the certification body's audit plan. Ask your auditor for the period they will use, and ask DeployOpen for a dated plan inside the written scope before work starts, since that agreement fixes deliverables and dates.

What does the organization need to provide for a database compliance project?

The organization provides access, decisions and sign-off, and those are often the slowest parts. Expect to supply:

  • Access to the cloud accounts, Atlas projects or MySQL hosts in scope, including read access for the people running the review.
  • Named owners for each control area, such as database administration, access management, backup and incident response.
  • Retention decisions for audit logs and backups. The Atlas auditing documentation does not state a retention period, so your team sets and records one.
  • Policy sign-off from people with authority to approve the database standards.

Without these, configuration work cannot be shown to an assessor. Confirm the access model and named owners in writing before the engagement starts.

Can our own team run a SOC 2 or ISO 27001 database scope without a partner?

Yes, if the team already has the skills to configure the database, document the settings and collect evidence in a form the auditor accepts. Most of the work is configuration and documentation: role-based access on MySQL through roles, TLS for connections, encryption at rest, audit logging, backup and restore tests, and a recurring access review process. Staff who have run these controls before shorten the work. A team without database security experience, or without time for evidence collection, is where a partner usually helps. Whichever route you take, the team owns the controls after handover, so plan for that from the start.

What does a quote for SOC 2 database help depend on?

A quote depends on the written scope. DeployOpen does not publish a price list. Before work starts, the systems in scope, environments, deliverables, timelines and roles are agreed in writing, and the quote follows from that document. The cost components are people's time to configure and document the database, test the controls, prepare evidence and support the auditor, plus any retainer for ongoing support. Setup work is one-time, while reviews, upgrades and retesting recur. To compare quotes, ask each provider for the same list of systems, environments, deliverables and exclusions. The MongoDB pricing page is a useful source for Atlas tier costs, but it covers the platform fee only, and the compliance work is priced separately.

Can a product or consultant certify our SOC 2 or ISO 27001 status?

No. Neither a database product nor an implementation partner can certify an organization. SOC 2 reports are issued by CPA firms after an examination, and ISO/IEC 27001 certification is granted by an accredited certification body after its audit. DeployOpen prepares systems, controls and evidence for those assessments but does not issue audit reports, attestations or certifications. Vendor attestations cover the vendor's own service, so they support your evidence without replacing your auditor's opinion. Ask your auditor which samples they will take, and confirm which systems each attestation covers before you cite it.

How DeployOpen prepares the database and its evidence for an audit

DeployOpen plans, deploys and documents MySQL in your infrastructure and configures MongoDB Atlas settings, then prepares the controls and records an assessor will ask for. We do not issue SOC 2 reports or ISO/IEC 27001 certificates, since independent auditors and certification bodies do that work. Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.

How we scope

  • The written scope names the database platforms, environments and data stores inside the audit boundary.
  • We check early whether Atlas database auditing applies to your tier, since Free and Flex clusters lack it.
  • Scope also decides whether the MySQL audit log needs Enterprise Edition, which the MySQL 8.4 manual limits to that edition.

How we build

  • For MySQL, we deploy Community Server in your infrastructure and set role-based accounts, TLS and backups for review.
  • For Atlas, we review project roles, network access, TLS enforcement and customer-managed key settings against your policies.
  • We document encryption, backup and restore steps for each database, including Atlas restore and mongodump where they apply.

How we hand over

  • Evidence packs map each control to its configuration, screenshot or export, and the owner who runs it.
  • Runbooks cover access reviews, log retention, restore tests and change handling for your own team to operate.
  • We prepare evidence for the auditor, while independent auditors and certification bodies issue the report or certificate.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, quoted from the written scope.
  • Ask that retainers cover MySQL upgrades, since LTS and Innovation tracks have different support windows.
  • Retest after each change to access, backup or encryption settings, and confirm the audit period your auditor expects.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.